Fix nonsemantic debuginfo line attribution for cooperative matrix

* Generate debuginfo for coopmat types, treating them as an opaque composite. Restore the debug source location after calling convertGlslangToSpvType, fixes the line info in this unit test

* Add a cooperative matrix test case, based on the shader from https://github.com/jeffbolznv/vk_cooperative_matrix_perf/blob/master/shaders/shmem.comp
This commit is contained in:
Jeff Bolz 2024-09-30 12:53:27 -05:00 committed by GitHub
parent 46ef757e04
commit ca04c2a16a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 797 additions and 18 deletions

View file

@ -959,6 +959,7 @@ INSTANTIATE_TEST_SUITE_P(
"spv.debuginfo.include.glsl.frag",
"spv.debuginfo.multiline.glsl.frag",
"spv.debuginfo.implicit_br.glsl.frag",
"spv.debuginfo.coopmatKHR.comp",
})),
FileNameAsCustomTestSuffix
);