2017-11-22 11:08:06 +00:00
|
|
|
#version 450
|
|
|
|
|
2018-03-12 13:58:40 +00:00
|
|
|
layout(binding = 0, rgba32f) uniform writeonly imageBuffer RWTex;
|
|
|
|
layout(binding = 1) uniform samplerBuffer Tex;
|
2017-11-22 11:08:06 +00:00
|
|
|
|
|
|
|
layout(location = 0) out vec4 _entryPointOutput;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
imageStore(RWTex, 20, vec4(1.0, 2.0, 3.0, 4.0));
|
|
|
|
_entryPointOutput = texelFetch(Tex, 10);
|
|
|
|
}
|
|
|
|
|