glsl: Add new atomic_uint built-in GLSL type.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 20 Oct 2013 19:35:47 +0000 (12:35 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 29 Oct 2013 19:40:55 +0000 (12:40 -0700)
commit26db3b933f7fbc81d6c2bead2a8b0479a3691424
tree217193e3025d3946565e809793508ad797497279
parent0bed1ab73bc8a673b4d7d590d9d39b76fd8bf797
glsl: Add new atomic_uint built-in GLSL type.

v2: Fix GLSL version in which the type became available.  Add
    contains_atomic() convenience method.  Split off atomic counter
    comparison error checking to a separate patch that will handle all
    opaque types.  Include new ir_variable fields for atomic types.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
16 files changed:
src/glsl/ast_to_hir.cpp
src/glsl/builtin_type_macros.h
src/glsl/builtin_types.cpp
src/glsl/glsl_types.cpp
src/glsl/glsl_types.h
src/glsl/ir.cpp
src/glsl/ir.h
src/glsl/ir_clone.cpp
src/glsl/link_uniform_initializers.cpp
src/glsl/tests/uniform_initializer_utils.cpp
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp