mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
panvk: Make panvk_descriptor_set_layout per-gen
Forbid inclusion of panvk_descriptor_set_layout.h from non per-gen compilation units. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Rebecca Mckeever <rebecca.mckeever@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28170>
This commit is contained in:
parent
52abe6e921
commit
f912b075dd
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@
|
|||
#ifndef PANVK_DESCRIPTOR_SET_LAYOUT_H
|
||||
#define PANVK_DESCRIPTOR_SET_LAYOUT_H
|
||||
|
||||
#ifndef PAN_ARCH
|
||||
#error "PAN_ARCH must be defined"
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "vk_descriptor_set_layout.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue