HLSL: Force flat (nointerp) onto integer fragment inputs.
Addresses #940.
This commit is contained in:
@@ -53,7 +53,7 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:20 move second child to first child ( temp uint)
|
||||
0:? 'pos' ( temp uint)
|
||||
0:? 'pos' (layout( location=0) in uint)
|
||||
0:? 'pos' (layout( location=0) flat in uint)
|
||||
0:20 move second child to first child ( temp 4-component vector of float)
|
||||
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
|
||||
0:20 Function Call: @main(u1; ( temp 4-component vector of float)
|
||||
@@ -64,7 +64,7 @@ gl_FragCoord origin is upper left
|
||||
0:? 'sbuf2@count' (layout( row_major std430) buffer block{layout( row_major std430) buffer int @count})
|
||||
0:? 'sbuf3' (layout( binding=12 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of 3-component vector of uint @data})
|
||||
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
|
||||
0:? 'pos' (layout( location=0) in uint)
|
||||
0:? 'pos' (layout( location=0) flat in uint)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -124,7 +124,7 @@ gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:20 move second child to first child ( temp uint)
|
||||
0:? 'pos' ( temp uint)
|
||||
0:? 'pos' (layout( location=0) in uint)
|
||||
0:? 'pos' (layout( location=0) flat in uint)
|
||||
0:20 move second child to first child ( temp 4-component vector of float)
|
||||
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
|
||||
0:20 Function Call: @main(u1; ( temp 4-component vector of float)
|
||||
@@ -135,7 +135,7 @@ gl_FragCoord origin is upper left
|
||||
0:? 'sbuf2@count' (layout( row_major std430) buffer block{layout( row_major std430) buffer int @count})
|
||||
0:? 'sbuf3' (layout( binding=12 row_major std430) readonly buffer block{layout( row_major std430) buffer implicitly-sized array of 3-component vector of uint @data})
|
||||
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
|
||||
0:? 'pos' (layout( location=0) in uint)
|
||||
0:? 'pos' (layout( location=0) flat in uint)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
@@ -192,6 +192,7 @@ gl_FragCoord origin is upper left
|
||||
Decorate 48(sbuf2@count) DescriptorSet 0
|
||||
Decorate 50(sbuf) DescriptorSet 0
|
||||
Decorate 50(sbuf) Binding 10
|
||||
Decorate 63(pos) Flat
|
||||
Decorate 63(pos) Location 0
|
||||
Decorate 66(@entryPointOutput) Location 0
|
||||
MemberDecorate 70(sbuf2@count) 0 Offset 0
|
||||
|
||||
Reference in New Issue
Block a user