mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
panfrost: Pass through src_type
Needed since Bifrost blends are typed well. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7446>
This commit is contained in:
parent
42319c5626
commit
4a2ecc72d3
1 changed files with 2 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ pan_nir_lower_zs_store(nir_shader *nir)
|
|||
combined_store->num_components = intr->src[0].ssa->num_components;
|
||||
|
||||
nir_intrinsic_set_base(combined_store, nir_intrinsic_base(intr));
|
||||
nir_intrinsic_set_src_type(combined_store, nir_intrinsic_src_type(intr));
|
||||
|
||||
unsigned writeout = PAN_WRITEOUT_C;
|
||||
if (z_store)
|
||||
|
|
@ -173,6 +174,7 @@ pan_nir_lower_zs_store(nir_shader *nir)
|
|||
else
|
||||
base = nir_intrinsic_base(s_store);
|
||||
nir_intrinsic_set_base(combined_store, base);
|
||||
nir_intrinsic_set_src_type(combined_store, nir_type_float32);
|
||||
|
||||
unsigned writeout = 0;
|
||||
if (z_store)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue