summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_pm4.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-10-25 13:50:10 -0400
committerTom Stellard <[email protected]>2013-04-05 18:43:34 -0400
commit302f53dc20593e72848f685643a34ea83d98bb65 (patch)
tree19774a1b52958996f0cbddc6d2c5354d01993583 /src/gallium/drivers/radeonsi/radeonsi_pm4.h
parent4f7fe2cf2cb16ac27ea0f6cc0da84ee2c64c3754 (diff)
radeonsi: Add compute support v3
v2: - Only dump shaders when env variable is set. v3: - Don't emit VGT registers Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Michel Dänzer <[email protected]
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pm4.h')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pm4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pm4.h b/src/gallium/drivers/radeonsi/radeonsi_pm4.h
index bdeb9308808..9e7d6363afd 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pm4.h
+++ b/src/gallium/drivers/radeonsi/radeonsi_pm4.h
@@ -58,6 +58,8 @@ struct si_pm4_state
/* relocs for shader data */
unsigned nrelocs;
unsigned relocs[SI_PM4_MAX_RELOCS];
+
+ bool compute_pkt;
};
void si_pm4_cmd_begin(struct si_pm4_state *state, unsigned opcode);