nvk: fix header guards to be less generic.
You could imagine want to use these defines for something that isn't header guards, so just make the headers guards more explicit. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef NVK_BUFFER
|
||||
#define NVK_BUFFER 1
|
||||
#ifndef NVK_BUFFER_H
|
||||
#define NVK_BUFFER_H 1
|
||||
|
||||
#include "nvk_private.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef NVK_DEVICE
|
||||
#define NVK_DEVICE 1
|
||||
#ifndef NVK_DEVICE_H
|
||||
#define NVK_DEVICE_H 1
|
||||
|
||||
#include "nvk_private.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef NVK_MEMORY
|
||||
#define NVK_MEMORY 1
|
||||
#ifndef NVK_MEMORY_H
|
||||
#define NVK_MEMORY_H 1
|
||||
|
||||
#include "nvk_private.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef NVK_IMAGE
|
||||
#define NVK_IMAGE 1
|
||||
#ifndef NVK_IMAGE_H
|
||||
#define NVK_IMAGE_H 1
|
||||
|
||||
#include "nvk_private.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef NVK_IMAGE_VIEW
|
||||
#define NVK_IMAGE_VIEW 1
|
||||
#ifndef NVK_IMAGE_VIEW_H
|
||||
#define NVK_IMAGE_VIEW_H 1
|
||||
|
||||
#include "nvk_private.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef NVK_INSTANCE
|
||||
#define NVK_INSTANCE 1
|
||||
#ifndef NVK_INSTANCE_H
|
||||
#define NVK_INSTANCE_H 1
|
||||
|
||||
#include "nvk_private.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef NVK_PHYSICAL_DEVICE
|
||||
#define NVK_PHYSICAL_DEVICE 1
|
||||
#ifndef NVK_PHYSICAL_DEVICE_H
|
||||
#define NVK_PHYSICAL_DEVICE_H 1
|
||||
|
||||
#include "nvk_private.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef NVK_PRIVATE
|
||||
#define NVK_PRIVATE 1
|
||||
#ifndef NVK_PRIVATE_H
|
||||
#define NVK_PRIVATE_H 1
|
||||
|
||||
#include "nvk_entrypoints.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef NVK_SAMPLER
|
||||
#define NVK_SAMPLER 1
|
||||
#ifndef NVK_SAMPLER_H
|
||||
#define NVK_SAMPLER_H 1
|
||||
|
||||
#include "nvk_private.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user