mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 14:00:09 -10:00
Capture: Disable GL_NV_shader_noperspective_interpolation
Skia uses the extension GL_NV_shader_noperspective_interpolation, which is implemented by ANGLE. This leads to traces with shaders that use the extension. Such traces do not replay on some native GLES drivers, as the extension is not available. The fix is to disable the GL_NV_shader_noperspective_interpolation extension when capturing, so that apps do not use this extension. Bug: b/174256233 Change-Id: I5265cab2a56be488669ed31aa2ea8ec7b7fad8fd Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2593190 Reviewed-by: Jamie Madill <[email protected]> Commit-Queue: Paul Thomson <[email protected]>
This commit is contained in:
1 parent
5b6d60f84f
commit
c47b951ecb
1 file changed
+5
@@ -3577,6 +3577,11 @@ void Context::initCaps()
|
||||
"supported on native drivers"
|
||||
<< std::endl;
|
||||
mState.mExtensions.bindUniformLocation = false;
|
||||
|
||||
INFO() << "Disabling GL_NV_shader_noperspective_interpolation during capture, which is not "
|
||||
"supported on some native drivers"
|
||||
<< std::endl;
|
||||
mState.mExtensions.noperspectiveInterpolationNV = false;
|
||||
}
|
||||
|
||||
// Disable support for OES_get_program_binary
|
||||
|
||||
Reference in new issue
Block a user