Home
last modified time | relevance | path

Searched refs:workgroup_size_const (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/tint/src/transform/
H A Dzero_init_workgroup_memory.cc46 uint32_t workgroup_size_const = 0; member
48 /// #workgroup_size_const is 0.
204 if (workgroup_size_const == 0 || num_iterations > workgroup_size_const) { in Run()
219 idx, b.Add(idx, workgroup_size_const ? b.Expr(workgroup_size_const) in Run()
229 } else if (num_iterations < workgroup_size_const) { in Run()
360 /// CalculateWorkgroupSize initializes the members #workgroup_size_const and
365 workgroup_size_const = 1u; in CalculateWorkgroupSize()
374 workgroup_size_const * in CalculateWorkgroupSize()
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_system_values.c495 nir_const_value workgroup_size_const[3]; in lower_compute_system_value_instr() local
496 memset(workgroup_size_const, 0, sizeof(workgroup_size_const)); in lower_compute_system_value_instr()
497 workgroup_size_const[0].u32 = b->shader->info.workgroup_size[0]; in lower_compute_system_value_instr()
498 workgroup_size_const[1].u32 = b->shader->info.workgroup_size[1]; in lower_compute_system_value_instr()
499 workgroup_size_const[2].u32 = b->shader->info.workgroup_size[2]; in lower_compute_system_value_instr()
500 return nir_u2u(b, nir_build_imm(b, 3, 32, workgroup_size_const), bit_size); in lower_compute_system_value_instr()

Completed in 3 milliseconds