mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 21:28:10 +02:00
jay: Implement load_fs_config_intel
We could lower this in to load_push_data_intel in NIR, but it's trivial, and probably less code just to implement it directly. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41688>
This commit is contained in:
parent
3d91cb9d1e
commit
6a02e228bc
1 changed files with 5 additions and 0 deletions
|
|
@ -1287,6 +1287,11 @@ jay_emit_intrinsic(struct nir_to_jay_state *nj, nir_intrinsic_instr *intr)
|
|||
break;
|
||||
}
|
||||
|
||||
case nir_intrinsic_load_fs_config_intel:
|
||||
jay_MOV(b, dst,
|
||||
nj->payload.push_data[s->prog_data->fs.fs_config_param / 4]);
|
||||
break;
|
||||
|
||||
case nir_intrinsic_barrier: {
|
||||
jay_SCHEDULE_BARRIER(b);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue