diff options
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp b/Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp index dbae586853..13f8b65156 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp @@ -117,13 +117,10 @@ void PixelShaderCache::Init() "TEMP R0;\n" "TEMP R1;\n" "TEMP R2;\n" - "PARAM K0 = { 65535.0, 255.0 };\n" + "PARAM K0 = { 65535.0, 255.0,1.0};\n" "TEX R2, fragment.texcoord[0], texture[0], RECT;\n" - "MUL R0.x, R2.x, K0.x;\n" - "FRC R0.x, R0.x;\n" - "MUL R0.y, R2.x, K0.y;\n" - "FRC R0.y, R0.y;\n" - "MOV R0.z, R2.x;\n" + "MUL R0, R2.x, K0;\n" + "FRC R0, R0;\n" "DP4 R1.x, R0, program.env[%d];\n" "DP4 R1.y, R0, program.env[%d];\n" "DP4 R1.z, R0, program.env[%d];\n" |
