diff options
author | Marek Olšák <[email protected]> | 2018-08-06 00:56:35 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-24 00:36:18 -0400 |
commit | b3c17330e631695b5e5dc209ba9ea1a528618c97 (patch) | |
tree | 14db73e9805eacb5013d35c7c00a95ae09c03490 /src/compiler/glsl/builtin_functions.cpp | |
parent | 1cf3631b9c73a9cbb36eb544bc36329c27400aeb (diff) |
mesa: expose AMD_gpu_shader_int64
because the closed driver exposes it.
It's equivalent to ARB_gpu_shader_int64.
In this patch, I did everything the same as we do for ARB_gpu_shader_int64.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/glsl/builtin_functions.cpp')
-rw-r--r-- | src/compiler/glsl/builtin_functions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/glsl/builtin_functions.cpp b/src/compiler/glsl/builtin_functions.cpp index 2a3138ad0a5..b6018806865 100644 --- a/src/compiler/glsl/builtin_functions.cpp +++ b/src/compiler/glsl/builtin_functions.cpp @@ -535,7 +535,8 @@ static bool shader_clock_int64(const _mesa_glsl_parse_state *state) { return state->ARB_shader_clock_enable && - state->ARB_gpu_shader_int64_enable; + (state->ARB_gpu_shader_int64_enable || + state->AMD_gpu_shader_int64_enable); } static bool |