This allows the debug code to at least show the sign properly.
Signed-off-by: Dave Airlie <airlied@redhat.com>
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;
read_compressed_msaa;
boolean src_loaded = FALSE;
unsigned sampler_src_reg = inst->Instruction.Opcode == TGSI_OPCODE_TXQ_LZ ? 0 : 1;
- uint8_t offset_x = 0, offset_y = 0, offset_z = 0;
+ int8_t offset_x = 0, offset_y = 0, offset_z = 0;
boolean has_txq_cube_array_z = false;
if (inst->Instruction.Opcode == TGSI_OPCODE_TXQ &&