Integration: include *.glsl compute shaders in export_presets and accept Release ymir_box3d.dll range (ABI 22)

This commit is contained in:
Meta Vens 2026-12-05 21:19:52 +01:00
commit fb9a706b84
2 changed files with 5 additions and 4 deletions

View file

@ -7,7 +7,7 @@ advanced_options=false
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
include_filter="*.glsl"
exclude_filter="tests/*,*.uid"
export_path=""
patches=PackedStringArray()

View file

@ -21,7 +21,8 @@ catch {
# Ignore on runtimes where SecurityProtocol is managed by OS
}
$ExpectedYmirDllBytes = 776192L
$MinReleaseYmirDllBytes = 400000L
$MaxReleaseYmirDllBytes = 2000000L # Release is ~750-900 KB; Debug (with BOX3D_VALIDATE) is > 4 MB
function Resolve-RepoPath {
param([string]$PathValue, [string]$BaseDir)
@ -253,8 +254,8 @@ if (-not (Test-Path $ymirDllPath)) {
throw "Release ymir_box3d.dll not found at '$ymirDllPath'."
}
$ymirDllLen = (Get-Item $ymirDllPath).Length
if ($ymirDllLen -ne $ExpectedYmirDllBytes) {
throw "ymir_box3d.dll size mismatch: expected $ExpectedYmirDllBytes bytes (Release), got $ymirDllLen bytes at '$ymirDllPath'."
if ($ymirDllLen -lt $MinReleaseYmirDllBytes -or $ymirDllLen -gt $MaxReleaseYmirDllBytes) {
throw "ymir_box3d.dll size outside Release range ($MinReleaseYmirDllBytes..$MaxReleaseYmirDllBytes B; Debug is >4 MB): got $ymirDllLen bytes at '$ymirDllPath'."
}
Write-Host "Verified Release ymir_box3d.dll ($ymirDllLen B)."