diff options
author | Ian Romanick <[email protected]> | 2018-03-29 14:59:47 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-08-22 20:31:32 -0700 |
commit | 9527bb4e704e3d9229cb7977ae598ed207a0502d (patch) | |
tree | bca4730a99f27bccf2162e532d93c0da0ab6299d /src/compiler | |
parent | c731508b9883c658dee9c4464452087345eebe1f (diff) |
mesa: Extension boilerplate for NV_shader_atomic_float
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.cpp | 1 | ||||
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index 393942b62c3..f737efd60d9 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -726,6 +726,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = { EXT(MESA_shader_integer_functions), EXT(NV_fragment_shader_interlock), EXT(NV_image_formats), + EXT(NV_shader_atomic_float), }; #undef EXT diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h index 3b17b54f0a2..e22e9ff2fba 100644 --- a/src/compiler/glsl/glsl_parser_extras.h +++ b/src/compiler/glsl/glsl_parser_extras.h @@ -814,6 +814,8 @@ struct _mesa_glsl_parse_state { bool NV_fragment_shader_interlock_warn; bool NV_image_formats_enable; bool NV_image_formats_warn; + bool NV_shader_atomic_float_enable; + bool NV_shader_atomic_float_warn; /*@}*/ /** Extensions supported by the OpenGL implementation. */ |