yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

David NetoHLSL: Check for bad integer argument on Load*, Store*, Interlocked* (#4208)59e5dcc3

main
2.1 KiB58 linesraw
1hlsl.buffer.interlocked.error.frag
2ERROR: 0:11: '' : invalid destination address for interlocked operation 
3ERROR: 1 compilation errors.  No code generated.
4
5
6Shader version: 500
7gl_FragCoord origin is upper left
8ERROR: node is still EOpNull!
90:9  Function Definition: @main( ( temp 4-component vector of float)
100:9    Function Parameters: 
110:?     Sequence
120:11      Constant:
130:11        0.000000
140:12      Branch: Return with expression
150:12        Constant:
160:12          0.000000
170:12          0.000000
180:12          0.000000
190:12          0.000000
200:9  Function Definition: main( ( temp void)
210:9    Function Parameters: 
220:?     Sequence
230:9      move second child to first child ( temp 4-component vector of float)
240:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
250:9        Function Call: @main( ( temp 4-component vector of float)
260:?   Linker Objects
270:?     'buf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint @data})
280:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
29
30
31Linked fragment stage:
32
33
34Shader version: 500
35gl_FragCoord origin is upper left
36ERROR: node is still EOpNull!
370:9  Function Definition: @main( ( temp 4-component vector of float)
380:9    Function Parameters: 
390:?     Sequence
400:11      Constant:
410:11        0.000000
420:12      Branch: Return with expression
430:12        Constant:
440:12          0.000000
450:12          0.000000
460:12          0.000000
470:12          0.000000
480:9  Function Definition: main( ( temp void)
490:9    Function Parameters: 
500:?     Sequence
510:9      move second child to first child ( temp 4-component vector of float)
520:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
530:9        Function Call: @main( ( temp 4-component vector of float)
540:?   Linker Objects
550:?     'buf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint @data})
560:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
57
58SPIR-V is not generated for failed compile or link