summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-06-01 12:35:19 -0400
committerRob Clark <[email protected]>2015-06-21 07:54:31 -0400
commit660d5c1646f5d63f9626b24beabc9cfc318849d4 (patch)
treef6bed9e09bfda2d04c5fdde9712f366378ff6896 /src/gallium/drivers/freedreno/ir3/ir3.h
parentd646d3ae9d221104db0e9daec33ef470b1bdd957 (diff)
freedreno/ir3: a4xx encodes larger immed offset
Without this, negative branch/jump offsets look like very large positive offsets. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3.h')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3.h b/src/gallium/drivers/freedreno/ir3/ir3.h
index 38912aa3bd4..95b866988b8 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3.h
+++ b/src/gallium/drivers/freedreno/ir3/ir3.h
@@ -41,6 +41,7 @@ struct ir3_instruction;
struct ir3_block;
struct ir3_info {
+ uint32_t gpu_id;
uint16_t sizedwords;
uint16_t instrs_count; /* expanded to account for rpt's */
/* NOTE: max_reg, etc, does not include registers not touched