projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
641314e
)
program: add #ifndef SAMPLER_H wrapper
author
Brian Paul
<brianp@vmware.com>
Tue, 16 Dec 2014 00:01:22 +0000
(17:01 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 16 Dec 2014 14:52:41 +0000
(07:52 -0700)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/program/sampler.h
patch
|
blob
|
history
diff --git
a/src/mesa/program/sampler.h
b/src/mesa/program/sampler.h
index 8b7c3b63ed5ad537b34821451a7d188477c8b4cd..61c7f5851e7bd3f312d60bfa687bb9a6fcceca37 100644
(file)
--- 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 */