projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git]
/
Test
/
hlsl.texturebuffer.frag
1
2
struct Data {
3
float4 f;
4
int4 i;
5
};
6
7
TextureBuffer<Data> TextureBuffer_var : register(t0);
8
9
tbuffer tbuf2 {
10
float4 f2;
11
int4 i2;
12
};
13
14
float4 main(float4 pos : SV_POSITION) : SV_TARGET
15
{
16
return TextureBuffer_var.f + f2;
17
}