[Mesa-dev] [PATCH 1/2] llvmpipe: Simplify and fix system variables fetch.

2012-06-01 Thread Olivier Galibert
The system array values concept doesn't really because it expects the system values to be fixed per call, which is wrong for gl_VertexID and iffy for gl_SampleID. So this patch does two things: - kill the array, have emit_fetch_system_value directly pick the values it needs (only gl_InstanceID

[Mesa-dev] [PATCH 1/2] llvmpipe: Simplify and fix system variables fetch.

2012-06-01 Thread Olivier Galibert
The system array values concept doesn't really because it expects the system values to be fixed per call, which is wrong for gl_VertexID and iffy for gl_SampleID. So this patch does two things: - kill the array, have emit_fetch_system_value directly pick the values it needs (only gl_InstanceID