2018-02-23 14:09:28 +00:00
|
|
|
#version 310 es
|
|
|
|
precision mediump float;
|
|
|
|
precision highp int;
|
|
|
|
|
2018-10-30 06:31:32 +00:00
|
|
|
#ifndef SPIRV_CROSS_CONSTANT_ID_10
|
|
|
|
#define SPIRV_CROSS_CONSTANT_ID_10 2
|
|
|
|
#endif
|
|
|
|
const int Value = SPIRV_CROSS_CONSTANT_ID_10;
|
|
|
|
|
2018-02-23 14:09:28 +00:00
|
|
|
layout(binding = 0, std140) uniform SpecConstArray
|
|
|
|
{
|
2018-10-30 06:31:32 +00:00
|
|
|
vec4 samples[Value];
|
2018-02-23 14:09:28 +00:00
|
|
|
} _15;
|
|
|
|
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
layout(location = 0) flat in mediump int Index;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
FragColor = _15.samples[Index];
|
|
|
|
}
|
|
|
|
|