summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_asm.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2012-12-16 10:16:09 +0000
committerDave Airlie <[email protected]>2012-12-16 10:36:42 +0000
commitfa5078c255b5b57514ae854ecd6264379641c924 (patch)
tree5a03b7297fc9fb292523ea3994169215f8899bb1 /src/gallium/drivers/r600/r600_asm.h
parentcf358a2b42b4c1c0a672f57d5962a5d70a22df33 (diff)
r600g: fixup offset types for printing
This allows the debug code to at least show the sign properly. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.h')
-rw-r--r--src/gallium/drivers/r600/r600_asm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.h b/src/gallium/drivers/r600/r600_asm.h
index f3b036d08c8..5727a7c421f 100644
--- a/src/gallium/drivers/r600/r600_asm.h
+++ b/src/gallium/drivers/r600/r600_asm.h
@@ -77,9 +77,9 @@ struct r600_bytecode_tex {
unsigned coord_type_y;
unsigned coord_type_z;
unsigned coord_type_w;
- unsigned offset_x;
- unsigned offset_y;
- unsigned offset_z;
+ int offset_x;
+ int offset_y;
+ int offset_z;
unsigned sampler_id;
unsigned src_sel_x;
unsigned src_sel_y;