spirv: consistently use ifndef guards over pragma once
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:
@@ -25,6 +25,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _VTN_PRIVATE_H_
|
||||
#define _VTN_PRIVATE_H_
|
||||
|
||||
#include "nir/nir.h"
|
||||
#include "nir/nir_builder.h"
|
||||
#include "nir/nir_array.h"
|
||||
@@ -496,3 +499,5 @@ vtn_u64_literal(const uint32_t *w)
|
||||
{
|
||||
return (uint64_t)w[1] << 32 | w[0];
|
||||
}
|
||||
|
||||
#endif /* _VTN_PRIVATE_H_ */
|
||||
|
Reference in New Issue
Block a user