diff options
author | Dave Airlie <[email protected]> | 2017-11-03 11:44:06 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-12-06 23:20:53 +0000 |
commit | c82934f21214380c4a66a265f11add8a96cac212 (patch) | |
tree | dd97ef607fd638a9618826c5558da12cf67e2ea2 /src/gallium/drivers/r600/evergreen_compute_internal.h | |
parent | 08dc205c619753d60e0000c2ce4327d82655b6ae (diff) |
r600/compute: add support for TGSI compute shaders. (v1.1)
This add paths to handle TGSI compute shaders and shader selection.
It also avoids emitting certain things on tgsi paths,
CBs, vertex buffers, config reg init (not required).
v1.1: fix rat mask calc
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute_internal.h')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute_internal.h b/src/gallium/drivers/r600/evergreen_compute_internal.h index 32f53adbe53..db3f24d3822 100644 --- a/src/gallium/drivers/r600/evergreen_compute_internal.h +++ b/src/gallium/drivers/r600/evergreen_compute_internal.h @@ -34,6 +34,12 @@ struct r600_pipe_compute { struct r600_context *ctx; struct ac_shader_binary binary; + + enum pipe_shader_ir ir_type; + + /* tgsi selector */ + struct r600_pipe_shader_selector *sel; + struct r600_resource *code_bo; struct r600_bytecode bc; |