summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_context.h
diff options
context:
space:
mode:
authorBlaž Tomažič <[email protected]>2012-09-13 14:51:46 +0000
committerTom Stellard <[email protected]>2012-09-25 14:27:47 +0000
commite59505e34bdea772bb439cb42f2ef20ec495de03 (patch)
tree9773c891af33c2a7d60190cb12499f093c3fc59d /src/gallium/include/pipe/p_context.h
parent68a4bb553bcd51d336d95b0c845c0dc63adc3bd3 (diff)
clover: Handle multiple kernels in the same program v2
v2: Tom Stellard - Use pc parameter of launch_grid() Reviewed-by: Francisco Jerez <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r--src/gallium/include/pipe/p_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index f59e3881232..5d468127779 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -507,6 +507,10 @@ struct pipe_context {
* grid (in block units) and working block (in thread units) to be
* used, respectively.
*
+ * \a pc For drivers that use PIPE_SHADER_IR_LLVM as their prefered IR,
+ * this value will be the index of the kernel in the opencl.kernels
+ * metadata list.
+ *
* \a input will be used to initialize the INPUT resource, and it
* should point to a buffer of at least
* pipe_compute_state::req_input_mem bytes.