mesa/program: 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:
@@ -21,7 +21,8 @@
|
|||||||
* DEALINGS IN THE SOFTWARE.
|
* DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef IR_TO_MESA_H
|
||||||
|
#define IR_TO_MESA_H
|
||||||
|
|
||||||
#include "main/glheader.h"
|
#include "main/glheader.h"
|
||||||
|
|
||||||
@@ -51,3 +52,5 @@ _mesa_associate_uniform_storage(struct gl_context *ctx,
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* IR_TO_MESA_H */
|
||||||
|
@@ -28,7 +28,6 @@
|
|||||||
* \author Ian Romanick <ian.d.romanick@intel.com>
|
* \author Ian Romanick <ian.d.romanick@intel.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#ifndef PROG_PARAMETER_LAYOUT_H
|
#ifndef PROG_PARAMETER_LAYOUT_H
|
||||||
#define PROG_PARAMETER_LAYOUT_H
|
#define PROG_PARAMETER_LAYOUT_H
|
||||||
|
@@ -21,7 +21,6 @@
|
|||||||
* IN THE SOFTWARE.
|
* IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
#ifndef PROG_TO_NIR_H
|
#ifndef PROG_TO_NIR_H
|
||||||
#define PROG_TO_NIR_H
|
#define PROG_TO_NIR_H
|
||||||
|
|
||||||
|
@@ -20,7 +20,9 @@
|
|||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
* DEALINGS IN THE SOFTWARE.
|
* DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
|
||||||
|
#ifndef PROGRAM_PARSER_H
|
||||||
|
#define PROGRAM_PARSER_H
|
||||||
|
|
||||||
#include "main/config.h"
|
#include "main/config.h"
|
||||||
#include "program/prog_parameter.h"
|
#include "program/prog_parameter.h"
|
||||||
@@ -288,3 +290,5 @@ extern int _mesa_parse_instruction_suffix(const struct asm_parser_state *state,
|
|||||||
const char *suffix, struct prog_instruction *inst);
|
const char *suffix, struct prog_instruction *inst);
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
|
||||||
|
#endif /* PROGRAM_PARSER_H */
|
||||||
|
Reference in New Issue
Block a user