GlslangToSpv: prevent add XfbStride twice
Without this commit, if the XfbStride was explicitly set, the decoration was added twice on the shader. v2 (changes after Jonh Kessenich first review) * Simplified by just removing the firs assignment * Removed assert
This commit is contained in:
parent
d41a8dca0c
commit
16ef9da372
4 changed files with 89 additions and 2 deletions
|
|
@ -450,6 +450,7 @@ INSTANTIATE_TEST_CASE_P(
|
|||
"spv.xfbOffsetOnBlockMembersAssignment.vert",
|
||||
"spv.xfbOffsetOnStructMembersAssignment.vert",
|
||||
"spv.xfbOverlapOffsetCheckWithBlockAndMember.vert",
|
||||
"spv.xfbStrideJustOnce.vert",
|
||||
})),
|
||||
FileNameAsCustomTestSuffix
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue