mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
Add support OES_texture_half_float.
This commit is contained in:
1 parent
51c34e8157
commit
918bee8801
4 files changed
+4
-2
No files matched your search
@@ -83,7 +83,7 @@ bool CheckSupportInstancedTessellation() {
|
||||
glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, &maxVertexTextureImageUnits);
|
||||
bool vertexTexture = maxVertexTextureImageUnits >= 3; // At least 3 for hardware tessellation
|
||||
bool instanceRendering = gl_extensions.EXT_gpu_shader4;
|
||||
bool textureFloat = gl_extensions.ARB_texture_float || gl_extensions.OES_texture_float;
|
||||
bool textureFloat = gl_extensions.ARB_texture_float || gl_extensions.OES_texture_float || gl_extensions.OES_texture_half_float;
|
||||
|
||||
return instanceRendering && vertexTexture && textureFloat;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user