summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-07-05 02:54:43 +0200
committerMarek Olšák <[email protected]>2016-07-13 19:46:16 +0200
commit0f7a6ea5e7b95cfe10dd5c176858ca078b36a197 (patch)
tree221ce344bdb90043c5111f14a93acb9b832c0490 /src/gallium/drivers/radeonsi/si_shader.h
parentd227dbe2721728c89acc6495bf657cb9fc4d3c69 (diff)
radeonsi: report accurate SGPR and VGPR spills
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index 8fc0a36abbc..29069316548 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -397,6 +397,8 @@ union si_shader_key {
struct si_shader_config {
unsigned num_sgprs;
unsigned num_vgprs;
+ unsigned spilled_sgprs;
+ unsigned spilled_vgprs;
unsigned lds_size;
unsigned spi_ps_input_ena;
unsigned spi_ps_input_addr;