Support the textureQueryLOD at #extension GL_ARB_texture_query_lod.
Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
This commit is contained in:
@@ -10,11 +10,11 @@ ERROR: 0:53: 'double' : must be qualified as flat in
|
||||
ERROR: 0:57: '=' : cannot convert from ' global double' to ' global int'
|
||||
ERROR: 0:80: 'floatBitsToInt' : required extension not requested: GL_ARB_shader_bit_encoding
|
||||
ERROR: 0:100: 'packSnorm2x16' : required extension not requested: GL_ARB_shading_language_packing
|
||||
ERROR: 0:114: 'textureQueryLod' : required extension not requested: GL_ARB_texture_query_lod
|
||||
ERROR: 0:115: 'textureQueryLod' : required extension not requested: GL_ARB_texture_query_lod
|
||||
ERROR: 0:154: 'textureQueryLod' : no matching overloaded function found
|
||||
ERROR: 0:114: 'textureQueryLOD' : required extension not requested: GL_ARB_texture_query_lod
|
||||
ERROR: 0:115: 'textureQueryLOD' : required extension not requested: GL_ARB_texture_query_lod
|
||||
ERROR: 0:154: 'textureQueryLOD' : no matching overloaded function found
|
||||
ERROR: 0:154: 'assign' : cannot convert from ' const float' to ' temp 2-component vector of float'
|
||||
ERROR: 0:155: 'textureQueryLod' : no matching overloaded function found
|
||||
ERROR: 0:155: 'textureQueryLOD' : no matching overloaded function found
|
||||
ERROR: 0:155: 'assign' : cannot convert from ' const float' to ' temp 2-component vector of float'
|
||||
ERROR: 0:183: 'mix' : required extension not requested: GL_EXT_shader_integer_mix
|
||||
ERROR: 18 compilation errors. No code generated.
|
||||
|
||||
115
Test/baseResults/textureQueryLOD.frag.out
Normal file
115
Test/baseResults/textureQueryLOD.frag.out
Normal file
@@ -0,0 +1,115 @@
|
||||
textureQueryLOD.frag
|
||||
WARNING: 0:7: '#extension' : extension is only partially supported: GL_ARB_gpu_shader5
|
||||
|
||||
Shader version: 150
|
||||
Requested GL_ARB_gpu_shader5
|
||||
Requested GL_ARB_texture_query_lod
|
||||
0:? Sequence
|
||||
0:24 Function Definition: main( ( global void)
|
||||
0:24 Function Parameters:
|
||||
0:26 Sequence
|
||||
0:26 switch
|
||||
0:26 condition
|
||||
0:26 'funct' ( uniform int)
|
||||
0:26 body
|
||||
0:26 Sequence
|
||||
0:28 case: with expression
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:? Sequence
|
||||
0:29 Sequence
|
||||
0:29 move second child to first child ( temp 2-component vector of int)
|
||||
0:29 'iv2' ( temp 2-component vector of int)
|
||||
0:29 textureSize ( global 2-component vector of int)
|
||||
0:29 'sampler' ( uniform sampler2DShadow)
|
||||
0:29 Constant:
|
||||
0:29 0 (const int)
|
||||
0:31 Sequence
|
||||
0:31 move second child to first child ( temp 2-component vector of float)
|
||||
0:31 'fv2' ( temp 2-component vector of float)
|
||||
0:31 textureQueryLod ( global 2-component vector of float)
|
||||
0:31 'sampler' ( uniform sampler2DShadow)
|
||||
0:31 Constant:
|
||||
0:31 0.000000
|
||||
0:31 0.000000
|
||||
0:33 move second child to first child ( temp 4-component vector of float)
|
||||
0:33 'color' ( out 4-component vector of float)
|
||||
0:33 Construct vec4 ( temp 4-component vector of float)
|
||||
0:33 Convert int to float ( temp 2-component vector of float)
|
||||
0:33 'iv2' ( temp 2-component vector of int)
|
||||
0:33 'fv2' ( temp 2-component vector of float)
|
||||
0:34 Branch: Break
|
||||
0:35 default:
|
||||
0:? Sequence
|
||||
0:36 move second child to first child ( temp 4-component vector of float)
|
||||
0:36 'color' ( out 4-component vector of float)
|
||||
0:36 Constant:
|
||||
0:36 1.000000
|
||||
0:36 1.000000
|
||||
0:36 1.000000
|
||||
0:36 1.000000
|
||||
0:37 Branch: Break
|
||||
0:? Linker Objects
|
||||
0:? 'vUV' ( smooth in 2-component vector of float)
|
||||
0:? 'color' ( out 4-component vector of float)
|
||||
0:? 'sampler' ( uniform sampler2DShadow)
|
||||
0:? 'funct' ( uniform int)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
Shader version: 150
|
||||
Requested GL_ARB_gpu_shader5
|
||||
Requested GL_ARB_texture_query_lod
|
||||
0:? Sequence
|
||||
0:24 Function Definition: main( ( global void)
|
||||
0:24 Function Parameters:
|
||||
0:26 Sequence
|
||||
0:26 switch
|
||||
0:26 condition
|
||||
0:26 'funct' ( uniform int)
|
||||
0:26 body
|
||||
0:26 Sequence
|
||||
0:28 case: with expression
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:? Sequence
|
||||
0:29 Sequence
|
||||
0:29 move second child to first child ( temp 2-component vector of int)
|
||||
0:29 'iv2' ( temp 2-component vector of int)
|
||||
0:29 textureSize ( global 2-component vector of int)
|
||||
0:29 'sampler' ( uniform sampler2DShadow)
|
||||
0:29 Constant:
|
||||
0:29 0 (const int)
|
||||
0:31 Sequence
|
||||
0:31 move second child to first child ( temp 2-component vector of float)
|
||||
0:31 'fv2' ( temp 2-component vector of float)
|
||||
0:31 textureQueryLod ( global 2-component vector of float)
|
||||
0:31 'sampler' ( uniform sampler2DShadow)
|
||||
0:31 Constant:
|
||||
0:31 0.000000
|
||||
0:31 0.000000
|
||||
0:33 move second child to first child ( temp 4-component vector of float)
|
||||
0:33 'color' ( out 4-component vector of float)
|
||||
0:33 Construct vec4 ( temp 4-component vector of float)
|
||||
0:33 Convert int to float ( temp 2-component vector of float)
|
||||
0:33 'iv2' ( temp 2-component vector of int)
|
||||
0:33 'fv2' ( temp 2-component vector of float)
|
||||
0:34 Branch: Break
|
||||
0:35 default:
|
||||
0:? Sequence
|
||||
0:36 move second child to first child ( temp 4-component vector of float)
|
||||
0:36 'color' ( out 4-component vector of float)
|
||||
0:36 Constant:
|
||||
0:36 1.000000
|
||||
0:36 1.000000
|
||||
0:36 1.000000
|
||||
0:36 1.000000
|
||||
0:37 Branch: Break
|
||||
0:? Linker Objects
|
||||
0:? 'vUV' ( smooth in 2-component vector of float)
|
||||
0:? 'color' ( out 4-component vector of float)
|
||||
0:? 'sampler' ( uniform sampler2DShadow)
|
||||
0:? 'funct' ( uniform int)
|
||||
|
||||
Reference in New Issue
Block a user