summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_vs_exec.c
diff options
context:
space:
mode:
authorTom Stellard <tstellar@gmail.com>2012-01-14 08:46:05 -0500
committerTom Stellard <thomas.stellard@amd.com>2012-01-30 13:37:00 -0500
commit6b63e25b3d7a6ac0bd738c139ead0c7e7ad84368 (patch)
treecd2731a2d948eb1cd48e1783b4045e8f8fce4e3b /src/gallium/auxiliary/draw/draw_vs_exec.c
parent9ee1bcf7a5442ccb517a5cfbaf024755bd4d2738 (diff)
downloadexternal_mesa3d-6b63e25b3d7a6ac0bd738c139ead0c7e7ad84368.tar.gz
external_mesa3d-6b63e25b3d7a6ac0bd738c139ead0c7e7ad84368.tar.bz2
external_mesa3d-6b63e25b3d7a6ac0bd738c139ead0c7e7ad84368.zip
gallium: Prefix #defines in tgsi_exec.h with TGSI_
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs_exec.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_exec.c b/src/gallium/auxiliary/draw/draw_vs_exec.c
index bfe7aea737..eaba4755f5 100644
--- a/src/gallium/auxiliary/draw/draw_vs_exec.c
+++ b/src/gallium/auxiliary/draw/draw_vs_exec.c
@@ -103,7 +103,7 @@ vs_exec_run_linear( struct draw_vertex_shader *shader,
if (shader->info.uses_instanceid) {
unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_INSTANCEID];
assert(i < Elements(machine->SystemValue));
- for (j = 0; j < QUAD_SIZE; j++)
+ for (j = 0; j < TGSI_QUAD_SIZE; j++)
machine->SystemValue[i].i[j] = shader->draw->instance_id;
}