On 12 August 2013 14:30, Paul Berry <[email protected]> wrote: > On 9 August 2013 11:59, Ian Romanick <[email protected]> wrote: > > On 08/05/2013 08:51 AM, Paul Berry wrote: >> >> diff --git >>> a/tests/spec/glsl-1.50/execution/gs-input-sizing-layout-consistent-with-static-usage.shader_test >>> b/tests/spec/glsl-1.50/execution/gs-input-sizing-layout-consistent-with-static-usage.shader_test >>> new file mode 100644 >>> index 0000000..96d1f7f >>> --- /dev/null >>> +++ >>> b/tests/spec/glsl-1.50/execution/gs-input-sizing-layout-consistent-with-static-usage.shader_test >>> @@ -0,0 +1,82 @@ >>> +# Section 4.3.8.1 (Input Layout Qualifiers) of the GLSL 1.50 spec says: >>> +# >>> +# It is a link-time error if not all provided sizes (sized input >>> +# arrays and layout size) match across all geometry shaders in the >>> +# program. >>> +# >>> +# This test exercises the case where one compilation unit provides a >>> +# size via a layout declaration, and another provides a size >>> +# implicitly by accessing a member of an input array using a constant >>> +# that is consistent with the size provided in the layout declaration. >>> >> >> This is a clever test. :) How do other implementations fare? > > > I don't recall. I'll check my NVIDIA system and let you know. >
Ironically, although my NVIDIA system only passes 8/31 of these tests, it passes this one :)
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
