yum-mirror/glslang

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

alelenvFix bug in handling slice of array being passed cooperative matrix load/store functions and strengthen error checks. (#4007)8e12361e

main
3.1 KiB42 linesraw
1spv.coopmatKHR_Error.comp
2ERROR: 0:8: 'ftemplate16' : unexpected type parameters 
3ERROR: 0:10: '' : coopmat missing type parameters 
4ERROR: 0:10: 'fnoparams' : unexpected number type parameters 
5ERROR: 0:17: 'void' : coopmat invalid basic type 
6ERROR: 0:17: 'fbadtype' : expected 8, 16, 32, or 64 bit signed or unsigned integer or 16, 32, or 64 bit float type 
7ERROR: 0:17: 'fbadtype' : illegal use of type 'void' 
8ERROR: 0:18: '' : type parameter must be a constant integer expression
9ERROR: 0:18: 'void' : coopmat invalid basic type 
10ERROR: 0:18: '' : coopmat incorrect number of type parameters 
11ERROR: 0:18: 'fbadtype2' : unexpected number type parameters 
12ERROR: 0:18: 'fbadtype2' : expected 8, 16, 32, or 64 bit signed or unsigned integer or 16, 32, or 64 bit float type 
13ERROR: 0:18: 'fbadtype2' : illegal use of type 'void' 
14ERROR: 0:19: 'void' : coopmat invalid basic type 
15ERROR: 0:19: '' : coopmat incorrect number of type parameters 
16ERROR: 0:19: 'fbadtype3' : unexpected number type parameters 
17ERROR: 0:19: 'fbadtype3' : expected 8, 16, 32, or 64 bit signed or unsigned integer or 16, 32, or 64 bit float type 
18ERROR: 0:19: 'fbadtype3' : illegal use of type 'void' 
19ERROR: 0:21: '' : coopmat incorrect number of type parameters 
20ERROR: 0:21: 'fbadnumparams' : unexpected number type parameters 
21ERROR: 0:25: '' : type parameter must be a constant integer expression
22ERROR: 0:29: '' : coopmat incorrect number of type parameters 
23ERROR: 0:29: 'sharedmat' : unexpected number type parameters 
24ERROR: 0:29: 'Cooperative matrix types must not be used in shared memory' : qualifier 
25ERROR: 0:32: 'bufmat' : member of block cannot be or contain a cooperative matrix type 
26ERROR: 0:41: 'assign' :  cannot convert from ' temp coopmat<3, 16, 8, 0> float16_t' to ' temp coopmat<3, 16, 8, 0> float'
27ERROR: 0:42: 'assign' :  cannot convert from ' temp coopmat<3, 16, 8, 0> float16_t' to ' temp coopmat<3, 16, 8, 0> float'
28ERROR: 0:47: 'assign' :  cannot convert from ' temp coopmat<3, 8, 8, 0> float16_t' to ' temp coopmat<3, 16, 8, 0> float16_t'
29ERROR: 0:53: 'assign' :  cannot convert from ' temp coopmat<3, 8, 1, 0> float16_t' to ' temp coopmat<3, 8, 1, 0> float16_t'
30ERROR: 0:56: 'constructor' : too many arguments 
31ERROR: 0:56: 'assign' :  cannot convert from ' const float' to ' temp coopmat<3, 8, 8, 0> float16_t'
32ERROR: 0:60: 'constructor' : Cooperative matrix constructor argument must be scalar or cooperative matrix 
33ERROR: 0:60: '=' :  cannot convert from ' const float' to ' temp coopmat<3, 4, 4, 0> float'
34ERROR: 0:63: 'expression' :  left of '[' is not of type array, matrix, or vector  
35ERROR: 0:66: '.' : cannot apply to a cooperative matrix type: x
36ERROR: 0:68: 'transpose' : no matching overloaded function found 
37ERROR: 0:73: 'coopMatLoad' : Only l-values corresponding to storage block or shared variables can be used with cooperative matrix load/store functions. 
38ERROR: 0:74: 'coopMatStore' : Only l-values corresponding to storage block or shared variables can be used with cooperative matrix load/store functions. 
39ERROR: 37 compilation errors.  No code generated.
40
41
42SPIR-V is not generated for failed compile or link