diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-10-06 21:51:41 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-10-06 21:51:41 -0500 |
| commit | 26c38648ece6e27b4b98e61312fe2d383757b8a4 (patch) | |
| tree | 3e75bce8254c0c2ffa622dfb67a6bc3e2f82b17e /Source/Core/VideoCommon | |
| parent | a40daac5b14387a88d396f746a5298c39df76e34 (diff) | |
[Android] Missed a few things for PowerVR544MP3 'support.' It doesn't actually get any video output on it just like Tegra 4.
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/DriverDetails.cpp | 1 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/Src/DriverDetails.h | 7 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/Src/PixelShaderGen.cpp | 6 |
3 files changed, 11 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Src/DriverDetails.cpp b/Source/Core/VideoCommon/Src/DriverDetails.cpp index 1f7e43cca6..860a805dd3 100644 --- a/Source/Core/VideoCommon/Src/DriverDetails.cpp +++ b/Source/Core/VideoCommon/Src/DriverDetails.cpp @@ -39,6 +39,7 @@ namespace DriverDetails {VENDOR_MESA, DRIVER_NOUVEAU, BUG_BROKENHACKEDBUFFER, -1.0, -1.0, true}, {VENDOR_ATI, DRIVER_ATI, BUG_BROKENPINNEDMEMORY, -1.0, -1.0, true}, {VENDOR_TEGRA, DRIVER_NVIDIA, BUG_ISTEGRA, -1.0, -1.0, true}, + {VENDOR_IMGTEC, DRIVER_IMGTEC, BUG_ISPOWERVR, -1.0, -1.0, true}, }; std::map<Bug, BugInfo> m_bugs; diff --git a/Source/Core/VideoCommon/Src/DriverDetails.h b/Source/Core/VideoCommon/Src/DriverDetails.h index 6006feb336..f81eccf246 100644 --- a/Source/Core/VideoCommon/Src/DriverDetails.h +++ b/Source/Core/VideoCommon/Src/DriverDetails.h @@ -122,6 +122,13 @@ namespace DriverDetails // Tegra 4 hardware limitations don't allow it to support OpenGL ES 3 // This is fixed in Tegra 5 BUG_ISTEGRA, + // Bug: Running on a PowerVR5 device + // Affected devices: PowerVR54x + // Started Version: 540 + // Ended Version: 6xxx + // PowerVR 5 hardware limitations don't allow it to support OpenGL ES 3 + // This is fixed in PowerVR6 + BUG_ISPOWERVR, }; // Initializes our internal vendor, device family, and driver version diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp index e4d2bc569f..1720e4e8b1 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp @@ -658,12 +658,12 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T if (dstAlphaMode == DSTALPHA_ALPHA_PASS) { out.SetConstantsUsed(C_ALPHA, C_ALPHA); - out.Write("\tocol0 = float4(prev.rgb, " I_ALPHA"[0].a);\n"); + out.Write("\tgl_FragColor = float4(prev.rgb, " I_ALPHA"[0].a);\n"); } else { WriteFog<T>(out, uid_data); - out.Write("\tocol0 = prev;\n"); + out.Write("\tgl_FragColor = prev;\n"); } // Use dual-source color blending to perform dst alpha in a single pass @@ -674,7 +674,7 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T // Colors will be blended against the alpha from ocol1 and // the alpha from ocol0 will be written to the framebuffer. out.Write("\tocol1 = prev;\n"); - out.Write("\tocol0.a = " I_ALPHA"[0].a;\n"); + out.Write("\tgl_FragColor.a = " I_ALPHA"[0].a;\n"); } out.Write("}\n"); |
