[Piglit] [PATCH 3/5] arb_enhanced_layouts: test some more compile time constant features
Emil Velikov
emil.l.velikov at gmail.com
Mon Nov 2 08:59:11 PST 2015
On 2 November 2015 at 16:50, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 2 November 2015 at 01:54, Timothy Arceri
> <timothy.arceri at collabora.com> wrote:
>
>> +++ b/tests/spec/arb_enhanced_layouts/compiler/compiler-time-constants/input-location-uniform-in-expression.vert
>> @@ -0,0 +1,21 @@
>> +// [config]
>> +// expect_result: fail
>> +// glsl_version: 1.10
>> +// require_extensions: GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location
>> +// [end config]
>> +//
>> +// Tests that compiler fails if a uniform is part of the constant expression.
>> +
> When check_link is missing we default to true. Which, in the case of
> negative tests, means that we're doing link-time checking rather than
> compile-time. Not sure how much we should bother, just worth pointing
> it out.
>
Actually scratch that - if it's missing the default is false. Might
have been looking at some ancient version :-)
-Emil
More information about the Piglit
mailing list