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 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
9
ESCAPE
#version 300 es
10
#define LAYOUT(x)
11
#define LAYOUT2(x, y)
12
#define PUSH_CONSTANT(x) uniform x
13
precision highp
int
;
14
precision highp
float
;
15
precision highp
sampler2DArray
;
16
#endif
float
precision highp float
Definition:
common.h:14
sampler2DArray
precision highp sampler2DArray
Definition:
common.h:15
int
precision highp int
Definition:
common.h:13
ESCAPE
#define ESCAPE
Definition:
common.h:1
src
glsl
common.h
Generated by
1.9.6