[GPU] Make static and const methods if possible

This commit is contained in:
Herman Semenov committed 2024-04-05 17:04:31 +03:00
1 parent 8aac45fec0
commit b57dab2812
32 files changed
+64 -64

No files matched your search

+1 -1
View File
@@ -464,7 +464,7 @@ bail:
}
// TODO: Refactor this to a single USE flag.
bool DrawEngineGLES::SupportsHWTessellation() const {
bool DrawEngineGLES::SupportsHWTessellation() {
bool hasTexelFetch = gl_extensions.GLES3 || (!gl_extensions.IsGLES && gl_extensions.VersionGEThan(3, 3, 0)) || gl_extensions.EXT_gpu_shader4;
return hasTexelFetch && gstate_c.UseAll(GPU_USE_VERTEX_TEXTURE_FETCH | GPU_USE_TEXTURE_FLOAT | GPU_USE_INSTANCE_RENDERING);
}