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…
Reference in New Issue