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:
@@ -21,8 +21,13 @@
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef GLSL_IR_BASIC_BLOCK_H
|
||||
#define GLSL_IR_BASIC_BLOCK_H
|
||||
|
||||
void call_for_basic_blocks(exec_list *instructions,
|
||||
void (*callback)(ir_instruction *first,
|
||||
ir_instruction *last,
|
||||
void *data),
|
||||
void *data);
|
||||
|
||||
#endif /* GLSL_IR_BASIC_BLOCK_H */
|
||||
|
Reference in New Issue
Block a user