diff options
author | Brian Paul <[email protected]> | 2014-12-15 17:01:22 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-12-16 07:52:41 -0700 |
commit | 04addcc6a38756b0b9860d84a8b5822f9a652414 (patch) | |
tree | 26d7d9dc1b250959d3ad0f3dda726cded966e450 | |
parent | 641314eff3b113c19b1a9f90e21dba82167d85e4 (diff) |
program: add #ifndef SAMPLER_H wrapper
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
-rw-r--r-- | src/mesa/program/sampler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/program/sampler.h b/src/mesa/program/sampler.h index 8b7c3b63ed5..61c7f5851e7 100644 --- a/src/mesa/program/sampler.h +++ b/src/mesa/program/sampler.h @@ -23,6 +23,10 @@ * DEALINGS IN THE SOFTWARE. */ +#ifndef SAMPLER_H +#define SAMPLER_H + + int _mesa_get_sampler_uniform_value(class ir_dereference *sampler, struct gl_shader_program *shader_program, @@ -30,3 +34,6 @@ _mesa_get_sampler_uniform_value(class ir_dereference *sampler, class ir_rvalue * _mesa_get_sampler_array_nonconst_index(class ir_dereference *sampler); + + +#endif /* SAMPLER_H */ |