On Thu, Jan 23, 2014 at 11:55 PM, Jordan Justen <[email protected]> wrote: > gl_InvocationID is defined as an int. > > Signed-off-by: Jordan Justen <[email protected]> > --- > Patch series is available at: > git://people.freedesktop.org/~jljusten/piglit gs-inv-id > > .../spec/arb_gpu_shader5/execution/invocation-id-basic.shader_test | 6 > +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git > a/tests/spec/arb_gpu_shader5/execution/invocation-id-basic.shader_test > b/tests/spec/arb_gpu_shader5/execution/invocation-id-basic.shader_test > index bd516e5..1169cfb 100644 > --- a/tests/spec/arb_gpu_shader5/execution/invocation-id-basic.shader_test > +++ b/tests/spec/arb_gpu_shader5/execution/invocation-id-basic.shader_test > @@ -25,11 +25,11 @@ void emit(vec2 v2) > > void main() > { > - uint i = gl_InvocationID; > + int i = gl_InvocationID; > > vec2 v; > - v.x = -1.0 + float(i & 1u); > - v.y = -1.0 + float((i & 2u) / 2u); > + v.x = -1.0 + float(i & 1); > + v.y = -1.0 + float((i & 2) / 2); > > emit(v); > emit(v + vec2(1, 0)); > -- > 1.8.5.3 > > _______________________________________________ > Piglit mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/piglit
This series is Reviewed-by: Anuj Phogat <[email protected]> _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
