diff options
author | Glenn Kennard <[email protected]> | 2017-03-05 18:26:51 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-02-09 09:53:12 +1000 |
commit | 6b4303f358494e6c39476291c539af50d730910a (patch) | |
tree | 2f1c74f5d812d213e716458bff48b649e6366c6d /src/gallium/drivers/r600/r600_shader.h | |
parent | 9d31596d7ae8f24b00450a0b0d242dadfb36dfd9 (diff) |
r600g: Implement scratch buffer state management (v2)
v2: add Glenn's fixes
Signed-off-by: Glenn Kennard <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h index 4b23facf6f8..b837d1309ae 100644 --- a/src/gallium/drivers/r600/r600_shader.h +++ b/src/gallium/drivers/r600/r600_shader.h @@ -180,6 +180,7 @@ struct r600_pipe_shader { unsigned db_shader_control; unsigned ps_depth_export; unsigned enabled_stream_buffers_mask; + unsigned scratch_space_needed; /* size of scratch space (if > 0) counted in vec4 */ }; /* return the table index 0-5 for TGSI_INTERPOLATE_LINEAR/PERSPECTIVE and |