D | lower_cs_derived.cpp | 58 gl_WorkGroupSize(NULL), in lower_cs_derived_visitor() 83 ir_rvalue *gl_WorkGroupSize; member in __anonf76656fb0111::lower_cs_derived_visitor 111 if (gl_WorkGroupSize != NULL) in find_sysvals() 120 gl_WorkGroupSize = new(shader) ir_dereference_variable(WorkGroupSize); in find_sysvals() 139 gl_WorkGroupSize = new(shader) ir_dereference_variable( in find_sysvals() 148 gl_WorkGroupSize = new(shader) ir_constant(glsl_type::uvec3_type, &data); in find_sysvals() 170 add(mul(gl_WorkGroupID, gl_WorkGroupSize->clone(shader, NULL)), in make_gl_GlobalInvocationID() 193 mul(mul(swizzle_z(gl_LocalInvocationID), swizzle_x(gl_WorkGroupSize->clone(shader, NULL))), in make_gl_LocalInvocationIndex() 194 swizzle_y(gl_WorkGroupSize->clone(shader, NULL))); in make_gl_LocalInvocationIndex() 196 mul(swizzle_y(gl_LocalInvocationID), swizzle_x(gl_WorkGroupSize->clone(shader, NULL))); in make_gl_LocalInvocationIndex()
|