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:
@@ -29,6 +29,9 @@
|
||||
* were defined in the scope.
|
||||
*/
|
||||
|
||||
#ifndef GLSL_IR_VARIABLE_REFCOUNT_H
|
||||
#define GLSL_IR_VARIABLE_REFCOUNT_H
|
||||
|
||||
#include "ir.h"
|
||||
#include "ir_visitor.h"
|
||||
#include "compiler/glsl_types.h"
|
||||
@@ -84,3 +87,5 @@ public:
|
||||
|
||||
void *mem_ctx;
|
||||
};
|
||||
|
||||
#endif /* GLSL_IR_VARIABLE_REFCOUNT_H */
|
||||
|
Reference in New Issue
Block a user