nngn
Loading...
Searching...
No Matches
common.h
Go to the documentation of this file.
1
#define ESCAPE
2
#ifdef VULKAN
3
ESCAPE
#version 450
4
ESCAPE
#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
10
ESCAPE
#version 300 es
11
#define LAYOUT(x)
12
#define LAYOUT2(x, y)
13
#define PUSH_CONSTANT(x) uniform x
14
precision highp
int
;
15
precision highp
float
;
16
precision highp
sampler2DArray
;
17
#endif
float
precision highp float
Definition
common.h:15
sampler2DArray
precision highp sampler2DArray
Definition
common.h:16
int
precision highp int
Definition
common.h:14
ESCAPE
#define ESCAPE
Definition
common.h:1
src
glsl
common.h
Generated by
1.11.0