diff options
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index 0b027b2496..851d127963 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -642,7 +642,7 @@ uint WrapCoord(int coord, uint wrap, int size) {{ int size_t = size.y; int num_layers = size.z; )"); - if (g_ActiveConfig.backend_info.bSupportsTextureQueryLevels) + if (g_backend_info.bSupportsTextureQueryLevels) { out.Write(" int number_of_levels = textureQueryLevels(tex);\n"); } @@ -671,7 +671,7 @@ uint WrapCoord(int coord, uint wrap, int size) {{ )"); } - if (g_ActiveConfig.backend_info.bSupportsCoarseDerivatives) + if (g_backend_info.bSupportsCoarseDerivatives) { // The software renderer uses the equivalent of coarse derivatives, so use them here for // consistency. This hasn't been hardware tested. @@ -1922,8 +1922,7 @@ static void WriteAlphaTest(ShaderCode& out, const pixel_shader_uid_data* uid_dat } if (per_pixel_depth) { - out.Write("\t\tdepth = {};\n", - !g_ActiveConfig.backend_info.bSupportsReversedDepthRange ? "0.0" : "1.0"); + out.Write("\t\tdepth = {};\n", !g_backend_info.bSupportsReversedDepthRange ? "0.0" : "1.0"); } // ZCOMPLOC HACK: |
