radv: fix build
Fixes: 9b9ccee4d6
("radv: take LDS into account for compute shader occupancy stats")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
@@ -3450,7 +3450,7 @@ LLVMModuleRef ac_translate_nir_to_llvm(struct ac_llvm_compiler *ac_llvm,
|
||||
ctx.max_workgroup_size = 0;
|
||||
for (int i = 0; i < shader_count; ++i) {
|
||||
ctx.max_workgroup_size = MAX2(ctx.max_workgroup_size,
|
||||
ac_nir_get_max_workgroup_size(ctx.options->chip_class,
|
||||
radv_nir_get_max_workgroup_size(ctx.options->chip_class,
|
||||
shaders[i]));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user