|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| void | GPU_compute_dispatch (GPUShader *shader, uint groups_x_len, uint groups_y_len, uint groups_z_len) |
| void | GPU_compute_dispatch_indirect (GPUShader *shader, GPUStorageBuf *indirect_buf_) |
| void GPU_compute_dispatch | ( | GPUShader * | shader, |
| uint | groups_x_len, | ||
| uint | groups_y_len, | ||
| uint | groups_z_len ) |
Dispatch a compute shader task. The number of work groups (aka thread groups) is bounded by GPU_max_work_group_count() which might be different in each of the 3 dimensions.
Definition at line 13 of file gpu_compute.cc.
References blender::gpu::GPUBackend::compute_dispatch(), blender::gpu::GPUBackend::get(), and GPU_shader_bind().
Referenced by blender::draw::command::DrawMultiBuf::bind(), blender::realtime_compositor::compute_complete_blocks(), blender::realtime_compositor::compute_complete_x_prologues(), blender::realtime_compositor::compute_complete_y_prologues(), blender::realtime_compositor::compute_dispatch_threads_at_least(), blender::realtime_compositor::compute_incomplete_prologues(), blender::nodes::node_composite_vec_blur_cc::VectorBlurOperation::compute_max_tile_velocity(), blender::draw::View::compute_procedural_bounds(), blender::draw::View::compute_visibility(), blender::gpu::tests::Shader::dispatch(), draw_shgroup(), blender::draw::drw_subdiv_compute_dispatch(), blender::draw::Manager::end_sync(), blender::draw::command::Dispatch::execute(), GPU_indexbuf_build_curves_on_device(), blender::realtime_compositor::parallel_reduction_dispatch(), pygpu_compute_dispatch(), blender::gpu::tests::test_buffer_texture(), blender::gpu::tests::test_compute_direct(), blender::gpu::tests::test_shader_compute_1d(), blender::gpu::tests::test_shader_compute_2d(), blender::gpu::tests::test_shader_compute_ibo(), blender::gpu::tests::test_shader_compute_ssbo(), blender::gpu::tests::test_shader_compute_vbo(), and blender::gpu::tests::ShaderSpecializationConst::validate().
| void GPU_compute_dispatch_indirect | ( | GPUShader * | shader, |
| GPUStorageBuf * | indirect_buf_ ) |
Definition at line 23 of file gpu_compute.cc.
References blender::gpu::GPUBackend::compute_dispatch_indirect(), blender::gpu::GPUBackend::get(), and GPU_shader_bind().
Referenced by draw_shgroup(), blender::draw::command::DispatchIndirect::execute(), and blender::gpu::tests::test_compute_indirect().