mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GLES: Force frag test cache on for Intel.
Seeing drivers report errors trying to shift the alpha value in the test. Only seeing these errors in fragment shaders, though.
This commit is contained in:
parent
2b4a182b46
commit
5180486ded
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,8 @@ u32 GPU_GLES::CheckGPUFeatures() const {
|
|||
if (gl_extensions.ARB_texture_float || gl_extensions.OES_texture_float)
|
||||
features |= GPU_USE_TEXTURE_FLOAT;
|
||||
|
||||
if (!draw_->GetShaderLanguageDesc().bitwiseOps) {
|
||||
// Intel drivers have been seen rejecting fragment shader uint shifts used in the alpha test.
|
||||
if (!draw_->GetShaderLanguageDesc().bitwiseOps || draw_->GetDeviceCaps().vendor == Draw::GPUVendor::VENDOR_INTEL) {
|
||||
features |= GPU_USE_FRAGMENT_TEST_CACHE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue