mesa: function for testing if current frag-shader has atomics
authorKevin Rogovin <kevin.rogovin@intel.com>
Wed, 17 Jun 2015 10:29:56 +0000 (13:29 +0300)
committerMartin Peres <martin.peres@linux.intel.com>
Wed, 17 Jun 2015 11:39:03 +0000 (14:39 +0300)
commitbbb700967e9991a03ed6e8073c9bdc2ca0d1381d
tree8456724044118e3a5eb04203f9926beb67898efb
parent41b6db225f42a5d81beec1b4455ec7b504e2416d
mesa: function for testing if current frag-shader has atomics

Add helper function that checks if current fragment shader active
of gl_context has atomic buffer access.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
src/mesa/main/mtypes.h