shade_runner 0.3.0

Allows runtime hot loading of shaders for vulkano
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 450

layout(location = 0) in vec2 position;
layout(location = 0) out vec4 cool;
layout(location = 1) out vec2 yep;
layout(location = 2) out float monkey;

void main() {
  cool = vec4(0.0, 0.5, 1.0, 1.0);
  yep = position;
  monkey = 0.9;
  gl_Position = vec4(yep, 0.0, 1.0);
}