From c82934f21214380c4a66a265f11add8a96cac212 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 3 Nov 2017 11:44:06 +1000 Subject: 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 --- src/gallium/drivers/r600/evergreen_compute_internal.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gallium/drivers/r600/evergreen_compute_internal.h') 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; -- cgit v1.2.3