mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 01:28:07 +02:00
kk: Assign type to load_frag_coord
Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com> Signed-off-by: Aitor Camacho <aitor@lunarg.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39858>
This commit is contained in:
parent
05cca7eb36
commit
d775ac85ba
1 changed files with 2 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ update_instr_type(struct hash_table *types, nir_instr *instr, ti_type type)
|
|||
case nir_intrinsic_store_scratch:
|
||||
case nir_intrinsic_load_shared:
|
||||
case nir_intrinsic_store_shared:
|
||||
case nir_intrinsic_load_frag_coord:
|
||||
return false;
|
||||
case nir_intrinsic_store_global:
|
||||
set_type(types, &intr->src[0], type);
|
||||
|
|
@ -391,6 +392,7 @@ infer_types_from_intrinsic(struct hash_table *types, nir_intrinsic_instr *instr)
|
|||
break;
|
||||
case nir_intrinsic_load_point_coord:
|
||||
case nir_intrinsic_load_sample_pos:
|
||||
case nir_intrinsic_load_frag_coord:
|
||||
set_type(types, &instr->def, TYPE_FLOAT);
|
||||
break;
|
||||
case nir_intrinsic_load_front_face:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue