mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
radv: Remove create_accel_build_shader
Unused since every kernel is written in GLSL now. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19006>
This commit is contained in:
parent
ddc5c30489
commit
3e22f957d5
1 changed files with 0 additions and 13 deletions
|
|
@ -268,19 +268,6 @@ radv_CopyAccelerationStructureKHR(VkDevice _device, VkDeferredOperationKHR defer
|
|||
return VK_ERROR_FEATURE_NOT_PRESENT;
|
||||
}
|
||||
|
||||
static nir_builder
|
||||
create_accel_build_shader(struct radv_device *device, const char *name)
|
||||
{
|
||||
nir_builder b = radv_meta_init_shader(device, MESA_SHADER_COMPUTE, "%s", name);
|
||||
b.shader->info.workgroup_size[0] = 64;
|
||||
|
||||
assert(b.shader->info.workgroup_size[1] == 1);
|
||||
assert(b.shader->info.workgroup_size[2] == 1);
|
||||
assert(!b.shader->info.workgroup_size_variable);
|
||||
|
||||
return b;
|
||||
}
|
||||
|
||||
void
|
||||
radv_device_finish_accel_struct_build_state(struct radv_device *device)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue