yum-mirror/glslang

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

tniblerReject string operands in binary and select ops (#4077) (#4079)8c056be6

main
1.5 KiB40 linesraw
1stringInvalidOps.frag
2ERROR: 0:5: ':' :  wrong operand types: no operation ':' exists that takes a left-hand operand of type ' const string' and a right operand of type ' const string' (or there is no acceptable conversion)
3ERROR: 0:6: '+' :  wrong operand types: no operation '+' exists that takes a left-hand operand of type ' const string' and a right operand of type ' const string' (or there is no acceptable conversion)
4ERROR: 0:7: '*' :  wrong operand types: no operation '*' exists that takes a left-hand operand of type ' const string' and a right operand of type ' const string' (or there is no acceptable conversion)
5ERROR: 0:7: '+' :  wrong operand types: no operation '+' exists that takes a left-hand operand of type ' const string' and a right operand of type ' const string' (or there is no acceptable conversion)
6ERROR: 4 compilation errors.  No code generated.
7
8
9Shader version: 450
10Requested GL_EXT_debug_printf
11ERROR: node is still EOpNull!
120:4  Function Definition: main( ( global void)
130:4    Function Parameters: 
140:5    Sequence
150:5      Constant:
160:5        "def"
170:6      Constant:
180:6        "o"
190:7      Constant:
200:7        "o"
210:?   Linker Objects
22
23
24Linked fragment stage:
25
26
27Shader version: 450
28Requested GL_EXT_debug_printf
29ERROR: node is still EOpNull!
300:4  Function Definition: main( ( global void)
310:4    Function Parameters: 
320:5    Sequence
330:5      Constant:
340:5        "def"
350:6      Constant:
360:6        "o"
370:7      Constant:
380:7        "o"
390:?   Linker Objects
40