On Tue, Apr 3, 2018 at 9:16 PM, Timothy Arceri <tarc...@itsqueeze.com> wrote:
> > > On 27/03/18 10:32, Marek Olšák wrote: > >> From: Nicolai Hähnle <nicolai.haeh...@amd.com> >> >> This currently hits a bug in Mesa's GLSL-to-TGSI conversion. >> --- >> .../tcs-tes-array-in-struct.shader_test | 78 >> ++++++++++++++++++++++ >> 1 file changed, 78 insertions(+) >> create mode 100644 tests/spec/arb_tessellation_sh >> ader/execution/variable-indexing/tcs-tes-array-in-struct.shader_test >> >> diff --git a/tests/spec/arb_tessellation_shader/execution/variable-inde >> xing/tcs-tes-array-in-struct.shader_test b/tests/spec/arb_tessellation_ >> shader/execution/variable-indexing/tcs-tes-array-in-struct.shader_test >> new file mode 100644 >> index 000000000..8611bdfa7 >> --- /dev/null >> +++ b/tests/spec/arb_tessellation_shader/execution/variable-inde >> xing/tcs-tes-array-in-struct.shader_test >> @@ -0,0 +1,78 @@ >> +[require] >> +GLSL >= 1.50 >> +GL_ARB_tessellation_shader >> + >> +[vertex shader passthrough] >> + >> +[tessellation control shader] >> +#version 150 >> +#extension GL_ARB_tessellation_shader : require >> + >> +layout(vertices = 4) out; >> + >> +struct S { >> + int v[2]; >> +}; >> + >> +out S tcs_tes_s[]; >> + >> +void main() >> +{ >> + for (int i = 0; i < 2; ++i) >> + tcs_tes_s[gl_InvocationID].v[i] = gl_InvocationID * 2 + i; >> + >> +// gl_out[gl_InvocationID].gl_Position = >> gl_in[gl_InvocationID].gl_Position; >> > > remove ??? Yes. That can be removed. Marek
_______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit