-
Notifications
You must be signed in to change notification settings - Fork 622
Open
Labels
Description
Not sure this is related to #5753.
Up stream report: https://projects.blender.org/blender/blender/issues/144614
Optimizing 48744-0x000001d18b9e86a0-0x81098.dmp crashes. This is related to the number of object ids it requires during optimization.
spirv-opt.exe 48744-0x000001d18b9e86a0-0x81098.dmp -O -o opt.spv
To fix this the next commands are needed
spirv-opt.exe 48744-0x000001d18b9e86a0-0x81098.dmp --max-id-bound=99999999 -O -o bad.spv --compact-ids
However as we use shaderc as a frontend we don't have access to these parameters.
I would expect that the optimizer would not crash but would be able to normally exit. This way shaderc could be able to report this and Blender would be able to replace the shader with a default.