Home
last modified time | relevance | path

Searched refs:num_workgroups (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/tint/test/shader_io/
Dcompute_input_builtins_struct.wgsl.expected.msl9 uint3 num_workgroups;
13 …ion_index) + inputs.global_invocation_id[0]) + inputs.workgroup_id[0]) + inputs.num_workgroups[0]);
16 …n_grid]], uint3 workgroup_id [[threadgroup_position_in_grid]], uint3 num_workgroups [[threadgroups…
17 …al_invocation_id=global_invocation_id, .workgroup_id=workgroup_id, .num_workgroups=num_workgroups};
Dcompute_input_builtins.wgsl.expected.glsl11 uvec3 num_workgroups;
14 …int local_invocation_index, uvec3 global_invocation_id, uvec3 workgroup_id, uvec3 num_workgroups) {
15 …ion_id.x + local_invocation_index) + global_invocation_id.x) + workgroup_id.x) + num_workgroups.x);
20 …dex, tint_symbol_1.global_invocation_id, tint_symbol_1.workgroup_id, tint_symbol_1.num_workgroups);
29 inputs.num_workgroups = uvec3();
Dcompute_input_builtins_struct.wgsl.expected.glsl11 uvec3 num_workgroups;
18 uvec3 num_workgroups;
22 …cation_index) + inputs.global_invocation_id.x) + inputs.workgroup_id.x) + inputs.num_workgroups.x);
27 …dex, tint_symbol_1.global_invocation_id, tint_symbol_1.workgroup_id, tint_symbol_1.num_workgroups);
37 inputs.num_workgroups = uvec3();
Dcompute_input_builtins.wgsl.expected.msl4 …int local_invocation_index, uint3 global_invocation_id, uint3 workgroup_id, uint3 num_workgroups) {
5 …id[0] + local_invocation_index) + global_invocation_id[0]) + workgroup_id[0]) + num_workgroups[0]);
8 …n_grid]], uint3 workgroup_id [[threadgroup_position_in_grid]], uint3 num_workgroups [[threadgroups…
9 …r(local_invocation_id, local_invocation_index, global_invocation_id, workgroup_id, num_workgroups);
Dcompute_input_builtins.wgsl7 [[builtin(num_workgroups)]] num_workgroups : vec3<u32>,
14 num_workgroups.x;
Dcompute_input_builtins.wgsl.expected.wgsl2 …builtin(workgroup_id)]] workgroup_id : vec3<u32>, [[builtin(num_workgroups)]] num_workgroups : vec…
3 …ion_id.x + local_invocation_index) + global_invocation_id.x) + workgroup_id.x) + num_workgroups.x);
Dcompute_input_builtins_struct.wgsl6 [[builtin(num_workgroups)]] num_workgroups : vec3<u32>;
16 inputs.num_workgroups.x;
Dcompute_input_builtins_struct.wgsl.expected.wgsl10 [[builtin(num_workgroups)]]
11 num_workgroups : vec3<u32>;
16 …cation_index) + inputs.global_invocation_id.x) + inputs.workgroup_id.x) + inputs.num_workgroups.x);
Dcompute_input_builtins.wgsl.expected.spvasm20 OpName %num_workgroups "num_workgroups"
44 %num_workgroups = OpFunctionParameter %v3uint
52 %25 = OpCompositeExtract %uint %num_workgroups 0
Dcompute_input_builtins.wgsl.expected.hlsl12 …int local_invocation_index, uint3 global_invocation_id, uint3 workgroup_id, uint3 num_workgroups) {
13 …ion_id.x + local_invocation_index) + global_invocation_id.x) + workgroup_id.x) + num_workgroups.x);
Dcompute_input_builtins_struct.wgsl.expected.hlsl10 uint3 num_workgroups;
20 …cation_index) + inputs.global_invocation_id.x) + inputs.workgroup_id.x) + inputs.num_workgroups.x);
Dcompute_input_builtins_struct.wgsl.expected.spvasm20 OpMemberName %ComputeInputs 4 "num_workgroups"
/third_party/skia/third_party/externals/spirv-cross/samples/cpp/
Datomics.cpp69 uvec3 num_workgroups(NUM_WORKGROUPS, 1, 1); in main() local
71 …_set_builtin(shader, SPIRV_CROSS_BUILTIN_NUM_WORK_GROUPS, &num_workgroups, sizeof(num_workgroups)); in main()
Dshared.cpp66 uvec3 num_workgroups(NUM_WORKGROUPS, 1, 1); in main() local
68 …_set_builtin(shader, SPIRV_CROSS_BUILTIN_NUM_WORK_GROUPS, &num_workgroups, sizeof(num_workgroups)); in main()
Dmultiply.cpp70 uvec3 num_workgroups(NUM_WORKGROUPS, 1, 1); in main() local
72 …_set_builtin(shader, SPIRV_CROSS_BUILTIN_NUM_WORK_GROUPS, &num_workgroups, sizeof(num_workgroups)); in main()
/third_party/mesa3d/src/amd/compiler/
Daco_live_var_analysis.cpp375 unsigned num_workgroups = waves * num_simd / waves_per_workgroup; in max_suitable_waves() local
392 num_workgroups = std::min(num_workgroups, lds_limit / lds_per_workgroup); in max_suitable_waves()
396 num_workgroups = std::min(num_workgroups, program->wgp_mode ? 32u : 16u); in max_suitable_waves()
403 unsigned workgroup_waves = num_workgroups * waves_per_workgroup; in max_suitable_waves()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_system_values.c58 nir_ssa_def *num_workgroups = nir_load_num_workgroups(b, bit_size); in build_global_group_size() local
60 num_workgroups); in build_global_group_size()
/third_party/skia/third_party/externals/tint/docs/
Dorigin-trial-changes.md57 * The `num_workgroups` builtin is now supported.
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.c226 nir_variable *num_workgroups; member
242 glsl_vec_type(3), &vars->num_workgroups); in lower_compute_state_vars()
/third_party/mesa3d/src/intel/vulkan/
DgenX_cmd_buffer.c2655 cmd_buffer->state.compute.num_workgroups, in emit_binding_table()
2662 cmd_buffer->state.compute.num_workgroups); in emit_binding_table()
5464 cmd_buffer->state.compute.num_workgroups = (struct anv_address) { in genX()
5519 cmd_buffer->state.compute.num_workgroups = addr; in genX()
Danv_private.h2704 struct anv_address num_workgroups; member
/third_party/mesa3d/docs/relnotes/
D20.0.0.rst696 - aco: Make num_workgroups and local_invocation_ids one argument each
D22.1.0.rst3395 - radv: Refactor mesh shader draws and add num_workgroups.