mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 05:54:16 +00:00
5af5222249
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
23 lines
511 B
GLSL
23 lines
511 B
GLSL
Buffer<float4> uFloatSampler : register(t1);
|
|
Buffer<int4> uIntSampler : register(t2);
|
|
Buffer<uint4> uUintSampler : register(t3);
|
|
|
|
static float4 gl_Position;
|
|
struct SPIRV_Cross_Output
|
|
{
|
|
float4 gl_Position : SV_Position;
|
|
};
|
|
|
|
void vert_main()
|
|
{
|
|
gl_Position = (uFloatSampler.Load(20) + asfloat(uIntSampler.Load(40))) + asfloat(uUintSampler.Load(60));
|
|
}
|
|
|
|
SPIRV_Cross_Output main()
|
|
{
|
|
vert_main();
|
|
SPIRV_Cross_Output stage_output;
|
|
stage_output.gl_Position = gl_Position;
|
|
return stage_output;
|
|
}
|