[Mesa-dev] [RFC PATCH 08/17] clover: Fill in the program byte-size in pipe_compute_state
Pierre Moreau
pierre.morrow at free.fr
Wed May 3 21:56:56 UTC 2017
Signed-off-by: Pierre Moreau <pierre.morrow at free.fr>
---
src/gallium/state_trackers/clover/core/kernel.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/state_trackers/clover/core/kernel.cpp b/src/gallium/state_trackers/clover/core/kernel.cpp
index 4716705323..328323b6b0 100644
--- a/src/gallium/state_trackers/clover/core/kernel.cpp
+++ b/src/gallium/state_trackers/clover/core/kernel.cpp
@@ -228,6 +228,7 @@ kernel::exec_context::bind(intrusive_ptr<command_queue> _q,
cs.ir_type = q->device().ir_format();
cs.prog = &(msec.data[0]);
+ cs.prog_num_bytes = msec.data.size();
cs.req_local_mem = mem_local;
cs.req_input_mem = input.size();
st = q->pipe->create_compute_state(q->pipe, &cs);
--
2.12.2
More information about the mesa-dev
mailing list