~mmach/netext73/glslang

« back to all changes in this revision

Viewing changes to Test/hlsl.partialFlattenMixed.vert

  • Committer: mmach
  • Date: 2020-02-05 18:22:02 UTC
  • Revision ID: netbit73@gmail.com-20200205182202-x6mj2xsqo1ngs0kq
8.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Texture2D tex[2];
 
2
 
 
3
struct Packed {
 
4
    int a;
 
5
    Texture2D     membTex[2];
 
6
    int b;
 
7
};
 
8
 
 
9
float4 main(float4 pos : POSITION) : SV_POSITION
 
10
{
 
11
    Packed packed;
 
12
 
 
13
    packed.membTex = tex;
 
14
 
 
15
    return pos;
 
16
}
 
 
b'\\ No newline at end of file'