Open jkwak-work opened 1 week ago
I think this is just because the CTS code isn't properly setting matrix majorness when triggering a slang compile. We should specify column major in the slang api when compiling these shaders.
I see. That sounds simple.
Problem description Following four CTS tests are failing as a regression,
This regression is from #4069, and it appears to be related to the matrix row/column major-ness.
Note that there are other tests that are similar but passing,
The issue seems to be limited to the case where the matrix data is fed via
uniform
. Also note that the tests are failing with both-emit-spirv-directly
and-emit-spirv-via-glsl
.Goal It appears to be an issue with matrix-major-ness. We may want to use
RowMajor
decorator on matrices, but it is unclear why the test is failing.Repro step The following shaders are used for the CTS test,
The test expect a full white image, but we generate a yellow image. I cannot figure out what values are used for
u_in0
andu_in1
. But it is probably using the same value as the test below.As a comparison, the passing test, "dEQP-VK.glsl.matrix.div.const.mediump_mat2x3_float_vertex", uses the following vertex shader.