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 <ian.d.romanick@intel.com>
This commit is contained in:
Marek Olšák
2018-08-06 00:56:35 -04:00
parent 1cf3631b9c
commit b3c17330e6
9 changed files with 260 additions and 11 deletions

View File

@@ -256,7 +256,8 @@ struct _mesa_glsl_parse_state {
bool has_int64() const
{
return ARB_gpu_shader_int64_enable;
return ARB_gpu_shader_int64_enable ||
AMD_gpu_shader_int64_enable;
}
bool has_420pack() const
@@ -759,6 +760,8 @@ struct _mesa_glsl_parse_state {
*/
bool AMD_conservative_depth_enable;
bool AMD_conservative_depth_warn;
bool AMD_gpu_shader_int64_enable;
bool AMD_gpu_shader_int64_warn;
bool AMD_shader_stencil_export_enable;
bool AMD_shader_stencil_export_warn;
bool AMD_shader_trinary_minmax_enable;