diff options
author | Olivier Galibert <[email protected]> | 2012-06-19 20:51:20 +0200 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-06-19 14:40:44 -0600 |
commit | 46931ecf480e1d231bb6c2236d91b5390f2465ac (patch) | |
tree | 981e1903926b2b79f2c696d8a2a80470229dc2aa /src/gallium/drivers/llvmpipe/lp_state.h | |
parent | 4625a9b1adf7a30c56e2bbeb41573fbba4465851 (diff) |
llvmpipe: Simplify and fix system variables fetch.
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 for now, as the previous code)
- correctly handle the expected type in emit_fetch_system_value
Signed-off-by: Olivier Galibert <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state.h')
0 files changed, 0 insertions, 0 deletions