1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix shader compilation for combiners, wich use only T1.

Fixed main menu in Paper Mario.
This commit is contained in:
Sergey Lipskiy 2017-11-07 11:22:12 +07:00
parent dd4fac7230
commit 7642758873

View File

@ -2050,6 +2050,8 @@ graphics::CombinerProgram * CombinerProgramBuilder::buildCombinerProgram(Combine
if (g_cycleType < G_CYC_COPY) {
if (combinerInputs.usesTile(0))
m_fragmentReadTex0->write(ssShader);
else
ssShader << " lowp vec4 readtex0;" << std::endl;
if (combinerInputs.usesTile(1))
m_fragmentReadTex1->write(ssShader);