glsl: First argument to atomic functions must be a buffer variable
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 24 Apr 2015 10:34:00 +0000 (12:34 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 Sep 2015 06:39:23 +0000 (08:39 +0200)
commita07d0c26574203415da343718d906375accf95b3
tree97127fb312744ea1c61efef4089a0ce03fb395cb
parent5ef169034c77ede86546d8dc42f7f22abcd6faa0
glsl: First argument to atomic functions must be a buffer variable

v2:
  - Add ssbo_in the names of the static functions so it is clear that this
    is specific to SSBO atomics.

v3:
  - Move the check after the loop (Kristian Høgsberg)

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/glsl/ast_function.cpp