mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
kraid: Claim we use 64 registers
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41841>
This commit is contained in:
parent
f6ed151807
commit
1ad7ddf076
1 changed files with 3 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ pub extern "C" fn kraid_compile_nir(
|
|||
nir: &mut nir_shader,
|
||||
inputs: &pan_compile_inputs,
|
||||
binary: &mut util_dynarray,
|
||||
_info: &mut pan_shader_info,
|
||||
info: &mut pan_shader_info,
|
||||
) {
|
||||
let model = model_for_gpu_id(inputs.gpu_id).unwrap();
|
||||
|
||||
|
|
@ -87,4 +87,6 @@ pub extern "C" fn kraid_compile_nir(
|
|||
|
||||
let bin = model.encode_shader(&s);
|
||||
dynarray_append_vec(binary, bin);
|
||||
|
||||
info.work_reg_count = 64;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue