Skip to content
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

MatrixStride Decorations Missing #6307

Open
cwfitzgerald opened this issue Sep 22, 2024 · 0 comments
Open

MatrixStride Decorations Missing #6307

cwfitzgerald opened this issue Sep 22, 2024 · 0 comments
Labels
area: naga back-end Outputs of naga shader conversion lang: SPIR-V Vulkan's Shading Language type: bug Something isn't working

Comments

@cwfitzgerald
Copy link
Member

Starting in SDK 1.3.290, we get the following error from spirv-val:

[ERROR xtask::validate] Failed to validate "tests\\out\\spv\\globals.spvasm".
Note: Labels and line numbers will not match the input file.
      Use this command to view the corresponding spvasm:
      'spirv-as --target-env spv1.1 tests\out\spv\globals.spvasm -o - | spirv-dis'
: `spirv-val` failed to run; exit code: Some(1)
stdout:

stderr:
error: line 91: Structure id 23 decorated as Block must be explicitly laid out with MatrixStride decorations.
  %_struct_23 = OpTypeStruct %_arr__arr_mat2v4float_uint_2_uint_2


[ERROR xtask] failed to validate one or more files, see above output for more details

Found in #6306

@cwfitzgerald cwfitzgerald added type: bug Something isn't working area: naga back-end Outputs of naga shader conversion lang: SPIR-V Vulkan's Shading Language labels Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: naga back-end Outputs of naga shader conversion lang: SPIR-V Vulkan's Shading Language type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant