mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-18 00:37:43 +00:00
18 lines
245 B
GLSL
18 lines
245 B
GLSL
|
|
||
|
struct Data {
|
||
|
float4 f;
|
||
|
int4 i;
|
||
|
};
|
||
|
|
||
|
TextureBuffer<Data> TextureBuffer_var : register(t0);
|
||
|
|
||
|
tbuffer tbuf2 {
|
||
|
float4 f2;
|
||
|
int4 i2;
|
||
|
};
|
||
|
|
||
|
float4 main(float4 pos : SV_POSITION) : SV_TARGET
|
||
|
{
|
||
|
return TextureBuffer_var.f + f2;
|
||
|
}
|