mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
nir/lower_mediump: Fix assertion about copy_deref lowering matching.
Copy and paste typo. We shouldn't have copy_derefs during this pass, anyway, but caught a failure with my upcoming unit testing. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21666>
This commit is contained in:
parent
1fff562929
commit
5873dcb32f
1 changed files with 1 additions and 1 deletions
|
|
@ -515,7 +515,7 @@ nir_lower_mediump_vars_impl(nir_function_impl *impl, nir_variable_mode modes,
|
|||
|
||||
case nir_intrinsic_copy_deref: {
|
||||
nir_deref_instr *dst = nir_src_as_deref(intrin->src[0]);
|
||||
nir_deref_instr *src = nir_src_as_deref(intrin->src[0]);
|
||||
nir_deref_instr *src = nir_src_as_deref(intrin->src[1]);
|
||||
/* If we convert once side of a copy and not the other, that
|
||||
* would be very bad.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue