nngn
Loading...
Searching...
No Matches
common.h
Go to the documentation of this file.
1#define ESCAPE
2#ifdef VULKAN
3ESCAPE#version 450
4ESCAPE#extension GL_ARB_separate_shader_objects : enable
5#define HAS_CUBE_ARRAY
6#define LAYOUT(x) layout(x)
7#define LAYOUT2(x, y) layout(x, y)
8#define PUSH_CONSTANT(x) layout(push_constant) uniform push_const { x; }
9#else
10ESCAPE#version 300 es
11#define LAYOUT(x)
12#define LAYOUT2(x, y)
13#define PUSH_CONSTANT(x) uniform x
14precision highp int;
15precision highp float;
16precision highp sampler2DArray;
17#endif
precision highp float
Definition: common.h:15
precision highp sampler2DArray
Definition: common.h:16
precision highp int
Definition: common.h:14
#define ESCAPE
Definition: common.h:1