• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1layout(set=3,binding=5) tbuffer tbufName {
2    layout(offset = 16) float4 v1;
3};
4
5layout(push_constant) tbuffer tbufName2 {
6    float4 v5;
7};
8
9layout(constant_id=17) const int specConst = 10;
10
11tbuffer tbufName2 : layout(set=4,binding=7) {
12    layout(offset = 16) float4 v1PostLayout;
13};
14
15float4 PixelShaderFunction(float4 input) : COLOR0
16{
17    float4 layout = 2.0;
18    return input + v1 + v5 + v1PostLayout * layout;
19}
20