Fix recently found non-determinism with gl_WorldToObject3x4EXT.
This commit is contained in:
parent
fe24a54808
commit
f80ef74c80
3 changed files with 14 additions and 14 deletions
|
|
@ -2056,9 +2056,9 @@ std::pair<spv::Id, spv::Id> TGlslangToSpvTraverser::getForcedType(glslang::TBuil
|
|||
// builtins. During visitBinary we insert a transpose
|
||||
case glslang::EbvWorldToObject3x4:
|
||||
case glslang::EbvObjectToWorld3x4: {
|
||||
std::pair<spv::Id, spv::Id> ret(builder.makeMatrixType(builder.makeFloatType(32), 4, 3),
|
||||
builder.makeMatrixType(builder.makeFloatType(32), 3, 4)
|
||||
);
|
||||
spv::Id mat43 = builder.makeMatrixType(builder.makeFloatType(32), 4, 3);
|
||||
spv::Id mat34 = builder.makeMatrixType(builder.makeFloatType(32), 3, 4);
|
||||
std::pair<spv::Id, spv::Id> ret(mat43, mat34);
|
||||
return ret;
|
||||
}
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue