diff options
author | Kenneth Graunke <[email protected]> | 2013-08-30 00:06:30 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-09-09 11:52:16 -0700 |
commit | 0823a87a7520c79708d6990f761b871c41ebffdf (patch) | |
tree | 3166c435d90f5aeb0547caffa124530fe6c9180e /src/glsl/ir_function.cpp | |
parent | d403a105735f2b56e24092b1c25e2d3d108e15bc (diff) |
glsl: Add a method to tell whether a built-in is available.
We can simply call the stored predicate function. If state is NULL,
just report that the function is available.
v2: Add a comment (requested by Paul Berry).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/ir_function.cpp')
0 files changed, 0 insertions, 0 deletions