glsl: consistently use ifndef guards over pragma once
Through the glsl headers we had an odd mix of guards be that "ifndef", "pragma once" neither or both. Simplify things by using the more common ones (ifndef) and annotating all the sources, barring the generated builting header - builtin_int64.h. The final header - udivmod64.h - is [seemingly] unused and on its way out (patch purge it is on the mailing list). Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Vedran Miletić <vedran@miletic.net> Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
* Provides a visitor which produces a list of variables referenced.
|
||||
*/
|
||||
|
||||
#ifndef GLSL_IR_ARRAY_REFCOUNT_H
|
||||
#define GLSL_IR_ARRAY_REFCOUNT_H
|
||||
|
||||
#include "ir.h"
|
||||
#include "ir_visitor.h"
|
||||
#include "compiler/glsl_types.h"
|
||||
@@ -181,3 +184,5 @@ private:
|
||||
unsigned derefs_size;
|
||||
/*@}*/
|
||||
};
|
||||
|
||||
#endif /* GLSL_IR_ARRAY_REFCOUNT_H */
|
||||
|
Reference in New Issue
Block a user