diff options
author | Christian König <[email protected]> | 2011-06-05 16:39:10 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-06-05 16:39:10 +0200 |
commit | c6c2ef070957e5a0c0003e1d0a6d6e2fe197fb40 (patch) | |
tree | 8750ddb1d7e99375eeffd29b9dab4ea5a7a88c22 /src/gallium/auxiliary/vl | |
parent | bdfe77444d85cbd0f269ad35388e27c03e654574 (diff) |
[g3dvl] use a vertex element instead of the instance id
Enable this change permanently
Diffstat (limited to 'src/gallium/auxiliary/vl')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_zscan.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/vl/vl_zscan.c b/src/gallium/auxiliary/vl/vl_zscan.c index 2b52d610f8f..58cee0070d8 100644 --- a/src/gallium/auxiliary/vl/vl_zscan.c +++ b/src/gallium/auxiliary/vl/vl_zscan.c @@ -110,8 +110,7 @@ create_vert_shader(struct vl_zscan *zscan) vrect = ureg_DECL_vs_input(shader, VS_I_RECT); vpos = ureg_DECL_vs_input(shader, VS_I_VPOS); - - block_num = ureg_DECL_system_value(shader, 0, TGSI_SEMANTIC_INSTANCEID, 0); + block_num = ureg_DECL_vs_input(shader, VS_I_BLOCK_NUM); tmp = ureg_DECL_temporary(shader); |