From e59505e34bdea772bb439cb42f2ef20ec495de03 Mon Sep 17 00:00:00 2001 From: Blaž Tomažič Date: Thu, 13 Sep 2012 14:51:46 +0000 Subject: clover: Handle multiple kernels in the same program v2 v2: Tom Stellard - Use pc parameter of launch_grid() Reviewed-by: Francisco Jerez Reviewed-by: Tom Stellard --- src/gallium/include/pipe/p_context.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/include/pipe') 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. -- cgit v1.2.3