aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2016-03-17 14:15:39 +0100
committerBas Nieuwenhuizen <[email protected]>2016-04-02 01:49:57 +0200
commitea8f4a6b13b94eb060bff4ccc6c13efc01d2b682 (patch)
treebed727973117acd76924d5c381db6d1a3cd45a3d /src/gallium/state_trackers
parent5ea825f55652ba9e91ab683308dcd6392cc32a97 (diff)
gallium: add compute shader IR type
Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/clover/core/kernel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/core/kernel.cpp b/src/gallium/state_trackers/clover/core/kernel.cpp
index c12755b0420..bce3b525b13 100644
--- a/src/gallium/state_trackers/clover/core/kernel.cpp
+++ b/src/gallium/state_trackers/clover/core/kernel.cpp
@@ -223,6 +223,7 @@ kernel::exec_context::bind(intrusive_ptr<command_queue> _q,
if (st)
_q->pipe->delete_compute_state(_q->pipe, st);
+ cs.ir_type = q->device().ir_format();
cs.prog = &(msec.data[0]);
cs.req_local_mem = mem_local;
cs.req_input_mem = input.size();