glsl: Update fog enums in shaders

This commit is contained in:
kd-11 2023-01-09 14:45:07 +03:00 committed by kd-11
parent 2ccfee2e45
commit aa5097e0d4
4 changed files with 49 additions and 32 deletions

View file

@ -204,7 +204,7 @@ void GLFragmentDecompilerThread::insertGlobalFunctions(std::stringstream &OS)
void GLFragmentDecompilerThread::insertMainStart(std::stringstream & OS)
{
if (properties.in_register_mask & in_fogc)
glsl::insert_fog_declaration(OS);
program_common::insert_fog_declaration(OS);
std::set<std::string> output_registers;
if (m_ctrl & CELL_GCM_SHADER_CONTROL_32_BITS_EXPORTS)