Commit f8ae5dc6 by Shahbaz Youssefi Committed by Commit Bot

GL: Enable EXT_gpu_shader5

Bug: angleproject:3569 Change-Id: I08666bde75ac158e051817e689e2c0b82d6b6f70 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1978579Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent d36780ba
...@@ -1471,6 +1471,10 @@ void GenerateCaps(const FunctionsGL *functions, ...@@ -1471,6 +1471,10 @@ void GenerateCaps(const FunctionsGL *functions,
functions->hasGLESExtension("GL_EXT_memory_object_fd"); functions->hasGLESExtension("GL_EXT_memory_object_fd");
extensions->semaphoreFd = functions->hasGLExtension("GL_EXT_semaphore_fd") || extensions->semaphoreFd = functions->hasGLExtension("GL_EXT_semaphore_fd") ||
functions->hasGLESExtension("GL_EXT_semaphore_fd"); functions->hasGLESExtension("GL_EXT_semaphore_fd");
extensions->gpuShader5EXT = functions->isAtLeastGL(gl::Version(4, 0)) ||
functions->isAtLeastGLES(gl::Version(3, 2)) ||
functions->hasGLExtension("GL_ARB_gpu_shader5") ||
functions->hasGLESExtension("GL_EXT_gpu_shader5");
} }
void InitializeFeatures(const FunctionsGL *functions, angle::FeaturesGL *features) void InitializeFeatures(const FunctionsGL *functions, angle::FeaturesGL *features)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment