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 LAYOUT(x) layout(x)
6#define LAYOUT2(x, y) layout(x, y)
7#define PUSH_CONSTANT(x) layout(push_constant) uniform push_const { x; }
8#else
9ESCAPE#version 300 es
10#define LAYOUT(x)
11#define LAYOUT2(x, y)
12#define PUSH_CONSTANT(x) uniform x
13precision highp int;
14precision highp float;
15precision highp sampler2DArray;
16#endif
precision highp float
Definition: common.h:14
precision highp sampler2DArray
Definition: common.h:15
precision highp int
Definition: common.h:13
#define ESCAPE
Definition: common.h:1