From: Ian Romanick Date: Thu, 29 Mar 2018 21:59:47 +0000 (-0700) Subject: mesa: Extension boilerplate for NV_shader_atomic_float X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9527bb4e704e3d9229cb7977ae598ed207a0502d;p=mesa.git mesa: Extension boilerplate for NV_shader_atomic_float Signed-off-by: Ian Romanick Reviewed-by: Caio Marcelo de Oliveira Filho --- 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. */ diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index 746e821886e..6558bbd106c 100644 --- a/src/mesa/main/extensions_table.h +++ b/src/mesa/main/extensions_table.h @@ -357,6 +357,7 @@ EXT(NV_read_depth , dummy_true EXT(NV_read_depth_stencil , dummy_true , x , x , x , ES2, 2011) EXT(NV_read_stencil , dummy_true , x , x , x , ES2, 2011) EXT(NV_sample_locations , ARB_sample_locations , GLL, GLC, x , ES2, 2015) +EXT(NV_shader_atomic_float , NV_shader_atomic_float , GLL, GLC, x , x , 2012) EXT(NV_texgen_reflection , dummy_true , GLL, x , x , x , 1999) EXT(NV_texture_barrier , NV_texture_barrier , GLL, GLC, x , x , 2009) EXT(NV_texture_env_combine4 , NV_texture_env_combine4 , GLL, x , x , x , 1999) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 50ef898fc4c..269eef59cb3 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -4289,6 +4289,7 @@ struct gl_extensions GLboolean NV_fog_distance; GLboolean NV_point_sprite; GLboolean NV_primitive_restart; + GLboolean NV_shader_atomic_float; GLboolean NV_texture_barrier; GLboolean NV_texture_env_combine4; GLboolean NV_texture_rectangle;