mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
Rename GL_KHX_shader_explicit_arithmetic_types to GL_EXT_shader_explicit_arithmetic_types
This commit is contained in:
parent
667506a5ea
commit
32def9f467
@ -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:248: 'half floating-point suffix' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_float16
|
||||
ERROR: 0:248: '' : syntax error, unexpected IDENTIFIER, expecting COMMA or SEMICOLON
|
||||
ERROR: 55 compilation errors. No code generated.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
constantUnaryConversion.comp
|
||||
Shader version: 450
|
||||
Requested GL_KHX_shader_explicit_arithmetic_types
|
||||
Requested GL_EXT_shader_explicit_arithmetic_types
|
||||
local_size = (1, 1, 1)
|
||||
0:? Sequence
|
||||
0:48 Function Definition: main( ( global void)
|
||||
@ -324,7 +324,7 @@ Linked compute stage:
|
||||
|
||||
|
||||
Shader version: 450
|
||||
Requested GL_KHX_shader_explicit_arithmetic_types
|
||||
Requested GL_EXT_shader_explicit_arithmetic_types
|
||||
local_size = (1, 1, 1)
|
||||
0:? Sequence
|
||||
0:48 Function Definition: main( ( global void)
|
||||
|
@ -11,7 +11,7 @@ ERROR: 8 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 450
|
||||
Requested GL_KHX_shader_explicit_arithmetic_types
|
||||
Requested GL_EXT_shader_explicit_arithmetic_types
|
||||
ERROR: node is still EOpNull!
|
||||
0:5 Function Definition: func(i81;i161;i161; ( global int64_t)
|
||||
0:5 Function Parameters:
|
||||
@ -137,7 +137,7 @@ Linked fragment stage:
|
||||
|
||||
|
||||
Shader version: 450
|
||||
Requested GL_KHX_shader_explicit_arithmetic_types
|
||||
Requested GL_EXT_shader_explicit_arithmetic_types
|
||||
ERROR: node is still EOpNull!
|
||||
0:10 Function Definition: func(i81;i161;i1; ( global int64_t)
|
||||
0:10 Function Parameters:
|
||||
|
@ -1,88 +1,88 @@
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int16
|
||||
ERROR: 0:75: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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: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:81: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int16
|
||||
ERROR: 0:82: '=: can't use with structs containing int16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:87: '=: can't use with arrays containing int16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int16
|
||||
ERROR: 0:89: 'constructor: 16-bit arrays not supported' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int16
|
||||
ERROR: 0:93: 'func2' : no matching overloaded function found
|
||||
ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER
|
||||
ERROR: 26 compilation errors. No code generated.
|
||||
|
@ -1,88 +1,88 @@
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int16
|
||||
ERROR: 0:75: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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: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:81: '.: can't swizzle types containing (u)int16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int16
|
||||
ERROR: 0:82: '=: can't use with structs containing uint16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:87: '=: can't use with arrays containing uint16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int16
|
||||
ERROR: 0:89: 'constructor: 16-bit arrays not supported' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_int16
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int16
|
||||
ERROR: 0:93: 'func2' : no matching overloaded function found
|
||||
ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER
|
||||
ERROR: 26 compilation errors. No code generated.
|
||||
|
@ -1,96 +1,96 @@
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_float16
|
||||
ERROR: 0:74: '[: does not operate on types containing float16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_float16
|
||||
ERROR: 0:75: '.: can't swizzle types containing float16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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: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:81: '.: can't swizzle types containing float16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_float16
|
||||
ERROR: 0:82: '=: can't use with structs containing float16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:87: '=: can't use with arrays containing float16' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_float16
|
||||
ERROR: 0:88: 'half floating-point suffix' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_float16
|
||||
ERROR: 0:88: 'half float literal' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_float16
|
||||
ERROR: 0:90: 'constructor: 16-bit arrays not supported' : required extension not requested: Possible extensions include:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_AMD_gpu_shader_half_float
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_float16
|
||||
ERROR: 0:94: 'func2' : no matching overloaded function found
|
||||
ERROR: 0:100: '' : syntax error, unexpected IDENTIFIER
|
||||
ERROR: 28 compilation errors. No code generated.
|
||||
|
@ -1,68 +1,68 @@
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int8
|
||||
ERROR: 0:75: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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: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:81: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int8
|
||||
ERROR: 0:82: '=: can't use with structs containing int8' : required extension not requested: Possible extensions include:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:87: '=: can't use with arrays containing int8' : required extension not requested: Possible extensions include:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int8
|
||||
ERROR: 0:89: 'constructor: 8-bit arrays not supported' : required extension not requested: Possible extensions include:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int8
|
||||
ERROR: 0:93: 'func2' : no matching overloaded function found
|
||||
ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER
|
||||
ERROR: 26 compilation errors. No code generated.
|
||||
|
@ -1,68 +1,68 @@
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int8
|
||||
ERROR: 0:75: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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: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:81: '.: can't swizzle types containing (u)int8' : required extension not requested: Possible extensions include:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int8
|
||||
ERROR: 0:82: '=: can't use with structs containing uint8' : required extension not requested: Possible extensions include:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:87: '=: can't use with arrays containing uint8' : required extension not requested: Possible extensions include:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int8
|
||||
ERROR: 0:89: 'constructor: 8-bit arrays not supported' : required extension not requested: Possible extensions include:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
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:
|
||||
GL_KHX_shader_explicit_arithmetic_types
|
||||
GL_KHX_shader_explicit_arithmetic_types_int8
|
||||
GL_EXT_shader_explicit_arithmetic_types
|
||||
GL_EXT_shader_explicit_arithmetic_types_int8
|
||||
ERROR: 0:93: 'func2' : no matching overloaded function found
|
||||
ERROR: 0:99: '' : syntax error, unexpected IDENTIFIER
|
||||
ERROR: 26 compilation errors. No code generated.
|
||||
|
@ -19,14 +19,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
|
||||
EntryPoint Fragment 4 "main"
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
|
||||
Name 4 "main"
|
||||
Name 6 "literal("
|
||||
Name 8 "typeCast8("
|
||||
|
@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
|
||||
EntryPoint Fragment 4 "main" 471
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
|
||||
Name 4 "main"
|
||||
Name 6 "literal("
|
||||
Name 8 "operators("
|
||||
|
@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
|
||||
EntryPoint Fragment 4 "main" 461
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
|
||||
Name 4 "main"
|
||||
Name 6 "literal("
|
||||
Name 8 "operators("
|
||||
|
@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.0 specification (or require
|
||||
EntryPoint Fragment 4 "main"
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
|
||||
Name 4 "main"
|
||||
Name 6 "literal("
|
||||
Name 8 "typeCast16("
|
||||
|
@ -18,14 +18,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
|
||||
EntryPoint Fragment 4 "main"
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
|
||||
Name 4 "main"
|
||||
Name 6 "literal("
|
||||
Name 8 "typeCast32("
|
||||
|
@ -16,7 +16,7 @@ error: OpDecorate SpecId decoration target <id> '1' is not a scalar specializati
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
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 6 "literal("
|
||||
Name 8 "typeCast("
|
||||
|
@ -20,14 +20,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
|
||||
EntryPoint Fragment 4 "main"
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
|
||||
Name 4 "main"
|
||||
Name 6 "literal("
|
||||
Name 8 "typeCast8("
|
||||
|
@ -19,14 +19,14 @@ error: Capability Float16 is not allowed by Vulkan 1.1 specification (or require
|
||||
EntryPoint Fragment 4 "main"
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
|
||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
|
||||
Name 4 "main"
|
||||
Name 6 "literal("
|
||||
Name 8 "typeCast16("
|
||||
|
@ -1,6 +1,6 @@
|
||||
stringToDouble.vert
|
||||
Shader version: 460
|
||||
Requested GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
Requested GL_EXT_shader_explicit_arithmetic_types_float16
|
||||
0:? Sequence
|
||||
0:3 Function Definition: main( ( global void)
|
||||
0:3 Function Parameters:
|
||||
@ -524,7 +524,7 @@ Linked vertex stage:
|
||||
|
||||
|
||||
Shader version: 460
|
||||
Requested GL_KHX_shader_explicit_arithmetic_types_float16
|
||||
Requested GL_EXT_shader_explicit_arithmetic_types_float16
|
||||
0:? Sequence
|
||||
0:3 Function Definition: main( ( global void)
|
||||
0:3 Function Parameters:
|
||||
|
@ -1,6 +1,6 @@
|
||||
#version 450
|
||||
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types : require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types : require
|
||||
|
||||
const bool bool_init = true;
|
||||
const int8_t int8_t_init = int8_t(-1);
|
||||
|
@ -1,6 +1,6 @@
|
||||
#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)
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
#version 450
|
||||
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float64: require
|
||||
|
||||
layout(binding = 0) uniform Uniforms
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
#version 450
|
||||
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float64: require
|
||||
|
||||
void main()
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
#version 450
|
||||
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float64: require
|
||||
|
||||
void main()
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
#version 450
|
||||
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float64: require
|
||||
|
||||
layout(binding = 0) uniform Uniforms
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
#version 450
|
||||
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float64: require
|
||||
|
||||
layout(binding = 0) uniform Uniforms
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#version 450
|
||||
|
||||
#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
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
#version 450
|
||||
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float64: require
|
||||
|
||||
layout(binding = 0) uniform Uniforms
|
||||
{
|
||||
|
@ -1,13 +1,13 @@
|
||||
#version 450
|
||||
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types: enable
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int8: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_int64: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float16: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float32: require
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float64: require
|
||||
|
||||
layout(binding = 0) uniform Uniforms
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
#version 460
|
||||
#extension GL_KHX_shader_explicit_arithmetic_types_float16 : enable
|
||||
#extension GL_EXT_shader_explicit_arithmetic_types_float16 : enable
|
||||
void main()
|
||||
{
|
||||
float w1 = 00000.000;
|
||||
|
@ -907,28 +907,28 @@ TIntermTyped* TIntermediate::addConversion(TOperator op, const TType& type, TInt
|
||||
break;
|
||||
case EOpConstructFloat16:
|
||||
promoteTo = EbtFloat16;
|
||||
canPromoteConstant = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_float16);
|
||||
canPromoteConstant = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_float16);
|
||||
break;
|
||||
case EOpConstructInt8:
|
||||
promoteTo = EbtInt8;
|
||||
canPromoteConstant = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int8);
|
||||
canPromoteConstant = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int8);
|
||||
break;
|
||||
case EOpConstructUint8:
|
||||
promoteTo = EbtUint8;
|
||||
canPromoteConstant = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int8);
|
||||
canPromoteConstant = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int8);
|
||||
break;
|
||||
case EOpConstructInt16:
|
||||
promoteTo = EbtInt16;
|
||||
canPromoteConstant = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int16);
|
||||
canPromoteConstant = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int16);
|
||||
break;
|
||||
case EOpConstructUint16:
|
||||
promoteTo = EbtUint16;
|
||||
canPromoteConstant = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int16);
|
||||
canPromoteConstant = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int16);
|
||||
break;
|
||||
case EOpConstructInt:
|
||||
promoteTo = EbtInt;
|
||||
@ -1485,14 +1485,14 @@ bool TIntermediate::canImplicitlyPromote(TBasicType from, TBasicType to, TOperat
|
||||
}
|
||||
}
|
||||
|
||||
bool explicitTypesEnabled = extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int8) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int16) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int32) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_int64) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_float16) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_float32) ||
|
||||
extensionRequested(E_GL_KHX_shader_explicit_arithmetic_types_float64);
|
||||
bool explicitTypesEnabled = extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int8) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int16) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int32) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_int64) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_float16) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_float32) ||
|
||||
extensionRequested(E_GL_EXT_shader_explicit_arithmetic_types_float64);
|
||||
|
||||
if (explicitTypesEnabled) {
|
||||
// integral promotions
|
||||
|
@ -5750,14 +5750,14 @@ const TFunction* TParseContext::findFunction(const TSourceLoc& loc, const TFunct
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool explicitTypesEnabled = extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int8) ||
|
||||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int16) ||
|
||||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int32) ||
|
||||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int64) ||
|
||||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float16) ||
|
||||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float32) ||
|
||||
extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float64);
|
||||
bool explicitTypesEnabled = extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8) ||
|
||||
extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16) ||
|
||||
extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32) ||
|
||||
extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64) ||
|
||||
extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16) ||
|
||||
extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32) ||
|
||||
extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64);
|
||||
|
||||
if (profile == EEsProfile || version < 120)
|
||||
function = findFunctionExact(loc, call, builtIn);
|
||||
|
@ -471,7 +471,7 @@ void TScanContext::fillInKeywordMap()
|
||||
(*KeywordMap)["u64vec3"] = U64VEC3;
|
||||
(*KeywordMap)["u64vec4"] = U64VEC4;
|
||||
|
||||
// GL_KHX_shader_explicit_arithmetic_types
|
||||
// GL_EXT_shader_explicit_arithmetic_types
|
||||
(*KeywordMap)["int8_t"] = INT8_T;
|
||||
(*KeywordMap)["i8vec2"] = I8VEC2;
|
||||
(*KeywordMap)["i8vec3"] = I8VEC3;
|
||||
@ -1133,8 +1133,8 @@ int TScanContext::tokenizeIdentifier()
|
||||
if (parseContext.symbolTable.atBuiltInLevel() ||
|
||||
(parseContext.profile != EEsProfile && parseContext.version >= 450 &&
|
||||
(parseContext.extensionTurnedOn(E_GL_ARB_gpu_shader_int64) ||
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int64))))
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64))))
|
||||
return keyword;
|
||||
return identifierOrType();
|
||||
|
||||
@ -1148,9 +1148,9 @@ int TScanContext::tokenizeIdentifier()
|
||||
case U8VEC4:
|
||||
afterType = true;
|
||||
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_KHX_shader_explicit_arithmetic_types_int8)) &&
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8)) &&
|
||||
parseContext.profile != EEsProfile && parseContext.version >= 450))
|
||||
return keyword;
|
||||
return identifierOrType();
|
||||
@ -1171,8 +1171,8 @@ int TScanContext::tokenizeIdentifier()
|
||||
parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_int16) ||
|
||||
#endif
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_16bit_storage) ||
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int16))))
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16))))
|
||||
return keyword;
|
||||
return identifierOrType();
|
||||
case INT32_T:
|
||||
@ -1185,8 +1185,8 @@ int TScanContext::tokenizeIdentifier()
|
||||
case U32VEC4:
|
||||
afterType = true;
|
||||
if (parseContext.symbolTable.atBuiltInLevel() ||
|
||||
((parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_int32)) &&
|
||||
((parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32)) &&
|
||||
parseContext.profile != EEsProfile && parseContext.version >= 450))
|
||||
return keyword;
|
||||
return identifierOrType();
|
||||
@ -1208,8 +1208,8 @@ int TScanContext::tokenizeIdentifier()
|
||||
case F32MAT4X4:
|
||||
afterType = true;
|
||||
if (parseContext.symbolTable.atBuiltInLevel() ||
|
||||
((parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float32)) &&
|
||||
((parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32)) &&
|
||||
parseContext.profile != EEsProfile && parseContext.version >= 450))
|
||||
return keyword;
|
||||
return identifierOrType();
|
||||
@ -1232,8 +1232,8 @@ int TScanContext::tokenizeIdentifier()
|
||||
case F64MAT4X4:
|
||||
afterType = true;
|
||||
if (parseContext.symbolTable.atBuiltInLevel() ||
|
||||
((parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float64)) &&
|
||||
((parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64)) &&
|
||||
parseContext.profile != EEsProfile && parseContext.version >= 450))
|
||||
return keyword;
|
||||
return identifierOrType();
|
||||
@ -1250,8 +1250,8 @@ int TScanContext::tokenizeIdentifier()
|
||||
parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float) ||
|
||||
#endif
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_16bit_storage) ||
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float16))))
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16))))
|
||||
return keyword;
|
||||
|
||||
return identifierOrType();
|
||||
@ -1275,8 +1275,8 @@ int TScanContext::tokenizeIdentifier()
|
||||
#ifdef AMD_EXTENSIONS
|
||||
parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float) ||
|
||||
#endif
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_KHX_shader_explicit_arithmetic_types_float16))))
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
|
||||
parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16))))
|
||||
return keyword;
|
||||
|
||||
return identifierOrType();
|
||||
|
@ -282,14 +282,14 @@ void TParseVersions::initializeExtensionBehavior()
|
||||
extensionBehavior[E_GL_OVR_multiview2] = EBhDisable;
|
||||
|
||||
// explicit types
|
||||
extensionBehavior[E_GL_KHX_shader_explicit_arithmetic_types] = EBhDisable;
|
||||
extensionBehavior[E_GL_KHX_shader_explicit_arithmetic_types_int8] = EBhDisable;
|
||||
extensionBehavior[E_GL_KHX_shader_explicit_arithmetic_types_int16] = EBhDisable;
|
||||
extensionBehavior[E_GL_KHX_shader_explicit_arithmetic_types_int32] = EBhDisable;
|
||||
extensionBehavior[E_GL_KHX_shader_explicit_arithmetic_types_int64] = EBhDisable;
|
||||
extensionBehavior[E_GL_KHX_shader_explicit_arithmetic_types_float16] = EBhDisable;
|
||||
extensionBehavior[E_GL_KHX_shader_explicit_arithmetic_types_float32] = EBhDisable;
|
||||
extensionBehavior[E_GL_KHX_shader_explicit_arithmetic_types_float64] = EBhDisable;
|
||||
extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types] = EBhDisable;
|
||||
extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int8] = EBhDisable;
|
||||
extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int16] = EBhDisable;
|
||||
extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int32] = EBhDisable;
|
||||
extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_int64] = EBhDisable;
|
||||
extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_float16] = EBhDisable;
|
||||
extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_float32] = EBhDisable;
|
||||
extensionBehavior[E_GL_EXT_shader_explicit_arithmetic_types_float64] = EBhDisable;
|
||||
}
|
||||
|
||||
// Get code that is not part of a shared symbol table, is specific to this shader,
|
||||
@ -422,14 +422,14 @@ void TParseVersions::getPreamble(std::string& preamble)
|
||||
"#define GL_NV_shader_texture_footprint 1\n"
|
||||
"#define GL_NV_mesh_shader 1\n"
|
||||
#endif
|
||||
"#define GL_KHX_shader_explicit_arithmetic_types 1\n"
|
||||
"#define GL_KHX_shader_explicit_arithmetic_types_int8 1\n"
|
||||
"#define GL_KHX_shader_explicit_arithmetic_types_int16 1\n"
|
||||
"#define GL_KHX_shader_explicit_arithmetic_types_int32 1\n"
|
||||
"#define GL_KHX_shader_explicit_arithmetic_types_int64 1\n"
|
||||
"#define GL_KHX_shader_explicit_arithmetic_types_float16 1\n"
|
||||
"#define GL_KHX_shader_explicit_arithmetic_types_float32 1\n"
|
||||
"#define GL_KHX_shader_explicit_arithmetic_types_float64 1\n"
|
||||
"#define GL_EXT_shader_explicit_arithmetic_types 1\n"
|
||||
"#define GL_EXT_shader_explicit_arithmetic_types_int8 1\n"
|
||||
"#define GL_EXT_shader_explicit_arithmetic_types_int16 1\n"
|
||||
"#define GL_EXT_shader_explicit_arithmetic_types_int32 1\n"
|
||||
"#define GL_EXT_shader_explicit_arithmetic_types_int64 1\n"
|
||||
"#define GL_EXT_shader_explicit_arithmetic_types_float16 1\n"
|
||||
"#define GL_EXT_shader_explicit_arithmetic_types_float32 1\n"
|
||||
"#define GL_EXT_shader_explicit_arithmetic_types_float64 1\n"
|
||||
;
|
||||
|
||||
if (version >= 150) {
|
||||
@ -877,8 +877,8 @@ void TParseVersions::float16Check(const TSourceLoc& loc, const char* op, bool bu
|
||||
#if AMD_EXTENSIONS
|
||||
E_GL_AMD_gpu_shader_half_float,
|
||||
#endif
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_float16};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_float16};
|
||||
requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
|
||||
}
|
||||
}
|
||||
@ -889,8 +889,8 @@ bool TParseVersions::float16Arithmetic()
|
||||
#if AMD_EXTENSIONS
|
||||
E_GL_AMD_gpu_shader_half_float,
|
||||
#endif
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_float16};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_float16};
|
||||
return extensionsTurnedOn(sizeof(extensions)/sizeof(extensions[0]), extensions);
|
||||
}
|
||||
|
||||
@ -900,16 +900,16 @@ bool TParseVersions::int16Arithmetic()
|
||||
#if AMD_EXTENSIONS
|
||||
E_GL_AMD_gpu_shader_int16,
|
||||
#endif
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int16};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int16};
|
||||
return extensionsTurnedOn(sizeof(extensions)/sizeof(extensions[0]), extensions);
|
||||
}
|
||||
|
||||
bool TParseVersions::int8Arithmetic()
|
||||
{
|
||||
const char* const extensions[] = {
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int8};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int8};
|
||||
return extensionsTurnedOn(sizeof(extensions)/sizeof(extensions[0]), extensions);
|
||||
}
|
||||
|
||||
@ -924,8 +924,8 @@ void TParseVersions::requireFloat16Arithmetic(const TSourceLoc& loc, const char*
|
||||
#if AMD_EXTENSIONS
|
||||
E_GL_AMD_gpu_shader_half_float,
|
||||
#endif
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_float16};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_float16};
|
||||
requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, combined.c_str());
|
||||
}
|
||||
|
||||
@ -940,8 +940,8 @@ void TParseVersions::requireInt16Arithmetic(const TSourceLoc& loc, const char* o
|
||||
#if AMD_EXTENSIONS
|
||||
E_GL_AMD_gpu_shader_int16,
|
||||
#endif
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int16};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int16};
|
||||
requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, combined.c_str());
|
||||
}
|
||||
|
||||
@ -953,8 +953,8 @@ void TParseVersions::requireInt8Arithmetic(const TSourceLoc& loc, const char* op
|
||||
combined += featureDesc;
|
||||
|
||||
const char* const extensions[] = {
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int8};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int8};
|
||||
requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, combined.c_str());
|
||||
}
|
||||
|
||||
@ -966,8 +966,8 @@ void TParseVersions::float16ScalarVectorCheck(const TSourceLoc& loc, const char*
|
||||
E_GL_AMD_gpu_shader_half_float,
|
||||
#endif
|
||||
E_GL_EXT_shader_16bit_storage,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_float16};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_float16};
|
||||
requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
|
||||
}
|
||||
}
|
||||
@ -976,8 +976,8 @@ void TParseVersions::float16ScalarVectorCheck(const TSourceLoc& loc, const char*
|
||||
void TParseVersions::explicitFloat32Check(const TSourceLoc& loc, const char* op, bool builtIn)
|
||||
{
|
||||
if (!builtIn) {
|
||||
const char* const extensions[2] = {E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_float32};
|
||||
const char* const extensions[2] = {E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_float32};
|
||||
requireExtensions(loc, 2, extensions, op);
|
||||
}
|
||||
}
|
||||
@ -986,8 +986,8 @@ void TParseVersions::explicitFloat32Check(const TSourceLoc& loc, const char* op,
|
||||
void TParseVersions::explicitFloat64Check(const TSourceLoc& loc, const char* op, bool builtIn)
|
||||
{
|
||||
if (!builtIn) {
|
||||
const char* const extensions[2] = {E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_float64};
|
||||
const char* const extensions[2] = {E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_float64};
|
||||
requireExtensions(loc, 2, extensions, op);
|
||||
requireProfile(loc, ECoreProfile | ECompatibilityProfile, op);
|
||||
profileRequires(loc, ECoreProfile | ECompatibilityProfile, 400, nullptr, op);
|
||||
@ -998,8 +998,8 @@ void TParseVersions::explicitFloat64Check(const TSourceLoc& loc, const char* op,
|
||||
void TParseVersions::explicitInt8Check(const TSourceLoc& loc, const char* op, bool builtIn)
|
||||
{
|
||||
if (! builtIn) {
|
||||
const char* const extensions[2] = {E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int8};
|
||||
const char* const extensions[2] = {E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int8};
|
||||
requireExtensions(loc, 2, extensions, op);
|
||||
}
|
||||
}
|
||||
@ -1024,8 +1024,8 @@ void TParseVersions::explicitInt16Check(const TSourceLoc& loc, const char* op, b
|
||||
#if AMD_EXTENSIONS
|
||||
E_GL_AMD_gpu_shader_int16,
|
||||
#endif
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int16};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int16};
|
||||
requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
|
||||
}
|
||||
}
|
||||
@ -1038,8 +1038,8 @@ void TParseVersions::int16ScalarVectorCheck(const TSourceLoc& loc, const char* o
|
||||
E_GL_AMD_gpu_shader_int16,
|
||||
#endif
|
||||
E_GL_EXT_shader_16bit_storage,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int16};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int16};
|
||||
requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
|
||||
}
|
||||
}
|
||||
@ -1049,8 +1049,8 @@ void TParseVersions::int8ScalarVectorCheck(const TSourceLoc& loc, const char* op
|
||||
if (! builtIn) {
|
||||
const char* const extensions[] = {
|
||||
E_GL_EXT_shader_8bit_storage,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int8};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int8};
|
||||
requireExtensions(loc, sizeof(extensions)/sizeof(extensions[0]), extensions, op);
|
||||
}
|
||||
}
|
||||
@ -1059,8 +1059,8 @@ void TParseVersions::int8ScalarVectorCheck(const TSourceLoc& loc, const char* op
|
||||
void TParseVersions::explicitInt32Check(const TSourceLoc& loc, const char* op, bool builtIn)
|
||||
{
|
||||
if (! builtIn) {
|
||||
const char* const extensions[2] = {E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int32};
|
||||
const char* const extensions[2] = {E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int32};
|
||||
requireExtensions(loc, 2, extensions, op);
|
||||
}
|
||||
}
|
||||
@ -1070,8 +1070,8 @@ void TParseVersions::int64Check(const TSourceLoc& loc, const char* op, bool buil
|
||||
{
|
||||
if (! builtIn) {
|
||||
const char* const extensions[3] = {E_GL_ARB_gpu_shader_int64,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int64};
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int64};
|
||||
requireExtensions(loc, 3, extensions, op);
|
||||
requireProfile(loc, ECoreProfile | ECompatibilityProfile, op);
|
||||
profileRequires(loc, ECoreProfile | ECompatibilityProfile, 400, nullptr, op);
|
||||
|
@ -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";
|
||||
|
||||
// KHX
|
||||
const char* const E_GL_KHX_shader_explicit_arithmetic_types = "GL_KHX_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_KHX_shader_explicit_arithmetic_types_int16 = "GL_KHX_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_KHX_shader_explicit_arithmetic_types_int64 = "GL_KHX_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_KHX_shader_explicit_arithmetic_types_float32 = "GL_KHX_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 = "GL_EXT_shader_explicit_arithmetic_types";
|
||||
const char* const E_GL_EXT_shader_explicit_arithmetic_types_int8 = "GL_EXT_shader_explicit_arithmetic_types_int8";
|
||||
const char* const E_GL_EXT_shader_explicit_arithmetic_types_int16 = "GL_EXT_shader_explicit_arithmetic_types_int16";
|
||||
const char* const E_GL_EXT_shader_explicit_arithmetic_types_int32 = "GL_EXT_shader_explicit_arithmetic_types_int32";
|
||||
const char* const E_GL_EXT_shader_explicit_arithmetic_types_int64 = "GL_EXT_shader_explicit_arithmetic_types_int64";
|
||||
const char* const E_GL_EXT_shader_explicit_arithmetic_types_float16 = "GL_EXT_shader_explicit_arithmetic_types_float16";
|
||||
const char* const E_GL_EXT_shader_explicit_arithmetic_types_float32 = "GL_EXT_shader_explicit_arithmetic_types_float32";
|
||||
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
|
||||
|
||||
|
@ -446,16 +446,16 @@ int TPpContext::tStringInput::scan(TPpToken* ppToken)
|
||||
|
||||
static const char* const Int64_Extensions[] = {
|
||||
E_GL_ARB_gpu_shader_int64,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int64 };
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int64 };
|
||||
static const int Num_Int64_Extensions = sizeof(Int64_Extensions) / sizeof(Int64_Extensions[0]);
|
||||
|
||||
static const char* const Int16_Extensions[] = {
|
||||
#ifdef AMD_EXTENSIONS
|
||||
E_GL_AMD_gpu_shader_int16,
|
||||
#endif
|
||||
E_GL_KHX_shader_explicit_arithmetic_types,
|
||||
E_GL_KHX_shader_explicit_arithmetic_types_int16 };
|
||||
E_GL_EXT_shader_explicit_arithmetic_types,
|
||||
E_GL_EXT_shader_explicit_arithmetic_types_int16 };
|
||||
static const int Num_Int16_Extensions = sizeof(Int16_Extensions) / sizeof(Int16_Extensions[0]);
|
||||
|
||||
ppToken->ival = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user