summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2014-07-18 14:45:18 -0400
committerTom Stellard <[email protected]>2014-07-21 10:00:09 -0400
commitb0f780345ed4b75485a0fdd8cea65fa77c7675bd (patch)
treeddeb16a07f8a1b8d693b5fc2bdd1d2ed7213debc /src/gallium/drivers/radeonsi/si_shader.h
parent6cc5334e42c29e019b3d2a641034bac0983edfdc (diff)
radeonsi/compute: Add support scratch buffer support v2
The scratch buffer will be used for private memory and also register spilling. v2: - Code cleanups
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 6891604db6c..a68c25a0c53 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -178,10 +178,12 @@ struct si_pipe_shader {
struct si_shader shader;
struct si_pm4_state *pm4;
struct r600_resource *bo;
+ struct r600_resource *scratch_bo;
unsigned num_sgprs;
unsigned num_vgprs;
unsigned lds_size;
unsigned spi_ps_input_ena;
+ unsigned scratch_bytes_per_wave;
unsigned spi_shader_col_format;
unsigned spi_shader_z_format;
unsigned db_shader_control;