mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 14:55:45 -04:00
ShaderGen: Don't emit index qualifier when not using DSB
Fixes shader compile errors on Panfrost.
This commit is contained in:
@ -573,7 +573,7 @@ void ShaderGen::DeclareFragmentEntryPoint(
|
|||||||
|
|
||||||
if (m_use_glsl_binding_layout)
|
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++)
|
for (u32 i = 0; i < num_color_outputs; i++)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user