mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
radv: do not lower color exports for FS that need an epilog
When building the main FS with GPL we don't know the color export formats. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18255>
This commit is contained in:
parent
a14354cf21
commit
baf3924631
1 changed files with 3 additions and 0 deletions
|
|
@ -3291,6 +3291,9 @@ radv_lower_vs_input(nir_shader *nir, const struct radv_physical_device *pdevice,
|
||||||
static bool
|
static bool
|
||||||
radv_lower_fs_output(nir_shader *nir, const struct radv_pipeline_key *pipeline_key)
|
radv_lower_fs_output(nir_shader *nir, const struct radv_pipeline_key *pipeline_key)
|
||||||
{
|
{
|
||||||
|
if (pipeline_key->ps.has_epilog)
|
||||||
|
return false;
|
||||||
|
|
||||||
nir_function_impl *impl = nir_shader_get_entrypoint(nir);
|
nir_function_impl *impl = nir_shader_get_entrypoint(nir);
|
||||||
bool progress = false;
|
bool progress = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue