File: hlsl.layout.frag

package info (click to toggle)
glslang 16.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 51,712 kB
  • sloc: cpp: 92,305; yacc: 4,320; sh: 603; python: 305; ansic: 94; javascript: 74; makefile: 17
file content (19 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
layout(set=3,binding=5) tbuffer tbufName {
    layout(offset = 16) float4 v1;
};

layout(push_constant) tbuffer tbufName2 {
    float4 v5;
};

layout(constant_id=17) const int specConst = 10;

tbuffer tbufName2 : layout(set=4,binding=7) {
    layout(offset = 16) float4 v1PostLayout;
};

float4 PixelShaderFunction(float4 input) : COLOR0
{
    float4 layout = 2.0;
    return input + v1 + v5 + v1PostLayout * layout;
}