mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-26 18:35:43 -04:00
ShaderGen: Don't emit index qualifier when not using DSB
Fixes shader compile errors on Panfrost.
This commit is contained in:
parent
e93fec49bb
commit
38777439c5
@ -573,7 +573,7 @@ void ShaderGen::DeclareFragmentEntryPoint(
|
||||
|
||||
if (m_use_glsl_binding_layout)
|
||||
{
|
||||
if (m_supports_dual_source_blend)
|
||||
if (m_supports_dual_source_blend && num_color_outputs > 1)
|
||||
{
|
||||
for (u32 i = 0; i < num_color_outputs; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user