mesa: Extension boilerplate for NV_shader_atomic_float
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 29 Mar 2018 21:59:47 +0000 (14:59 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 23 Aug 2018 03:31:32 +0000 (20:31 -0700)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/glsl_parser_extras.h
src/mesa/main/extensions_table.h
src/mesa/main/mtypes.h

index 393942b62c3c63a7872026626754e2a0a036a91f..f737efd60d9093f704a90c2cbe03b6bcf61564e9 100644 (file)
@@ -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
index 3b17b54f0a23d4b6b26d5854933fc363d207a87c..e22e9ff2fba6b4137cd95bae0822844ebfc3f0e8 100644 (file)
@@ -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. */
index 746e821886edec262570e08f889941b2f751a54a..6558bbd106c2b17b3a7ba1ebb98a2305c333cbce 100644 (file)
@@ -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)
index 50ef898fc4cf34484e14985b94ef85e2984cecc6..269eef59cb3059818e440919bd21deb00baeb2a4 100644 (file)
@@ -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;