WIP: HLSL: propagate readonly qualifier for buffer types
This commit is contained in:
parent
cf2e7275e8
commit
d3947d232a
6 changed files with 56 additions and 42 deletions
|
|
@ -7,7 +7,7 @@ Shader version: 450
|
|||
0:? Sequence
|
||||
0:5 Branch: Return with expression
|
||||
0:5 imageLoad ( temp 4-component vector of float)
|
||||
0:5 'Position' (layout( rgba32f) uniform imageBuffer)
|
||||
0:5 'Position' (layout( rgba32f) readonly uniform imageBuffer)
|
||||
0:5 Convert uint to int ( temp int)
|
||||
0:5 'Index' ( in uint)
|
||||
0:9 Function Definition: @RealEntrypoint(u1; ( temp 4-component vector of float)
|
||||
|
|
@ -28,7 +28,7 @@ Shader version: 450
|
|||
0:9 Function Call: @RealEntrypoint(u1; ( temp 4-component vector of float)
|
||||
0:? 'Index' ( temp uint)
|
||||
0:? Linker Objects
|
||||
0:? 'Position' (layout( rgba32f) uniform imageBuffer)
|
||||
0:? 'Position' (layout( rgba32f) readonly uniform imageBuffer)
|
||||
0:? '@entryPointOutput' ( out 4-component vector of float Position)
|
||||
0:? 'Index' ( in uint VertexIndex)
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ Shader version: 450
|
|||
0:? Sequence
|
||||
0:5 Branch: Return with expression
|
||||
0:5 imageLoad ( temp 4-component vector of float)
|
||||
0:5 'Position' (layout( rgba32f) uniform imageBuffer)
|
||||
0:5 'Position' (layout( rgba32f) readonly uniform imageBuffer)
|
||||
0:5 Convert uint to int ( temp int)
|
||||
0:5 'Index' ( in uint)
|
||||
0:9 Function Definition: @RealEntrypoint(u1; ( temp 4-component vector of float)
|
||||
|
|
@ -65,7 +65,7 @@ Shader version: 450
|
|||
0:9 Function Call: @RealEntrypoint(u1; ( temp 4-component vector of float)
|
||||
0:? 'Index' ( temp uint)
|
||||
0:? Linker Objects
|
||||
0:? 'Position' (layout( rgba32f) uniform imageBuffer)
|
||||
0:? 'Position' (layout( rgba32f) readonly uniform imageBuffer)
|
||||
0:? '@entryPointOutput' ( out 4-component vector of float Position)
|
||||
0:? 'Index' ( in uint VertexIndex)
|
||||
|
||||
|
|
@ -90,6 +90,7 @@ Shader version: 450
|
|||
Name 37 "@entryPointOutput"
|
||||
Name 38 "param"
|
||||
Decorate 19(Position) DescriptorSet 0
|
||||
Decorate 19(Position) NonWritable
|
||||
Decorate 34(Index) BuiltIn VertexIndex
|
||||
Decorate 37(@entryPointOutput) BuiltIn Position
|
||||
2: TypeVoid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue