spirv: don't emit invalid debuginfo for buffer references
Currently no debug info is emitted for buffer reference types, which resulted in the SPIR-V backend code asserting when trying to emit the debug info for struct member that had such a type. Instead, the code now skips such struct members. Full debug info for buffer references may require forward references in the debug info instructions, which is currently prohibited by the spec.
This commit is contained in:
parent
48f9ed8b08
commit
0504953b35
4 changed files with 219 additions and 1 deletions
|
|
@ -931,6 +931,7 @@ INSTANTIATE_TEST_SUITE_P(
|
|||
"spv.debuginfo.glsl.geom",
|
||||
"spv.debuginfo.glsl.tesc",
|
||||
"spv.debuginfo.glsl.tese",
|
||||
"spv.debuginfo.bufferref.glsl.frag",
|
||||
"spv.debuginfo.const_params.glsl.comp",
|
||||
"spv.debuginfo.scalar_types.glsl.frag",
|
||||
})),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue