[Mesa-dev] [PATCH 2/2] r600g: Pass dimension parameter to compute shader.

Matt Arsenault Matthew.Arsenault at amd.com
Thu Jul 31 16:00:50 PDT 2014


On 07/31/2014 03:58 PM, Jan Vesely wrote:
> Would that work with things like one kernel calling another kernel? If
> we had a function called from two kernels how would it know where to
> look?
I don't think this case can be handled as 2 separate kernels with the 
same calling convention. If a kernel is calling another kernel function, 
I think it would be best to create stub kernels which call the 
(presumably inlined) kernel bodies functions.


More information about the mesa-dev mailing list