diff options
author | Tom Stellard <[email protected]> | 2014-07-18 14:45:18 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2014-07-21 10:00:09 -0400 |
commit | b0f780345ed4b75485a0fdd8cea65fa77c7675bd (patch) | |
tree | ddeb16a07f8a1b8d693b5fc2bdd1d2ed7213debc /src/gallium/drivers/radeonsi/si_shader.h | |
parent | 6cc5334e42c29e019b3d2a641034bac0983edfdc (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.h | 2 |
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; |