-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spirv-opt: VK_EXT_scalar_block_layout is not supported properly #3153
Comments
My workaround is to replace
|
I was looking into the |
AFAICT, it's because this extension doesn't make any modification to the spir-v itself, the limitation being lifted is within the vulkan implementation. Sure would be nice to have an extension flag to set in the spirv to indicate that we want to make use of that though. |
I believe this issue was fixed by #3314, which added the |
The following shader
pathtrace.rchit.glsl
compiled by
glslangValidator -g -V pathtrace.rchit.glsl -o pathtrace.rchit.debug.spv
. Output is to be optimized asspirv-opt -O pathtrace.rchit.debug.spv -o pathtrace.rchit.spv
, but the following error is occured:As I can see
--scalar-block-layout
is the option ofspirv-val
, notspirv-opt
. So I can't tell tospirv-opt
that extension is enabled.The text was updated successfully, but these errors were encountered: