Unverified Commit 0bb930fc by John Kessenich Committed by GitHub

Merge pull request #1613 from alegal-arm/types

Rename GL_KHX_shader_explicit_arithmetic_types to GL_EXT_shader_expli…
parents 667506a5 32def9f4
...@@ -54,8 +54,8 @@ ERROR: 0:244: ':' : wrong operand types: no operation ':' exists that takes a l ...@@ -54,8 +54,8 @@ ERROR: 0:244: ':' : wrong operand types: no operation ':' exists that takes a l
ERROR: 0:245: ':' : wrong operand types: no operation ':' exists that takes a left-hand operand of type ' const int' and a right operand of type ' global void' (or there is no acceptable conversion) ERROR: 0:245: ':' : wrong operand types: no operation ':' exists that takes a left-hand operand of type ' const int' and a right operand of type ' global void' (or there is no acceptable conversion)
ERROR: 0:248: 'half floating-point suffix' : required extension not requested: Possible extensions include: ERROR: 0:248: 'half floating-point suffix' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:248: '' : syntax error, unexpected IDENTIFIER, expecting COMMA or SEMICOLON ERROR: 0:248: '' : syntax error, unexpected IDENTIFIER, expecting COMMA or SEMICOLON
ERROR: 55 compilation errors. No code generated. ERROR: 55 compilation errors. No code generated.
......
constantUnaryConversion.comp constantUnaryConversion.comp
Shader version: 450 Shader version: 450
Requested GL_KHX_shader_explicit_arithmetic_types Requested GL_EXT_shader_explicit_arithmetic_types
local_size = (1, 1, 1) local_size = (1, 1, 1)
0:? Sequence 0:? Sequence
0:48 Function Definition: main( ( global void) 0:48 Function Definition: main( ( global void)
...@@ -324,7 +324,7 @@ Linked compute stage: ...@@ -324,7 +324,7 @@ Linked compute stage:
Shader version: 450 Shader version: 450
Requested GL_KHX_shader_explicit_arithmetic_types Requested GL_EXT_shader_explicit_arithmetic_types
local_size = (1, 1, 1) local_size = (1, 1, 1)
0:? Sequence 0:? Sequence
0:48 Function Definition: main( ( global void) 0:48 Function Definition: main( ( global void)
......
...@@ -11,7 +11,7 @@ ERROR: 8 compilation errors. No code generated. ...@@ -11,7 +11,7 @@ ERROR: 8 compilation errors. No code generated.
Shader version: 450 Shader version: 450
Requested GL_KHX_shader_explicit_arithmetic_types Requested GL_EXT_shader_explicit_arithmetic_types
ERROR: node is still EOpNull! ERROR: node is still EOpNull!
0:5 Function Definition: func(i81;i161;i161; ( global int64_t) 0:5 Function Definition: func(i81;i161;i161; ( global int64_t)
0:5 Function Parameters: 0:5 Function Parameters:
...@@ -137,7 +137,7 @@ Linked fragment stage: ...@@ -137,7 +137,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
Requested GL_KHX_shader_explicit_arithmetic_types Requested GL_EXT_shader_explicit_arithmetic_types
ERROR: node is still EOpNull! ERROR: node is still EOpNull!
0:10 Function Definition: func(i81;i161;i1; ( global int64_t) 0:10 Function Definition: func(i81;i161;i1; ( global int64_t)
0:10 Function Parameters: 0:10 Function Parameters:
......
spv.16bitstorage_Error-int.frag spv.16bitstorage_Error-int.frag
ERROR: 0:54: 'structure: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:54: 'structure: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:58: 'return: can't use with structs containing int16' : required extension not requested: Possible extensions include: ERROR: 0:58: 'return: can't use with structs containing int16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:61: 'int16_t: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:61: 'int16_t: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:74: '[: does not operate on types containing (u)int16' : required extension not requested: Possible extensions include: ERROR: 0:74: '[: does not operate on types containing (u)int16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:75: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include: ERROR: 0:75: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:77: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:77: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:77: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:77: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:78: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform int16_t' (or there is no acceptable conversion) ERROR: 0:78: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform int16_t' (or there is no acceptable conversion)
ERROR: 0:79: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( column_major std140 offset=0) uniform int16_t (or there is no acceptable conversion) ERROR: 0:79: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( column_major std140 offset=0) uniform int16_t (or there is no acceptable conversion)
ERROR: 0:80: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int16_t' and a right operand of type ' const int' (or there is no acceptable conversion) ERROR: 0:80: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int16_t' and a right operand of type ' const int' (or there is no acceptable conversion)
ERROR: 0:81: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include: ERROR: 0:81: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:82: '=: can't use with structs containing int16' : required extension not requested: Possible extensions include: ERROR: 0:82: '=: can't use with structs containing int16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:83: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:83: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:84: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:84: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:85: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:85: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:86: '==' : wrong operand types: no operation '==' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform int16_t' (or there is no acceptable conversion) ERROR: 0:86: '==' : wrong operand types: no operation '==' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform int16_t' (or there is no acceptable conversion)
ERROR: 0:87: '=: can't use with arrays containing int16' : required extension not requested: Possible extensions include: ERROR: 0:87: '=: can't use with arrays containing int16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:88: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include: ERROR: 0:88: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:89: 'constructor: 16-bit arrays not supported' : required extension not requested: Possible extensions include: ERROR: 0:89: 'constructor: 16-bit arrays not supported' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:89: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include: ERROR: 0:89: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:92: 'constructor: can't construct structure containing 16-bit type' : required extension not requested: Possible extensions include: ERROR: 0:92: 'constructor: can't construct structure containing 16-bit type' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:93: 'func2' : no matching overloaded function found ERROR: 0:93: 'func2' : no matching overloaded function found
ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER
ERROR: 26 compilation errors. No code generated. ERROR: 26 compilation errors. No code generated.
......
spv.16bitstorage_Error-uint.frag spv.16bitstorage_Error-uint.frag
ERROR: 0:54: 'structure: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:54: 'structure: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:58: 'return: can't use with structs containing uint16' : required extension not requested: Possible extensions include: ERROR: 0:58: 'return: can't use with structs containing uint16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:61: 'uint16_t: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:61: 'uint16_t: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:74: '[: does not operate on types containing (u)int16' : required extension not requested: Possible extensions include: ERROR: 0:74: '[: does not operate on types containing (u)int16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:75: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include: ERROR: 0:75: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:77: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:77: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:77: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:77: 'built-in function: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:78: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform uint16_t' (or there is no acceptable conversion) ERROR: 0:78: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform uint16_t' (or there is no acceptable conversion)
ERROR: 0:79: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( column_major std140 offset=0) uniform uint16_t (or there is no acceptable conversion) ERROR: 0:79: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( column_major std140 offset=0) uniform uint16_t (or there is no acceptable conversion)
ERROR: 0:80: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint16_t' and a right operand of type ' const int' (or there is no acceptable conversion) ERROR: 0:80: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint16_t' and a right operand of type ' const int' (or there is no acceptable conversion)
ERROR: 0:81: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include: ERROR: 0:81: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:82: '=: can't use with structs containing uint16' : required extension not requested: Possible extensions include: ERROR: 0:82: '=: can't use with structs containing uint16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:83: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:83: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:84: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:84: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:85: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:85: 'qualifier: (u)int16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:86: '==' : wrong operand types: no operation '==' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform uint16_t' (or there is no acceptable conversion) ERROR: 0:86: '==' : wrong operand types: no operation '==' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform uint16_t' (or there is no acceptable conversion)
ERROR: 0:87: '=: can't use with arrays containing uint16' : required extension not requested: Possible extensions include: ERROR: 0:87: '=: can't use with arrays containing uint16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:88: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include: ERROR: 0:88: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:89: 'constructor: 16-bit arrays not supported' : required extension not requested: Possible extensions include: ERROR: 0:89: 'constructor: 16-bit arrays not supported' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:89: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include: ERROR: 0:89: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:92: 'constructor: can't construct structure containing 16-bit type' : required extension not requested: Possible extensions include: ERROR: 0:92: 'constructor: can't construct structure containing 16-bit type' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_int16 GL_AMD_gpu_shader_int16
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int16 GL_EXT_shader_explicit_arithmetic_types_int16
ERROR: 0:93: 'func2' : no matching overloaded function found ERROR: 0:93: 'func2' : no matching overloaded function found
ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER
ERROR: 26 compilation errors. No code generated. ERROR: 26 compilation errors. No code generated.
......
spv.16bitstorage_Error.frag spv.16bitstorage_Error.frag
ERROR: 0:54: 'structure: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:54: 'structure: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:58: 'return: can't use with structs containing float16' : required extension not requested: Possible extensions include: ERROR: 0:58: 'return: can't use with structs containing float16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:61: 'float16_t: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:61: 'float16_t: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:74: '[: does not operate on types containing float16' : required extension not requested: Possible extensions include: ERROR: 0:74: '[: does not operate on types containing float16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:75: '.: can't swizzle types containing float16' : required extension not requested: Possible extensions include: ERROR: 0:75: '.: can't swizzle types containing float16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:76: 'built-in function: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:76: 'built-in function: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:76: 'built-in function: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:77: 'built-in function: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:77: 'built-in function: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:77: 'built-in function: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:77: 'built-in function: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:78: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform float16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform float16_t' (or there is no acceptable conversion) ERROR: 0:78: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform float16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform float16_t' (or there is no acceptable conversion)
ERROR: 0:79: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( column_major std140 offset=0) uniform float16_t (or there is no acceptable conversion) ERROR: 0:79: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( column_major std140 offset=0) uniform float16_t (or there is no acceptable conversion)
ERROR: 0:80: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform float16_t' and a right operand of type ' const float' (or there is no acceptable conversion) ERROR: 0:80: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform float16_t' and a right operand of type ' const float' (or there is no acceptable conversion)
ERROR: 0:81: '.: can't swizzle types containing float16' : required extension not requested: Possible extensions include: ERROR: 0:81: '.: can't swizzle types containing float16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:82: '=: can't use with structs containing float16' : required extension not requested: Possible extensions include: ERROR: 0:82: '=: can't use with structs containing float16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:83: 'qualifier: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:83: 'qualifier: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:84: 'qualifier: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:84: 'qualifier: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:85: 'qualifier: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:85: 'qualifier: float16 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:86: '==' : wrong operand types: no operation '==' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform float16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform float16_t' (or there is no acceptable conversion) ERROR: 0:86: '==' : wrong operand types: no operation '==' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform float16_t' and a right operand of type 'layout( column_major std140 offset=0) uniform float16_t' (or there is no acceptable conversion)
ERROR: 0:87: '=: can't use with arrays containing float16' : required extension not requested: Possible extensions include: ERROR: 0:87: '=: can't use with arrays containing float16' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:88: 'half floating-point suffix' : required extension not requested: Possible extensions include: ERROR: 0:88: 'half floating-point suffix' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:88: 'half float literal' : required extension not requested: Possible extensions include: ERROR: 0:88: 'half float literal' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:89: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include: ERROR: 0:89: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:90: 'constructor: 16-bit arrays not supported' : required extension not requested: Possible extensions include: ERROR: 0:90: 'constructor: 16-bit arrays not supported' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:90: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include: ERROR: 0:90: 'constructor: 16-bit vectors only take vector types' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:93: 'constructor: can't construct structure containing 16-bit type' : required extension not requested: Possible extensions include: ERROR: 0:93: 'constructor: can't construct structure containing 16-bit type' : required extension not requested: Possible extensions include:
GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_float16 GL_EXT_shader_explicit_arithmetic_types_float16
ERROR: 0:94: 'func2' : no matching overloaded function found ERROR: 0:94: 'func2' : no matching overloaded function found
ERROR: 0:100: '' : syntax error, unexpected IDENTIFIER ERROR: 0:100: '' : syntax error, unexpected IDENTIFIER
ERROR: 28 compilation errors. No code generated. ERROR: 28 compilation errors. No code generated.
......
spv.8bitstorage_Error-int.frag spv.8bitstorage_Error-int.frag
ERROR: 0:54: 'structure: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:54: 'structure: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:58: 'return: can't use with structs containing int8' : required extension not requested: Possible extensions include: ERROR: 0:58: 'return: can't use with structs containing int8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:61: 'int8_t: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:61: 'int8_t: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:74: '[: does not operate on types containing (u)int8' : required extension not requested: Possible extensions include: ERROR: 0:74: '[: does not operate on types containing (u)int8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:75: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include: ERROR: 0:75: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:78: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int8_t' and a right operand of type 'layout( column_major std140 offset=0) uniform int8_t' (or there is no acceptable conversion) ERROR: 0:78: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int8_t' and a right operand of type 'layout( column_major std140 offset=0) uniform int8_t' (or there is no acceptable conversion)
ERROR: 0:79: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( column_major std140 offset=0) uniform int8_t (or there is no acceptable conversion) ERROR: 0:79: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( column_major std140 offset=0) uniform int8_t (or there is no acceptable conversion)
ERROR: 0:80: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int8_t' and a right operand of type ' const int' (or there is no acceptable conversion) ERROR: 0:80: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int8_t' and a right operand of type ' const int' (or there is no acceptable conversion)
ERROR: 0:81: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include: ERROR: 0:81: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:82: '=: can't use with structs containing int8' : required extension not requested: Possible extensions include: ERROR: 0:82: '=: can't use with structs containing int8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:83: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:83: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:84: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:84: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:85: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:85: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:86: '==' : wrong operand types: no operation '==' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int8_t' and a right operand of type 'layout( column_major std140 offset=0) uniform int8_t' (or there is no acceptable conversion) ERROR: 0:86: '==' : wrong operand types: no operation '==' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform int8_t' and a right operand of type 'layout( column_major std140 offset=0) uniform int8_t' (or there is no acceptable conversion)
ERROR: 0:87: '=: can't use with arrays containing int8' : required extension not requested: Possible extensions include: ERROR: 0:87: '=: can't use with arrays containing int8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:88: 'constructor: 8-bit vectors only take vector types' : required extension not requested: Possible extensions include: ERROR: 0:88: 'constructor: 8-bit vectors only take vector types' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:89: 'constructor: 8-bit arrays not supported' : required extension not requested: Possible extensions include: ERROR: 0:89: 'constructor: 8-bit arrays not supported' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:89: 'constructor: 8-bit vectors only take vector types' : required extension not requested: Possible extensions include: ERROR: 0:89: 'constructor: 8-bit vectors only take vector types' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:92: 'constructor: can't construct structure containing 8-bit type' : required extension not requested: Possible extensions include: ERROR: 0:92: 'constructor: can't construct structure containing 8-bit type' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:93: 'func2' : no matching overloaded function found ERROR: 0:93: 'func2' : no matching overloaded function found
ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER
ERROR: 26 compilation errors. No code generated. ERROR: 26 compilation errors. No code generated.
......
spv.8bitstorage_Error-uint.frag spv.8bitstorage_Error-uint.frag
ERROR: 0:54: 'structure: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:54: 'structure: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:58: 'return: can't use with structs containing uint8' : required extension not requested: Possible extensions include: ERROR: 0:58: 'return: can't use with structs containing uint8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:61: 'uint8_t: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:61: 'uint8_t: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:74: '[: does not operate on types containing (u)int8' : required extension not requested: Possible extensions include: ERROR: 0:74: '[: does not operate on types containing (u)int8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:75: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include: ERROR: 0:75: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:78: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint8_t' and a right operand of type 'layout( column_major std140 offset=0) uniform uint8_t' (or there is no acceptable conversion) ERROR: 0:78: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint8_t' and a right operand of type 'layout( column_major std140 offset=0) uniform uint8_t' (or there is no acceptable conversion)
ERROR: 0:79: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( column_major std140 offset=0) uniform uint8_t (or there is no acceptable conversion) ERROR: 0:79: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( column_major std140 offset=0) uniform uint8_t (or there is no acceptable conversion)
ERROR: 0:80: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint8_t' and a right operand of type ' const int' (or there is no acceptable conversion) ERROR: 0:80: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint8_t' and a right operand of type ' const int' (or there is no acceptable conversion)
ERROR: 0:81: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include: ERROR: 0:81: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:82: '=: can't use with structs containing uint8' : required extension not requested: Possible extensions include: ERROR: 0:82: '=: can't use with structs containing uint8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:83: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:83: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:84: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:84: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:85: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include: ERROR: 0:85: 'qualifier: (u)int8 types can only be in uniform block or buffer storage' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:86: '==' : wrong operand types: no operation '==' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint8_t' and a right operand of type 'layout( column_major std140 offset=0) uniform uint8_t' (or there is no acceptable conversion) ERROR: 0:86: '==' : wrong operand types: no operation '==' exists that takes a left-hand operand of type 'layout( column_major std140 offset=0) uniform uint8_t' and a right operand of type 'layout( column_major std140 offset=0) uniform uint8_t' (or there is no acceptable conversion)
ERROR: 0:87: '=: can't use with arrays containing uint8' : required extension not requested: Possible extensions include: ERROR: 0:87: '=: can't use with arrays containing uint8' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:88: 'constructor: 8-bit vectors only take vector types' : required extension not requested: Possible extensions include: ERROR: 0:88: 'constructor: 8-bit vectors only take vector types' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:89: 'constructor: 8-bit arrays not supported' : required extension not requested: Possible extensions include: ERROR: 0:89: 'constructor: 8-bit arrays not supported' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:89: 'constructor: 8-bit vectors only take vector types' : required extension not requested: Possible extensions include: ERROR: 0:89: 'constructor: 8-bit vectors only take vector types' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:92: 'constructor: can't construct structure containing 8-bit type' : required extension not requested: Possible extensions include: ERROR: 0:92: 'constructor: can't construct structure containing 8-bit type' : required extension not requested: Possible extensions include:
GL_KHX_shader_explicit_arithmetic_types GL_EXT_shader_explicit_arithmetic_types
GL_KHX_shader_explicit_arithmetic_types_int8 GL_EXT_shader_explicit_arithmetic_types_int8
ERROR: 0:93: 'func2' : no matching overloaded function found ERROR: 0:93: 'func2' : no matching overloaded function found
ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER
ERROR: 26 compilation errors. No code generated. ERROR: 26 compilation errors. No code generated.
......
...@@ -19,14 +19,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require ...@@ -19,14 +19,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main"
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Source GLSL 450 Source GLSL 450
SourceExtension "GL_KHX_shader_explicit_arithmetic_types" SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
Name 4 "main" Name 4 "main"
Name 6 "literal(" Name 6 "literal("
Name 8 "typeCast8(" Name 8 "typeCast8("
......
...@@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require ...@@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
EntryPoint Fragment 4 "main" 471 EntryPoint Fragment 4 "main" 471
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Source GLSL 450 Source GLSL 450
SourceExtension "GL_KHX_shader_explicit_arithmetic_types" SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
Name 4 "main" Name 4 "main"
Name 6 "literal(" Name 6 "literal("
Name 8 "operators(" Name 8 "operators("
......
...@@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require ...@@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
EntryPoint Fragment 4 "main" 461 EntryPoint Fragment 4 "main" 461
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Source GLSL 450 Source GLSL 450
SourceExtension "GL_KHX_shader_explicit_arithmetic_types" SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
Name 4 "main" Name 4 "main"
Name 6 "literal(" Name 6 "literal("
Name 8 "operators(" Name 8 "operators("
......
...@@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.0 specification (or require ...@@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.0 specification (or require
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main"
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Source GLSL 450 Source GLSL 450
SourceExtension "GL_KHX_shader_explicit_arithmetic_types" SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
Name 4 "main" Name 4 "main"
Name 6 "literal(" Name 6 "literal("
Name 8 "typeCast16(" Name 8 "typeCast16("
......
...@@ -18,14 +18,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require ...@@ -18,14 +18,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main"
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Source GLSL 450 Source GLSL 450
SourceExtension "GL_KHX_shader_explicit_arithmetic_types" SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
Name 4 "main" Name 4 "main"
Name 6 "literal(" Name 6 "literal("
Name 8 "typeCast32(" Name 8 "typeCast32("
......
...@@ -16,7 +16,7 @@ error: OpDecorate SpecId decoration target <id> '1' is not a scalar specializati ...@@ -16,7 +16,7 @@ error: OpDecorate SpecId decoration target <id> '1' is not a scalar specializati
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Source GLSL 450 Source GLSL 450
SourceExtension "GL_ARB_gpu_shader_int64" SourceExtension "GL_ARB_gpu_shader_int64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
Name 4 "main" Name 4 "main"
Name 6 "literal(" Name 6 "literal("
Name 8 "typeCast(" Name 8 "typeCast("
......
...@@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require ...@@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main"
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Source GLSL 450 Source GLSL 450
SourceExtension "GL_KHX_shader_explicit_arithmetic_types" SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
Name 4 "main" Name 4 "main"
Name 6 "literal(" Name 6 "literal("
Name 8 "typeCast8(" Name 8 "typeCast8("
......
...@@ -19,14 +19,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require ...@@ -19,14 +19,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
EntryPoint Fragment 4 "main" EntryPoint Fragment 4 "main"
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
Source GLSL 450 Source GLSL 450
SourceExtension "GL_KHX_shader_explicit_arithmetic_types" SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8" SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
Name 4 "main" Name 4 "main"
Name 6 "literal(" Name 6 "literal("
Name 8 "typeCast16(" Name 8 "typeCast16("
......
stringToDouble.vert stringToDouble.vert
Shader version: 460 Shader version: 460
Requested GL_KHX_shader_explicit_arithmetic_types_float16 Requested GL_EXT_shader_explicit_arithmetic_types_float16
0:? Sequence 0:? Sequence
0:3 Function Definition: main( ( global void) 0:3 Function Definition: main( ( global void)
0:3 Function Parameters: 0:3 Function Parameters:
...@@ -524,7 +524,7 @@ Linked vertex stage: ...@@ -524,7 +524,7 @@ Linked vertex stage:
Shader version: 460 Shader version: 460
Requested GL_KHX_shader_explicit_arithmetic_types_float16 Requested GL_EXT_shader_explicit_arithmetic_types_float16
0:? Sequence 0:? Sequence
0:3 Function Definition: main( ( global void) 0:3 Function Definition: main( ( global void)
0:3 Function Parameters: 0:3 Function Parameters:
......
#version 450 #version 450
#extension GL_KHX_shader_explicit_arithmetic_types : require #extension GL_EXT_shader_explicit_arithmetic_types : require
const bool bool_init = true; const bool bool_init = true;
const int8_t int8_t_init = int8_t(-1); const int8_t int8_t_init = int8_t(-1);
......
#version 450 #version 450
#extension GL_KHX_shader_explicit_arithmetic_types: enable #extension GL_EXT_shader_explicit_arithmetic_types: enable
int64_t func(int8_t a, int16_t b, int16_t c) int64_t func(int8_t a, int16_t b, int16_t c)
{ {
......
#version 450 #version 450
#extension GL_KHX_shader_explicit_arithmetic_types: enable #extension GL_EXT_shader_explicit_arithmetic_types: enable
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require #extension GL_EXT_shader_explicit_arithmetic_types_int8: require
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require #extension GL_EXT_shader_explicit_arithmetic_types_int16: require
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require #extension GL_EXT_shader_explicit_arithmetic_types_int32: require
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require #extension GL_EXT_shader_explicit_arithmetic_types_int64: require
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require #extension GL_EXT_shader_explicit_arithmetic_types_float16: require
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require #extension GL_EXT_shader_explicit_arithmetic_types_float32: require
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require #extension GL_EXT_shader_explicit_arithmetic_types_float64: require
layout(binding = 0) uniform Uniforms layout(binding = 0) uniform Uniforms
{ {
......
#version 450 #version 450
#extension GL_KHX_shader_explicit_arithmetic_types: enable #extension GL_EXT_shader_explicit_arithmetic_types: enable
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require #extension GL_EXT_shader_explicit_arithmetic_types_int8: require
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require #extension GL_EXT_shader_explicit_arithmetic_types_int16: require
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require #extension GL_EXT_shader_explicit_arithmetic_types_int32: require
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require #extension GL_EXT_shader_explicit_arithmetic_types_int64: require
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require #extension GL_EXT_shader_explicit_arithmetic_types_float16: require
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require #extension GL_EXT_shader_explicit_arithmetic_types_float32: require
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require #extension GL_EXT_shader_explicit_arithmetic_types_float64: require
void main() void main()
{ {
......
#version 450 #version 450
#extension GL_KHX_shader_explicit_arithmetic_types: enable #extension GL_EXT_shader_explicit_arithmetic_types: enable
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require #extension GL_EXT_shader_explicit_arithmetic_types_int8: require
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require #extension GL_EXT_shader_explicit_arithmetic_types_int16: require
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require #extension GL_EXT_shader_explicit_arithmetic_types_int32: require
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require #extension GL_EXT_shader_explicit_arithmetic_types_int64: require
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require #extension GL_EXT_shader_explicit_arithmetic_types_float16: require
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require #extension GL_EXT_shader_explicit_arithmetic_types_float32: require
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require #extension GL_EXT_shader_explicit_arithmetic_types_float64: require
void main() void main()
{ {
......
#version 450 #version 450
#extension GL_KHX_shader_explicit_arithmetic_types: enable #extension GL_EXT_shader_explicit_arithmetic_types: enable
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require #extension GL_EXT_shader_explicit_arithmetic_types_int8: require
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require #extension GL_EXT_shader_explicit_arithmetic_types_int16: require
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require #extension GL_EXT_shader_explicit_arithmetic_types_int32: require
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require #extension GL_EXT_shader_explicit_arithmetic_types_int64: require
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require #extension GL_EXT_shader_explicit_arithmetic_types_float16: require
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require #extension GL_EXT_shader_explicit_arithmetic_types_float32: require
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require #extension GL_EXT_shader_explicit_arithmetic_types_float64: require
layout(binding = 0) uniform Uniforms layout(binding = 0) uniform Uniforms
{ {
......
#version 450 #version 450
#extension GL_KHX_shader_explicit_arithmetic_types: enable #extension GL_EXT_shader_explicit_arithmetic_types: enable
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require #extension GL_EXT_shader_explicit_arithmetic_types_int8: require
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require #extension GL_EXT_shader_explicit_arithmetic_types_int16: require
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require #extension GL_EXT_shader_explicit_arithmetic_types_int32: require
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require #extension GL_EXT_shader_explicit_arithmetic_types_int64: require
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require #extension GL_EXT_shader_explicit_arithmetic_types_float16: require
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require #extension GL_EXT_shader_explicit_arithmetic_types_float32: require
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require #extension GL_EXT_shader_explicit_arithmetic_types_float64: require
layout(binding = 0) uniform Uniforms layout(binding = 0) uniform Uniforms
{ {
......
#version 450 #version 450
#extension GL_ARB_gpu_shader_int64: enable #extension GL_ARB_gpu_shader_int64: enable
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require #extension GL_EXT_shader_explicit_arithmetic_types_int64: require
layout(binding = 0) uniform Uniforms layout(binding = 0) uniform Uniforms
{ {
......
#version 450 #version 450
#extension GL_KHX_shader_explicit_arithmetic_types: enable #extension GL_EXT_shader_explicit_arithmetic_types: enable
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require #extension GL_EXT_shader_explicit_arithmetic_types_int8: require
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require #extension GL_EXT_shader_explicit_arithmetic_types_int16: require
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require #extension GL_EXT_shader_explicit_arithmetic_types_int32: require
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require #extension GL_EXT_shader_explicit_arithmetic_types_int64: require
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require #extension GL_EXT_shader_explicit_arithmetic_types_float16: require
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require #extension GL_EXT_shader_explicit_arithmetic_types_float32: require
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require #extension GL_EXT_shader_explicit_arithmetic_types_float64: require
layout(binding = 0) uniform Uniforms layout(binding = 0) uniform Uniforms
{ {
......
#version 450 #version 450
#extension GL_KHX_shader_explicit_arithmetic_types: enable #extension GL_EXT_shader_explicit_arithmetic_types: enable
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require #extension GL_EXT_shader_explicit_arithmetic_types_int8: require
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require #extension GL_EXT_shader_explicit_arithmetic_types_int16: require
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require #extension GL_EXT_shader_explicit_arithmetic_types_int32: require
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require #extension GL_EXT_shader_explicit_arithmetic_types_int64: require
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require #extension GL_EXT_shader_explicit_arithmetic_types_float16: require
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require #extension GL_EXT_shader_explicit_arithmetic_types_float32: require
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require #extension GL_EXT_shader_explicit_arithmetic_types_float64: require
layout(binding = 0) uniform Uniforms layout(binding = 0) uniform Uniforms
{ {
......
#version 460 #version 460
#extension GL_KHX_shader_explicit_arithmetic_types_float16 : enable #extension GL_EXT_shader_explicit_arithmetic_types_float16 : enable
void main() void main()
{ {
float w1 = 00000.000; float w1 = 00000.000;
......
...@@ -907,28 +907,28 @@ TIntermTyped* TIntermediate::addConversion(TOperator op, const TType& type, TInt ...@@ -907,28 +907,28 @@ TIntermTyped* TIntermediate::addConversion(TOperator op, const TType& type, TInt
break; break;
case EOpConstructFloat16: case EOpConstructFloat16:
promoteTo = EbtFloat16; promoteTo = EbtFloat16;
canPromoteConstant = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) || canPromoteConstant = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_float16); extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_float16);
break; break;
case EOpConstructInt8: case EOpConstructInt8:
promoteTo = EbtInt8; promoteTo = EbtInt8;
canPromoteConstant = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) || canPromoteConstant = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int8); extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int8);
break; break;
case EOpConstructUint8: case EOpConstructUint8:
promoteTo = EbtUint8; promoteTo = EbtUint8;
canPromoteConstant = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) || canPromoteConstant = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int8); extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int8);
break; break;
case EOpConstructInt16: case EOpConstructInt16:
promoteTo = EbtInt16; promoteTo = EbtInt16;
canPromoteConstant = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) || canPromoteConstant = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int16); extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int16);
break; break;
case EOpConstructUint16: case EOpConstructUint16:
promoteTo = EbtUint16; promoteTo = EbtUint16;
canPromoteConstant = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) || canPromoteConstant = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int16); extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int16);
break; break;
case EOpConstructInt: case EOpConstructInt:
promoteTo = EbtInt; promoteTo = EbtInt;
...@@ -1485,14 +1485,14 @@ bool TIntermediate::canImplicitlyPromote(TBasicType from, TBasicType to, TOperat ...@@ -1485,14 +1485,14 @@ bool TIntermediate::canImplicitlyPromote(TBasicType from, TBasicType to, TOperat
} }
} }
bool explicitTypesEnabled = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) || bool explicitTypesEnabled = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int8) || extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int8) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int16) || extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int16) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int32) || extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int32) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int64) || extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int64) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_float16) || extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_float16) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_float32) || extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_float32) ||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_float64); extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_float64);
if (explicitTypesEnabled) { if (explicitTypesEnabled) {
// integral promotions // integral promotions
......
...@@ -5750,14 +5750,14 @@ const TFunction* TParseContext::findFunction(const TSourceLoc& loc, const TFunct ...@@ -5750,14 +5750,14 @@ const TFunction* TParseContext::findFunction(const TSourceLoc& loc, const TFunct
return nullptr; return nullptr;
} }
bool explicitTypesEnabled = extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) || bool explicitTypesEnabled = extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int8) || extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8) ||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int16) || extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16) ||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int32) || extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32) ||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int64) || extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64) ||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float16) || extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16) ||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float32) || extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32) ||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float64); extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64);
if (profile == EEsProfile || version < 120) if (profile == EEsProfile || version < 120)
function = findFunctionExact(loc, call, builtIn); function = findFunctionExact(loc, call, builtIn);
......
...@@ -471,7 +471,7 @@ void TScanContext::fillInKeywordMap() ...@@ -471,7 +471,7 @@ void TScanContext::fillInKeywordMap()
(*KeywordMap)["u64vec3"] = U64VEC3; (*KeywordMap)["u64vec3"] = U64VEC3;
(*KeywordMap)["u64vec4"] = U64VEC4; (*KeywordMap)["u64vec4"] = U64VEC4;
// GL_KHX_shader_explicit_arithmetic_types // GL_EXT_shader_explicit_arithmetic_types
(*KeywordMap)["int8_t"] = INT8_T; (*KeywordMap)["int8_t"] = INT8_T;
(*KeywordMap)["i8vec2"] = I8VEC2; (*KeywordMap)["i8vec2"] = I8VEC2;
(*KeywordMap)["i8vec3"] = I8VEC3; (*KeywordMap)["i8vec3"] = I8VEC3;
...@@ -1133,8 +1133,8 @@ int TScanContext::tokenizeIdentifier() ...@@ -1133,8 +1133,8 @@ int TScanContext::tokenizeIdentifier()
if (parseContext.symbolTable.atBuiltInLevel() || if (parseContext.symbolTable.atBuiltInLevel() ||
(parseContext.profile != EEsProfile && parseContext.version >= 450 && (parseContext.profile != EEsProfile && parseContext.version >= 450 &&
(parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_int64) || (parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_int64) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) || parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int64)))) parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64))))
return keyword; return keyword;
return identifierOrType(); return identifierOrType();
...@@ -1148,9 +1148,9 @@ int TScanContext::tokenizeIdentifier() ...@@ -1148,9 +1148,9 @@ int TScanContext::tokenizeIdentifier()
case U8VEC4: case U8VEC4:
afterType = true; afterType = true;
if (parseContext.symbolTable.atBuiltInLevel() || if (parseContext.symbolTable.atBuiltInLevel() ||
((parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) || ((parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
parseContext.extensionTurnedOn(E_GL_EXT_shader_8bit_storage) || parseContext.extensionTurnedOn(E_GL_EXT_shader_8bit_storage) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int8)) && parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8)) &&
parseContext.profile != EEsProfile && parseContext.version >= 450)) parseContext.profile != EEsProfile && parseContext.version >= 450))
return keyword; return keyword;
return identifierOrType(); return identifierOrType();
...@@ -1171,8 +1171,8 @@ int TScanContext::tokenizeIdentifier() ...@@ -1171,8 +1171,8 @@ int TScanContext::tokenizeIdentifier()
parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_int16) || parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_int16) ||
#endif #endif
parseContext.extensionTurnedOn(E_GL_EXT_shader_16bit_storage) || parseContext.extensionTurnedOn(E_GL_EXT_shader_16bit_storage) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) || parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int16)))) parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16))))
return keyword; return keyword;
return identifierOrType(); return identifierOrType();
case INT32_T: case INT32_T:
...@@ -1185,8 +1185,8 @@ int TScanContext::tokenizeIdentifier() ...@@ -1185,8 +1185,8 @@ int TScanContext::tokenizeIdentifier()
case U32VEC4: case U32VEC4:
afterType = true; afterType = true;
if (parseContext.symbolTable.atBuiltInLevel() || if (parseContext.symbolTable.atBuiltInLevel() ||
((parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) || ((parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int32)) && parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32)) &&
parseContext.profile != EEsProfile && parseContext.version >= 450)) parseContext.profile != EEsProfile && parseContext.version >= 450))
return keyword; return keyword;
return identifierOrType(); return identifierOrType();
...@@ -1208,8 +1208,8 @@ int TScanContext::tokenizeIdentifier() ...@@ -1208,8 +1208,8 @@ int TScanContext::tokenizeIdentifier()
case F32MAT4X4: case F32MAT4X4:
afterType = true; afterType = true;
if (parseContext.symbolTable.atBuiltInLevel() || if (parseContext.symbolTable.atBuiltInLevel() ||
((parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) || ((parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float32)) && parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32)) &&
parseContext.profile != EEsProfile && parseContext.version >= 450)) parseContext.profile != EEsProfile && parseContext.version >= 450))
return keyword; return keyword;
return identifierOrType(); return identifierOrType();
...@@ -1232,8 +1232,8 @@ int TScanContext::tokenizeIdentifier() ...@@ -1232,8 +1232,8 @@ int TScanContext::tokenizeIdentifier()
case F64MAT4X4: case F64MAT4X4:
afterType = true; afterType = true;
if (parseContext.symbolTable.atBuiltInLevel() || if (parseContext.symbolTable.atBuiltInLevel() ||
((parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) || ((parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float64)) && parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64)) &&
parseContext.profile != EEsProfile && parseContext.version >= 450)) parseContext.profile != EEsProfile && parseContext.version >= 450))
return keyword; return keyword;
return identifierOrType(); return identifierOrType();
...@@ -1250,8 +1250,8 @@ int TScanContext::tokenizeIdentifier() ...@@ -1250,8 +1250,8 @@ int TScanContext::tokenizeIdentifier()
parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float) || parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float) ||
#endif #endif
parseContext.extensionTurnedOn(E_GL_EXT_shader_16bit_storage) || parseContext.extensionTurnedOn(E_GL_EXT_shader_16bit_storage) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) || parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float16)))) parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16))))
return keyword; return keyword;
return identifierOrType(); return identifierOrType();
...@@ -1275,8 +1275,8 @@ int TScanContext::tokenizeIdentifier() ...@@ -1275,8 +1275,8 @@ int TScanContext::tokenizeIdentifier()
#ifdef AMD_EXTENSIONS #ifdef AMD_EXTENSIONS
parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float) || parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float) ||
#endif #endif
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) || parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float16)))) parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16))))
return keyword; return keyword;
return identifierOrType(); return identifierOrType();
......
...@@ -251,14 +251,14 @@ const char* const E_GL_OES_texture_buffer = "GL_OES_textur ...@@ -251,14 +251,14 @@ const char* const E_GL_OES_texture_buffer = "GL_OES_textur
const char* const E_GL_OES_texture_cube_map_array = "GL_OES_texture_cube_map_array"; const char* const E_GL_OES_texture_cube_map_array = "GL_OES_texture_cube_map_array";
// KHX // KHX
const char* const E_GL_KHX_shader_explicit_arithmetic_types = "GL_KHX_shader_explicit_arithmetic_types"; const char* const E_GL_EXT_shader_explicit_arithmetic_types = "GL_EXT_shader_explicit_arithmetic_types";
const char* const E_GL_KHX_shader_explicit_arithmetic_types_int8 = "GL_KHX_shader_explicit_arithmetic_types_int8"; const char* const E_GL_EXT_shader_explicit_arithmetic_types_int8 = "GL_EXT_shader_explicit_arithmetic_types_int8";
const char* const E_GL_KHX_shader_explicit_arithmetic_types_int16 = "GL_KHX_shader_explicit_arithmetic_types_int16"; const char* const E_GL_EXT_shader_explicit_arithmetic_types_int16 = "GL_EXT_shader_explicit_arithmetic_types_int16";
const char* const E_GL_KHX_shader_explicit_arithmetic_types_int32 = "GL_KHX_shader_explicit_arithmetic_types_int32"; const char* const E_GL_EXT_shader_explicit_arithmetic_types_int32 = "GL_EXT_shader_explicit_arithmetic_types_int32";
const char* const E_GL_KHX_shader_explicit_arithmetic_types_int64 = "GL_KHX_shader_explicit_arithmetic_types_int64"; const char* const E_GL_EXT_shader_explicit_arithmetic_types_int64 = "GL_EXT_shader_explicit_arithmetic_types_int64";
const char* const E_GL_KHX_shader_explicit_arithmetic_types_float16 = "GL_KHX_shader_explicit_arithmetic_types_float16"; const char* const E_GL_EXT_shader_explicit_arithmetic_types_float16 = "GL_EXT_shader_explicit_arithmetic_types_float16";
const char* const E_GL_KHX_shader_explicit_arithmetic_types_float32 = "GL_KHX_shader_explicit_arithmetic_types_float32"; const char* const E_GL_EXT_shader_explicit_arithmetic_types_float32 = "GL_EXT_shader_explicit_arithmetic_types_float32";
const char* const E_GL_KHX_shader_explicit_arithmetic_types_float64 = "GL_KHX_shader_explicit_arithmetic_types_float64"; const char* const E_GL_EXT_shader_explicit_arithmetic_types_float64 = "GL_EXT_shader_explicit_arithmetic_types_float64";
// Arrays of extensions for the above AEP duplications // Arrays of extensions for the above AEP duplications
......
...@@ -446,16 +446,16 @@ int TPpContext::tStringInput::scan(TPpToken* ppToken) ...@@ -446,16 +446,16 @@ int TPpContext::tStringInput::scan(TPpToken* ppToken)
static const char* const Int64_Extensions[] = { static const char* const Int64_Extensions[] = {
E_GL_ARB_gpu_shader_int64, E_GL_ARB_gpu_shader_int64,
E_GL_KHX_shader_explicit_arithmetic_types, E_GL_EXT_shader_explicit_arithmetic_types,
E_GL_KHX_shader_explicit_arithmetic_types_int64 }; E_GL_EXT_shader_explicit_arithmetic_types_int64 };
static const int Num_Int64_Extensions = sizeof(Int64_Extensions) / sizeof(Int64_Extensions[0]); static const int Num_Int64_Extensions = sizeof(Int64_Extensions) / sizeof(Int64_Extensions[0]);
static const char* const Int16_Extensions[] = { static const char* const Int16_Extensions[] = {
#ifdef AMD_EXTENSIONS #ifdef AMD_EXTENSIONS
E_GL_AMD_gpu_shader_int16, E_GL_AMD_gpu_shader_int16,
#endif #endif
E_GL_KHX_shader_explicit_arithmetic_types, E_GL_EXT_shader_explicit_arithmetic_types,
E_GL_KHX_shader_explicit_arithmetic_types_int16 }; E_GL_EXT_shader_explicit_arithmetic_types_int16 };
static const int Num_Int16_Extensions = sizeof(Int16_Extensions) / sizeof(Int16_Extensions[0]); static const int Num_Int16_Extensions = sizeof(Int16_Extensions) / sizeof(Int16_Extensions[0]);
ppToken->ival = 0; ppToken->ival = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment