opengl shader yuv转rgb的问题

来源:互联网 发布:ubuntu文件备份命令 编辑:程序博客网 时间:2024/06/05 05:57

网上下了一个demo,可以成功运行。移植到另外一个工程就出问题,百思不得其解。

获取opengl版本


//! Print the opengl and glsl's version information;  
static void TEGlVersionInfo(void)  
{  
    const GLubyte* byteGlVersion = glGetString(GL_VERSION);  
    const GLubyte* byteGlVendor = glGetString(GL_VENDOR);  
    const GLubyte* byteGlRenderer = glGetString(GL_RENDERER);  
    const GLubyte* byteSLVersion = glGetString(GL_SHADING_LANGUAGE_VERSION);  


    
    sprintf(ch11,"INFO: GL_VERSION: %s\n",byteGlVersion);
OutputDebugString(ch11);
  
    sprintf(ch11,"INFO: GL_VENDOR: %s\n",byteGlVendor);
OutputDebugString(ch11);
  
    sprintf(ch11,"INFO: GL_RENDERER: %s\n",byteGlRenderer);
OutputDebugString(ch11);
  
    sprintf(ch11,"INFO: GL_SHADING_LANGUAGE_VERSION: %s\n",byteSLVersion);
OutputDebugString(ch11);

    sprintf(ch11,"INFO: GL_EXTENSIONS: %d:%s\n", strlen((char *)(glGetString(GL_EXTENSIONS))), glGetString(GL_EXTENSIONS));
OutputDebugString(ch11);




int NumberOfExtensions;  
glGetIntegerv(GL_NUM_EXTENSIONS, &NumberOfExtensions);  


    sprintf(ch11,"INFO: GL_EXTENSIONS_NUM: %d\n", NumberOfExtensions);
OutputDebugString(ch11);


for(int i=0; i<NumberOfExtensions; i++)  
{  
const GLubyte *ccc=glGetStringi(GL_EXTENSIONS, i);  
//Now, do something with ccc  
   sprintf(ch11,"INFO: GL_EXTENSIONS: %s\n", ccc);
OutputDebugString(ch11);
}  
}  



正常的结果:

INFO: GL_VERSION: 4.3.0 - Build 10.18.14.4294
INFO: GL_VENDOR: Intel
INFO: GL_RENDERER: Intel(R) HD Graphics 4600
INFO: GL_SHADING_LANGUAGE_VERSION: 4.30 - Build 10.18.14.4294
INFO: GL_EXTENSIONS: 4771:GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_blend_color GL_EXT_abgr GL_EXT_texture3D GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_SGIS_texture_edge_clamp GL_SGIS_generate_mipmap GL_EXT_draw_range_elements GL_SGIS_texture_lod GL_EXT_rescale_normal GL_EXT_packed_pixels GL_EXT_texture_edge_clamp GL_EXT_separate_specular_color GL_ARB_multitexture GL_ARB_map_buffer_alignment GL_ARB_conservative_depth GL_EXT_texture_env_combine GL_EXT_bgra GL_EXT_blend_func_separate GL_EXT_secondary_color GL_EXT_fog_coord GL_EXT_texture_env_add GL_ARB_texture_cube_map GL_ARB_transpose_matrix GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_texture_env_add GL_IBM_texture_mirrored_repeat GL_EXT_multi_draw_arrays GL_SUN_multi_draw_arrays GL_NV_blend_square GL_ARB_texture_compression GL_3DFX_texture_compression_FXT1 GL_EXT_texture_filter_anisotropic GL_ARB_texture_border_clamp GL_ARB_point_parameters GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_env_crossbar GL_EXT_texture_compression_s3tc GL_ARB_shadow GL_ARB_window_pos GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_ARB_vertex_program GL_EXT_texture_rectangle GL_ARB_fragment_program GL_EXT_stencil_two_side GL_ATI_separate_stencil GL_ARB_vertex_buffer_object GL_EXT_texture_lod_bias GL_ARB_occlusion_query GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_non_power_of_two GL_ARB_vertex_shader GL_NV_texgen_reflection GL_ARB_point_sprite GL_ARB_fragment_program_shadow GL_EXT_blend_equation_separate GL_ARB_depth_texture GL_ARB_texture_rectangle GL_ARB_draw_buffers GL_ARB_color_buffer_float GL_ARB_half_float_pixel GL_ARB_texture_float GL_ARB_pixel_buffer_object GL_EXT_framebuffer_object GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_occlusion_query2 GL_EXT_draw_buffers2 GL_WIN_swap_hint GL_EXT_texture_sRGB GL_ARB_multisample GL_EXT_packed_float GL_EXT_texture_shared_exponent GL_ARB_texture_rg GL_ARB_texture_compression_rgtc GL_NV_conditional_render GL_ARB_texture_swizzle GL_EXT_texture_swizzle GL_ARB_texture_gather GL_ARB_sync GL_ARB_cl_event GL_ARB_framebuffer_sRGB GL_EXT_packed_depth_stencil GL_ARB_depth_buffer_float GL_EXT_transform_feedback GL_ARB_transform_feedback2 GL_ARB_draw_indirect GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_ARB_framebuffer_object GL_ARB_framebuffer_no_attachments GL_EXT_texture_array GL_EXT_texture_integer GL_ARB_map_buffer_range GL_ARB_texture_buffer_range GL_EXT_texture_snorm GL_ARB_blend_func_extended GL_INTEL_performance_query GL_ARB_copy_buffer GL_ARB_sampler_objects GL_NV_primitive_restart GL_ARB_seamless_cube_map GL_ARB_uniform_buffer_object GL_ARB_depth_clamp GL_ARB_vertex_array_bgra GL_ARB_shader_bit_encoding GL_ARB_draw_buffers_blend GL_ARB_geometry_shader4 GL_EXT_geometry_shader4 GL_ARB_texture_query_lod GL_ARB_explicit_attrib_location GL_ARB_draw_elements_base_vertex GL_ARB_instanced_arrays GL_ARB_base_instance GL_ARB_fragment_coord_conventions GL_EXT_gpu_program_parameters GL_ARB_texture_buffer_object_rgb32 GL_ARB_compatibility GL_ARB_texture_rgb10_a2ui GL_ARB_texture_multisample GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_timer_query GL_ARB_tessellation_shader GL_ARB_vertex_array_object GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_texture_cube_map_array GL_EXT_gpu_shader4 GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_INTEL_fragment_shader_ordering GL_ARB_fragment_shader_interlock GL_EXT_clip_control GL_ARB_shader_subroutine GL_ARB_transform_feedback3 GL_ARB_get_program_binary GL_ARB_separate_shader_objects GL_ARB_shader_precision GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_ARB_transform_feedback_instanced GL_ARB_compressed_texture_pixel_storage GL_ARB_shader_atomic_counters GL_ARB_shading_language_packing GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_texture_storage GL_EXT_texture_storage GL_ARB_compute_shader GL_ARB_vertex_attrib_binding GL_ARB_texture_view GL_ARB_fragment_layer_viewport GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_texture_storage_multisample GL_ARB_buffer_storage GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_query_buffer_object GL_EXT_polygon_offset_clamp GL_ARB_debug_output GL_KHR_debug GL_ARB_arrays_of_arrays GL_ARB_texture_query_levels GL_ARB_invalidate_subdata GL_ARB_clear_buffer_object GL_ARB_texture_mirror_clamp_to_edge GL_INTEL_map_texture GL_ARB_texture_compression_bptc GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_robustness GL_ARB_robust_buffer_access_behavior GL_EXT_texture_sRGB_decode GL_ARB_copy_image GL_KHR_blend_equation_advanced GL_EXT_direct_state_access GL_ARB_stencil_texturing GL_ARB_texture_stencil8 GL_ARB_explicit_uniform_location 
INFO: GL_EXTENSIONS_NUM: 208
INFO: GL_EXTENSIONS: GL_EXT_blend_minmax
INFO: GL_EXTENSIONS: GL_EXT_blend_subtract
INFO: GL_EXTENSIONS: GL_EXT_blend_color
INFO: GL_EXTENSIONS: GL_EXT_abgr
INFO: GL_EXTENSIONS: GL_EXT_texture3D
INFO: GL_EXTENSIONS: GL_EXT_clip_volume_hint
INFO: GL_EXTENSIONS: GL_EXT_compiled_vertex_array
INFO: GL_EXTENSIONS: GL_SGIS_texture_edge_clamp
INFO: GL_EXTENSIONS: GL_SGIS_generate_mipmap
INFO: GL_EXTENSIONS: GL_EXT_draw_range_elements
INFO: GL_EXTENSIONS: GL_SGIS_texture_lod
INFO: GL_EXTENSIONS: GL_EXT_rescale_normal
INFO: GL_EXTENSIONS: GL_EXT_packed_pixels
INFO: GL_EXTENSIONS: GL_EXT_texture_edge_clamp
INFO: GL_EXTENSIONS: GL_EXT_separate_specular_color
INFO: GL_EXTENSIONS: GL_ARB_multitexture
INFO: GL_EXTENSIONS: GL_ARB_map_buffer_alignment
INFO: GL_EXTENSIONS: GL_ARB_conservative_depth
INFO: GL_EXTENSIONS: GL_EXT_texture_env_combine
INFO: GL_EXTENSIONS: GL_EXT_bgra
INFO: GL_EXTENSIONS: GL_EXT_blend_func_separate
INFO: GL_EXTENSIONS: GL_EXT_secondary_color
INFO: GL_EXTENSIONS: GL_EXT_fog_coord
INFO: GL_EXTENSIONS: GL_EXT_texture_env_add
INFO: GL_EXTENSIONS: GL_ARB_texture_cube_map
INFO: GL_EXTENSIONS: GL_ARB_transpose_matrix
INFO: GL_EXTENSIONS: GL_ARB_internalformat_query
INFO: GL_EXTENSIONS: GL_ARB_internalformat_query2
INFO: GL_EXTENSIONS: GL_ARB_texture_env_add
INFO: GL_EXTENSIONS: GL_IBM_texture_mirrored_repeat
INFO: GL_EXTENSIONS: GL_EXT_multi_draw_arrays
INFO: GL_EXTENSIONS: GL_SUN_multi_draw_arrays
INFO: GL_EXTENSIONS: GL_NV_blend_square
INFO: GL_EXTENSIONS: GL_ARB_texture_compression
INFO: GL_EXTENSIONS: GL_3DFX_texture_compression_FXT1
INFO: GL_EXTENSIONS: GL_EXT_texture_filter_anisotropic
INFO: GL_EXTENSIONS: GL_ARB_texture_border_clamp
INFO: GL_EXTENSIONS: GL_ARB_point_parameters
INFO: GL_EXTENSIONS: GL_ARB_texture_env_combine
INFO: GL_EXTENSIONS: GL_ARB_texture_env_dot3
INFO: GL_EXTENSIONS: GL_ARB_texture_env_crossbar
INFO: GL_EXTENSIONS: GL_EXT_texture_compression_s3tc
INFO: GL_EXTENSIONS: GL_ARB_shadow
INFO: GL_EXTENSIONS: GL_ARB_window_pos
INFO: GL_EXTENSIONS: GL_EXT_shadow_funcs
INFO: GL_EXTENSIONS: GL_EXT_stencil_wrap
INFO: GL_EXTENSIONS: GL_ARB_vertex_program
INFO: GL_EXTENSIONS: GL_EXT_texture_rectangle
INFO: GL_EXTENSIONS: GL_ARB_fragment_program
INFO: GL_EXTENSIONS: GL_EXT_stencil_two_side
INFO: GL_EXTENSIONS: GL_ATI_separate_stencil
INFO: GL_EXTENSIONS: GL_ARB_vertex_buffer_object
INFO: GL_EXTENSIONS: GL_EXT_texture_lod_bias
INFO: GL_EXTENSIONS: GL_ARB_occlusion_query
INFO: GL_EXTENSIONS: GL_ARB_fragment_shader
INFO: GL_EXTENSIONS: GL_ARB_shader_objects
INFO: GL_EXTENSIONS: GL_ARB_shading_language_100
INFO: GL_EXTENSIONS: GL_ARB_texture_non_power_of_two
INFO: GL_EXTENSIONS: GL_ARB_vertex_shader
INFO: GL_EXTENSIONS: GL_NV_texgen_reflection
INFO: GL_EXTENSIONS: GL_ARB_point_sprite
INFO: GL_EXTENSIONS: GL_ARB_fragment_program_shadow
INFO: GL_EXTENSIONS: GL_EXT_blend_equation_separate
INFO: GL_EXTENSIONS: GL_ARB_depth_texture
INFO: GL_EXTENSIONS: GL_ARB_texture_rectangle
INFO: GL_EXTENSIONS: GL_ARB_draw_buffers
INFO: GL_EXTENSIONS: GL_ARB_color_buffer_float
INFO: GL_EXTENSIONS: GL_ARB_half_float_pixel
INFO: GL_EXTENSIONS: GL_ARB_texture_float
INFO: GL_EXTENSIONS: GL_ARB_pixel_buffer_object
INFO: GL_EXTENSIONS: GL_EXT_framebuffer_object
INFO: GL_EXTENSIONS: GL_ARB_draw_instanced
INFO: GL_EXTENSIONS: GL_ARB_half_float_vertex
INFO: GL_EXTENSIONS: GL_ARB_occlusion_query2
INFO: GL_EXTENSIONS: GL_EXT_draw_buffers2
INFO: GL_EXTENSIONS: GL_WIN_swap_hint
INFO: GL_EXTENSIONS: GL_EXT_texture_sRGB
INFO: GL_EXTENSIONS: GL_ARB_multisample
INFO: GL_EXTENSIONS: GL_EXT_packed_float
INFO: GL_EXTENSIONS: GL_EXT_texture_shared_exponent
INFO: GL_EXTENSIONS: GL_ARB_texture_rg
INFO: GL_EXTENSIONS: GL_ARB_texture_compression_rgtc
INFO: GL_EXTENSIONS: GL_NV_conditional_render
INFO: GL_EXTENSIONS: GL_ARB_texture_swizzle
INFO: GL_EXTENSIONS: GL_EXT_texture_swizzle
INFO: GL_EXTENSIONS: GL_ARB_texture_gather
INFO: GL_EXTENSIONS: GL_ARB_sync
INFO: GL_EXTENSIONS: GL_ARB_cl_event
INFO: GL_EXTENSIONS: GL_ARB_framebuffer_sRGB
INFO: GL_EXTENSIONS: GL_EXT_packed_depth_stencil
INFO: GL_EXTENSIONS: GL_ARB_depth_buffer_float
INFO: GL_EXTENSIONS: GL_EXT_transform_feedback
INFO: GL_EXTENSIONS: GL_ARB_transform_feedback2
INFO: GL_EXTENSIONS: GL_ARB_draw_indirect
INFO: GL_EXTENSIONS: GL_EXT_framebuffer_blit
INFO: GL_EXTENSIONS: GL_EXT_framebuffer_multisample
INFO: GL_EXTENSIONS: GL_ARB_framebuffer_object
INFO: GL_EXTENSIONS: GL_ARB_framebuffer_no_attachments
INFO: GL_EXTENSIONS: GL_EXT_texture_array
INFO: GL_EXTENSIONS: GL_EXT_texture_integer
INFO: GL_EXTENSIONS: GL_ARB_map_buffer_range
INFO: GL_EXTENSIONS: GL_ARB_texture_buffer_range
INFO: GL_EXTENSIONS: GL_EXT_texture_snorm
INFO: GL_EXTENSIONS: GL_ARB_blend_func_extended
INFO: GL_EXTENSIONS: GL_INTEL_performance_query
INFO: GL_EXTENSIONS: GL_ARB_copy_buffer
INFO: GL_EXTENSIONS: GL_ARB_sampler_objects
INFO: GL_EXTENSIONS: GL_NV_primitive_restart
INFO: GL_EXTENSIONS: GL_ARB_seamless_cube_map
INFO: GL_EXTENSIONS: GL_ARB_uniform_buffer_object
INFO: GL_EXTENSIONS: GL_ARB_depth_clamp
INFO: GL_EXTENSIONS: GL_ARB_vertex_array_bgra
INFO: GL_EXTENSIONS: GL_ARB_shader_bit_encoding
INFO: GL_EXTENSIONS: GL_ARB_draw_buffers_blend
INFO: GL_EXTENSIONS: GL_ARB_geometry_shader4
INFO: GL_EXTENSIONS: GL_EXT_geometry_shader4
INFO: GL_EXTENSIONS: GL_ARB_texture_query_lod
INFO: GL_EXTENSIONS: GL_ARB_explicit_attrib_location
INFO: GL_EXTENSIONS: GL_ARB_draw_elements_base_vertex
INFO: GL_EXTENSIONS: GL_ARB_instanced_arrays
INFO: GL_EXTENSIONS: GL_ARB_base_instance
INFO: GL_EXTENSIONS: GL_ARB_fragment_coord_conventions
INFO: GL_EXTENSIONS: GL_EXT_gpu_program_parameters
INFO: GL_EXTENSIONS: GL_ARB_texture_buffer_object_rgb32
INFO: GL_EXTENSIONS: GL_ARB_compatibility
INFO: GL_EXTENSIONS: GL_ARB_texture_rgb10_a2ui
INFO: GL_EXTENSIONS: GL_ARB_texture_multisample
INFO: GL_EXTENSIONS: GL_ARB_vertex_type_2_10_10_10_rev
INFO: GL_EXTENSIONS: GL_ARB_timer_query
INFO: GL_EXTENSIONS: GL_ARB_tessellation_shader
INFO: GL_EXTENSIONS: GL_ARB_vertex_array_object
INFO: GL_EXTENSIONS: GL_ARB_provoking_vertex
INFO: GL_EXTENSIONS: GL_ARB_sample_shading
INFO: GL_EXTENSIONS: GL_ARB_texture_cube_map_array
INFO: GL_EXTENSIONS: GL_EXT_gpu_shader4
INFO: GL_EXTENSIONS: GL_ARB_gpu_shader5
INFO: GL_EXTENSIONS: GL_ARB_gpu_shader_fp64
INFO: GL_EXTENSIONS: GL_INTEL_fragment_shader_ordering
INFO: GL_EXTENSIONS: GL_ARB_fragment_shader_interlock
INFO: GL_EXTENSIONS: GL_EXT_clip_control
INFO: GL_EXTENSIONS: GL_ARB_shader_subroutine
INFO: GL_EXTENSIONS: GL_ARB_transform_feedback3
INFO: GL_EXTENSIONS: GL_ARB_get_program_binary
INFO: GL_EXTENSIONS: GL_ARB_separate_shader_objects
INFO: GL_EXTENSIONS: GL_ARB_shader_precision
INFO: GL_EXTENSIONS: GL_ARB_vertex_attrib_64bit
INFO: GL_EXTENSIONS: GL_ARB_viewport_array
INFO: GL_EXTENSIONS: GL_ARB_transform_feedback_instanced
INFO: GL_EXTENSIONS: GL_ARB_compressed_texture_pixel_storage
INFO: GL_EXTENSIONS: GL_ARB_shader_atomic_counters
INFO: GL_EXTENSIONS: GL_ARB_shading_language_packing
INFO: GL_EXTENSIONS: GL_ARB_shader_image_load_store
INFO: GL_EXTENSIONS: GL_ARB_shading_language_420pack
INFO: GL_EXTENSIONS: GL_ARB_texture_storage
INFO: GL_EXTENSIONS: GL_EXT_texture_storage
INFO: GL_EXTENSIONS: GL_ARB_compute_shader
INFO: GL_EXTENSIONS: GL_ARB_vertex_attrib_binding
INFO: GL_EXTENSIONS: GL_ARB_texture_view
INFO: GL_EXTENSIONS: GL_ARB_fragment_layer_viewport
INFO: GL_EXTENSIONS: GL_ARB_multi_draw_indirect
INFO: GL_EXTENSIONS: GL_ARB_program_interface_query
INFO: GL_EXTENSIONS: GL_ARB_shader_image_size
INFO: GL_EXTENSIONS: GL_ARB_shader_storage_buffer_object
INFO: GL_EXTENSIONS: GL_ARB_texture_storage_multisample
INFO: GL_EXTENSIONS: GL_ARB_buffer_storage
INFO: GL_EXTENSIONS: GL_AMD_vertex_shader_layer
INFO: GL_EXTENSIONS: GL_AMD_vertex_shader_viewport_index
INFO: GL_EXTENSIONS: GL_ARB_query_buffer_object
INFO: GL_EXTENSIONS: GL_EXT_polygon_offset_clamp
INFO: GL_EXTENSIONS: GL_ARB_debug_output
INFO: GL_EXTENSIONS: GL_KHR_debug
INFO: GL_EXTENSIONS: GL_ARB_arrays_of_arrays
INFO: GL_EXTENSIONS: GL_ARB_texture_query_levels
INFO: GL_EXTENSIONS: GL_ARB_invalidate_subdata
INFO: GL_EXTENSIONS: GL_ARB_clear_buffer_object
INFO: GL_EXTENSIONS: GL_ARB_texture_mirror_clamp_to_edge
INFO: GL_EXTENSIONS: GL_INTEL_map_texture
INFO: GL_EXTENSIONS: GL_ARB_texture_compression_bptc
INFO: GL_EXTENSIONS: GL_ARB_ES2_compatibility
INFO: GL_EXTENSIONS: GL_ARB_ES3_compatibility
INFO: GL_EXTENSIONS: GL_ARB_robustness
INFO: GL_EXTENSIONS: GL_ARB_robust_buffer_access_behavior
INFO: GL_EXTENSIONS: GL_EXT_texture_sRGB_decode
INFO: GL_EXTENSIONS: GL_ARB_copy_image
INFO: GL_EXTENSIONS: GL_KHR_blend_equation_advanced
INFO: GL_EXTENSIONS: GL_EXT_direct_state_access
INFO: GL_EXTENSIONS: GL_ARB_stencil_texturing
INFO: GL_EXTENSIONS: GL_ARB_texture_stencil8
INFO: GL_EXTENSIONS: GL_ARB_explicit_uniform_location
INFO: GL_EXTENSIONS: WGL_EXT_depth_float
INFO: GL_EXTENSIONS: WGL_ARB_buffer_region
INFO: GL_EXTENSIONS: WGL_ARB_extensions_string
INFO: GL_EXTENSIONS: WGL_ARB_make_current_read
INFO: GL_EXTENSIONS: WGL_ARB_pixel_format
INFO: GL_EXTENSIONS: WGL_ARB_pbuffer
INFO: GL_EXTENSIONS: WGL_EXT_extensions_string
INFO: GL_EXTENSIONS: WGL_EXT_swap_control
INFO: GL_EXTENSIONS: WGL_EXT_swap_control_tear
INFO: GL_EXTENSIONS: WGL_ARB_multisample
INFO: GL_EXTENSIONS: WGL_ARB_pixel_format_float
INFO: GL_EXTENSIONS: WGL_ARB_framebuffer_sRGB
INFO: GL_EXTENSIONS: WGL_ARB_create_context
INFO: GL_EXTENSIONS: WGL_ARB_create_context_profile
INFO: GL_EXTENSIONS: WGL_EXT_pixel_format_packed_float
INFO: GL_EXTENSIONS: WGL_EXT_create_context_es_profile
INFO: GL_EXTENSIONS: WGL_EXT_create_context_es2_profile
INFO: GL_EXTENSIONS: WGL_NV_DX_interop
INFO: GL_EXTENSIONS: WGL_ARB_create_context_robustness


不正常工程的结果:

INFO: GL_VERSION: 4.3.0 - Build 10.18.14.4294
INFO: GL_VENDOR: Intel
INFO: GL_RENDERER: Intel(R) HD Graphics 4600
INFO: GL_SHADING_LANGUAGE_VERSION: 4.30 - Build 10.18.14.4294
INFO: GL_EXTENSIONS: 4802:GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_blend_color GL_EXT_abgr GL_EXT_texture3D GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_SGIS_texture_edge_clamp GL_SGIS_generate_mipmap GL_EXT_draw_range_elements GL_SGIS_texture_lod GL_EXT_rescale_normal GL_EXT_packed_pixels GL_EXT_texture_edge_clamp GL_EXT_separate_specular_color GL_ARB_multitexture GL_ARB_map_buffer_alignment GL_ARB_conservative_depth GL_EXT_texture_env_combine GL_EXT_bgra GL_EXT_blend_func_separate GL_EXT_secondary_color GL_EXT_fog_coord GL_EXT_texture_env_add GL_ARB_texture_cube_map GL_ARB_transpose_matrix GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_texture_env_add GL_IBM_texture_mirrored_repeat GL_EXT_multi_draw_arrays GL_SUN_multi_draw_arrays GL_NV_blend_square GL_ARB_texture_compression GL_3DFX_texture_compression_FXT1 GL_EXT_texture_filter_anisotropic GL_ARB_texture_border_clamp GL_ARB_point_parameters GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_env_crossbar GL_EXT_texture_compression_s3tc GL_ARB_shadow GL_ARB_window_pos GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_ARB_vertex_program GL_EXT_texture_rectangle GL_ARB_fragment_program GL_EXT_stencil_two_side GL_ATI_separate_stencil GL_ARB_vertex_buffer_object GL_EXT_texture_lod_bias GL_ARB_occlusion_query GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_non_power_of_two GL_ARB_vertex_shader GL_NV_texgen_reflection GL_ARB_point_sprite GL_ARB_fragment_program_shadow GL_EXT_blend_equation_separate GL_ARB_depth_texture GL_ARB_texture_rectangle GL_ARB_draw_buffers GL_ARB_color_buffer_float GL_ARB_half_float_pixel GL_ARB_texture_float GL_ARB_pixel_buffer_object GL_EXT_framebuffer_object GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_occlusion_query2 GL_EXT_draw_buffers2 GL_WIN_swap_hint GL_EXT_texture_sRGB GL_ARB_multisample GL_EXT_packed_float GL_EXT_texture_shared_exponent GL_ARB_texture_rg GL_ARB_texture_compression_rgtc GL_NV_conditional_render GL_ARB_texture_swizzle GL_EXT_texture_swizzle GL_ARB_texture_gather GL_ARB_sync GL_ARB_cl_event GL_ARB_framebuffer_sRGB GL_EXT_packed_depth_stencil GL_ARB_depth_buffer_float GL_EXT_transform_feedback GL_ARB_transform_feedback2 GL_ARB_draw_indirect GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_ARB_framebuffer_object GL_ARB_framebuffer_no_attachments GL_EXT_texture_array GL_EXT_texture_integer GL_ARB_map_buffer_range GL_ARB_texture_buffer_range GL_EXT_texture_snorm GL_ARB_blend_func_extended GL_INTEL_performance_query GL_ARB_copy_buffer GL_ARB_sampler_objects GL_NV_primitive_restart GL_ARB_seamless_cube_map GL_ARB_uniform_buffer_object GL_ARB_depth_clamp GL_ARB_vertex_array_bgra GL_ARB_shader_bit_encoding GL_ARB_draw_buffers_blend GL_ARB_geometry_shader4 GL_EXT_geometry_shader4 GL_ARB_texture_query_lod GL_ARB_explicit_attrib_location GL_ARB_draw_elements_base_vertex GL_ARB_instanced_arrays GL_ARB_base_instance GL_ARB_fragment_coord_conventions GL_EXT_gpu_program_parameters GL_ARB_texture_buffer_object_rgb32 GL_ARB_compatibility GL_ARB_texture_rgb10_a2ui GL_ARB_texture_multisample GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_timer_query GL_ARB_tessellation_shader GL_ARB_vertex_array_object GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_texture_cube_map_array GL_EXT_gpu_shader4 GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_INTEL_fragment_shader_ordering GL_ARB_fragment_shader_interlock GL_EXT_clip_control GL_ARB_shader_subroutine GL_ARB_transform_feedback3 GL_ARB_get_program_binary GL_ARB_separate_shader_objects GL_ARB_shader_precision GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_ARB_transform_feedback_instanced GL_ARB_compressed_texture_pixel_storage GL_ARB_shader_atomic_counters GL_ARB_shading_language_packing GL_ARB_shader_image_load_store GL_EXT_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_texture_storage GL_EXT_texture_storage GL_ARB_compute_shader GL_ARB_vertex_attrib_binding GL_ARB_texture_view GL_ARB_fragment_layer_viewport GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_texture_storage_multisample GL_ARB_buffer_storage GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_query_buffer_object GL_EXT_polygon_offset_clamp GL_ARB_debug_output GL_KHR_debug GL_ARB_arrays_of_arrays GL_ARB_texture_query_levels GL_ARB_invalidate_subdata GL_ARB_clear_buffer_object GL_ARB_texture_mirror_clamp_to_edge GL_INTEL_map_texture GL_ARB_texture_compression_bptc GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_robustness GL_ARB_robust_buffer_access_behavior GL_EXT_texture_sRGB_decode GL_ARB_copy_image GL_KHR_blend_equation_advanced GL_EXT_direct_state_access GL_ARB_stencil_texturing GL_ARB_texture_stencil8 GL_ARB_explicit_uniform_location 
INFO: GL_EXTENSIONS_NUM: 209
INFO: GL_EXTENSIONS: GL_EXT_blend_minmax
INFO: GL_EXTENSIONS: GL_EXT_blend_subtract
INFO: GL_EXTENSIONS: GL_EXT_blend_color
INFO: GL_EXTENSIONS: GL_EXT_abgr
INFO: GL_EXTENSIONS: GL_EXT_texture3D
INFO: GL_EXTENSIONS: GL_EXT_clip_volume_hint
INFO: GL_EXTENSIONS: GL_EXT_compiled_vertex_array
INFO: GL_EXTENSIONS: GL_SGIS_texture_edge_clamp
INFO: GL_EXTENSIONS: GL_SGIS_generate_mipmap
INFO: GL_EXTENSIONS: GL_EXT_draw_range_elements
INFO: GL_EXTENSIONS: GL_SGIS_texture_lod
INFO: GL_EXTENSIONS: GL_EXT_rescale_normal
INFO: GL_EXTENSIONS: GL_EXT_packed_pixels
INFO: GL_EXTENSIONS: GL_EXT_texture_edge_clamp
INFO: GL_EXTENSIONS: GL_EXT_separate_specular_color
INFO: GL_EXTENSIONS: GL_ARB_multitexture
INFO: GL_EXTENSIONS: GL_ARB_map_buffer_alignment
INFO: GL_EXTENSIONS: GL_ARB_conservative_depth
INFO: GL_EXTENSIONS: GL_EXT_texture_env_combine
INFO: GL_EXTENSIONS: GL_EXT_bgra
INFO: GL_EXTENSIONS: GL_EXT_blend_func_separate
INFO: GL_EXTENSIONS: GL_EXT_secondary_color
INFO: GL_EXTENSIONS: GL_EXT_fog_coord
INFO: GL_EXTENSIONS: GL_EXT_texture_env_add
INFO: GL_EXTENSIONS: GL_ARB_texture_cube_map
INFO: GL_EXTENSIONS: GL_ARB_transpose_matrix
INFO: GL_EXTENSIONS: GL_ARB_internalformat_query
INFO: GL_EXTENSIONS: GL_ARB_internalformat_query2
INFO: GL_EXTENSIONS: GL_ARB_texture_env_add
INFO: GL_EXTENSIONS: GL_IBM_texture_mirrored_repeat
INFO: GL_EXTENSIONS: GL_EXT_multi_draw_arrays
INFO: GL_EXTENSIONS: GL_SUN_multi_draw_arrays
INFO: GL_EXTENSIONS: GL_NV_blend_square
INFO: GL_EXTENSIONS: GL_ARB_texture_compression
INFO: GL_EXTENSIONS: GL_3DFX_texture_compression_FXT1
INFO: GL_EXTENSIONS: GL_EXT_texture_filter_anisotropic
INFO: GL_EXTENSIONS: GL_ARB_texture_border_clamp
INFO: GL_EXTENSIONS: GL_ARB_point_parameters
INFO: GL_EXTENSIONS: GL_ARB_texture_env_combine
INFO: GL_EXTENSIONS: GL_ARB_texture_env_dot3
INFO: GL_EXTENSIONS: GL_ARB_texture_env_crossbar
INFO: GL_EXTENSIONS: GL_EXT_texture_compression_s3tc
INFO: GL_EXTENSIONS: GL_ARB_shadow
INFO: GL_EXTENSIONS: GL_ARB_window_pos
INFO: GL_EXTENSIONS: GL_EXT_shadow_funcs
INFO: GL_EXTENSIONS: GL_EXT_stencil_wrap
INFO: GL_EXTENSIONS: GL_ARB_vertex_program
INFO: GL_EXTENSIONS: GL_EXT_texture_rectangle
INFO: GL_EXTENSIONS: GL_ARB_fragment_program
INFO: GL_EXTENSIONS: GL_EXT_stencil_two_side
INFO: GL_EXTENSIONS: GL_ATI_separate_stencil
INFO: GL_EXTENSIONS: GL_ARB_vertex_buffer_object
INFO: GL_EXTENSIONS: GL_EXT_texture_lod_bias
INFO: GL_EXTENSIONS: GL_ARB_occlusion_query
INFO: GL_EXTENSIONS: GL_ARB_fragment_shader
INFO: GL_EXTENSIONS: GL_ARB_shader_objects
INFO: GL_EXTENSIONS: GL_ARB_shading_language_100
INFO: GL_EXTENSIONS: GL_ARB_texture_non_power_of_two
INFO: GL_EXTENSIONS: GL_ARB_vertex_shader
INFO: GL_EXTENSIONS: GL_NV_texgen_reflection
INFO: GL_EXTENSIONS: GL_ARB_point_sprite
INFO: GL_EXTENSIONS: GL_ARB_fragment_program_shadow
INFO: GL_EXTENSIONS: GL_EXT_blend_equation_separate
INFO: GL_EXTENSIONS: GL_ARB_depth_texture
INFO: GL_EXTENSIONS: GL_ARB_texture_rectangle
INFO: GL_EXTENSIONS: GL_ARB_draw_buffers
INFO: GL_EXTENSIONS: GL_ARB_color_buffer_float
INFO: GL_EXTENSIONS: GL_ARB_half_float_pixel
INFO: GL_EXTENSIONS: GL_ARB_texture_float
INFO: GL_EXTENSIONS: GL_ARB_pixel_buffer_object
INFO: GL_EXTENSIONS: GL_EXT_framebuffer_object
INFO: GL_EXTENSIONS: GL_ARB_draw_instanced
INFO: GL_EXTENSIONS: GL_ARB_half_float_vertex
INFO: GL_EXTENSIONS: GL_ARB_occlusion_query2
INFO: GL_EXTENSIONS: GL_EXT_draw_buffers2
INFO: GL_EXTENSIONS: GL_WIN_swap_hint
INFO: GL_EXTENSIONS: GL_EXT_texture_sRGB
INFO: GL_EXTENSIONS: GL_ARB_multisample
INFO: GL_EXTENSIONS: GL_EXT_packed_float
INFO: GL_EXTENSIONS: GL_EXT_texture_shared_exponent
INFO: GL_EXTENSIONS: GL_ARB_texture_rg
INFO: GL_EXTENSIONS: GL_ARB_texture_compression_rgtc
INFO: GL_EXTENSIONS: GL_NV_conditional_render
INFO: GL_EXTENSIONS: GL_ARB_texture_swizzle
INFO: GL_EXTENSIONS: GL_EXT_texture_swizzle
INFO: GL_EXTENSIONS: GL_ARB_texture_gather
INFO: GL_EXTENSIONS: GL_ARB_sync
INFO: GL_EXTENSIONS: GL_ARB_cl_event
INFO: GL_EXTENSIONS: GL_ARB_framebuffer_sRGB
INFO: GL_EXTENSIONS: GL_EXT_packed_depth_stencil
INFO: GL_EXTENSIONS: GL_ARB_depth_buffer_float
INFO: GL_EXTENSIONS: GL_EXT_transform_feedback
INFO: GL_EXTENSIONS: GL_ARB_transform_feedback2
INFO: GL_EXTENSIONS: GL_ARB_draw_indirect
INFO: GL_EXTENSIONS: GL_EXT_framebuffer_blit
INFO: GL_EXTENSIONS: GL_EXT_framebuffer_multisample
INFO: GL_EXTENSIONS: GL_ARB_framebuffer_object
INFO: GL_EXTENSIONS: GL_ARB_framebuffer_no_attachments
INFO: GL_EXTENSIONS: GL_EXT_texture_array
INFO: GL_EXTENSIONS: GL_EXT_texture_integer
INFO: GL_EXTENSIONS: GL_ARB_map_buffer_range
INFO: GL_EXTENSIONS: GL_ARB_texture_buffer_range
INFO: GL_EXTENSIONS: GL_EXT_texture_snorm
INFO: GL_EXTENSIONS: GL_ARB_blend_func_extended
INFO: GL_EXTENSIONS: GL_INTEL_performance_query
INFO: GL_EXTENSIONS: GL_ARB_copy_buffer
INFO: GL_EXTENSIONS: GL_ARB_sampler_objects
INFO: GL_EXTENSIONS: GL_NV_primitive_restart
INFO: GL_EXTENSIONS: GL_ARB_seamless_cube_map
INFO: GL_EXTENSIONS: GL_ARB_uniform_buffer_object
INFO: GL_EXTENSIONS: GL_ARB_depth_clamp
INFO: GL_EXTENSIONS: GL_ARB_vertex_array_bgra
INFO: GL_EXTENSIONS: GL_ARB_shader_bit_encoding
INFO: GL_EXTENSIONS: GL_ARB_draw_buffers_blend
INFO: GL_EXTENSIONS: GL_ARB_geometry_shader4
INFO: GL_EXTENSIONS: GL_EXT_geometry_shader4
INFO: GL_EXTENSIONS: GL_ARB_texture_query_lod
INFO: GL_EXTENSIONS: GL_ARB_explicit_attrib_location
INFO: GL_EXTENSIONS: GL_ARB_draw_elements_base_vertex
INFO: GL_EXTENSIONS: GL_ARB_instanced_arrays
INFO: GL_EXTENSIONS: GL_ARB_base_instance
INFO: GL_EXTENSIONS: GL_ARB_fragment_coord_conventions
INFO: GL_EXTENSIONS: GL_EXT_gpu_program_parameters
INFO: GL_EXTENSIONS: GL_ARB_texture_buffer_object_rgb32
INFO: GL_EXTENSIONS: GL_ARB_compatibility
INFO: GL_EXTENSIONS: GL_ARB_texture_rgb10_a2ui
INFO: GL_EXTENSIONS: GL_ARB_texture_multisample
INFO: GL_EXTENSIONS: GL_ARB_vertex_type_2_10_10_10_rev
INFO: GL_EXTENSIONS: GL_ARB_timer_query
INFO: GL_EXTENSIONS: GL_ARB_tessellation_shader
INFO: GL_EXTENSIONS: GL_ARB_vertex_array_object
INFO: GL_EXTENSIONS: GL_ARB_provoking_vertex
INFO: GL_EXTENSIONS: GL_ARB_sample_shading
INFO: GL_EXTENSIONS: GL_ARB_texture_cube_map_array
INFO: GL_EXTENSIONS: GL_EXT_gpu_shader4
INFO: GL_EXTENSIONS: GL_ARB_gpu_shader5
INFO: GL_EXTENSIONS: GL_ARB_gpu_shader_fp64
INFO: GL_EXTENSIONS: GL_INTEL_fragment_shader_ordering
INFO: GL_EXTENSIONS: GL_ARB_fragment_shader_interlock
INFO: GL_EXTENSIONS: GL_EXT_clip_control
INFO: GL_EXTENSIONS: GL_ARB_shader_subroutine
INFO: GL_EXTENSIONS: GL_ARB_transform_feedback3
INFO: GL_EXTENSIONS: GL_ARB_get_program_binary
INFO: GL_EXTENSIONS: GL_ARB_separate_shader_objects
INFO: GL_EXTENSIONS: GL_ARB_shader_precision
INFO: GL_EXTENSIONS: GL_ARB_vertex_attrib_64bit
INFO: GL_EXTENSIONS: GL_ARB_viewport_array
INFO: GL_EXTENSIONS: GL_ARB_transform_feedback_instanced
INFO: GL_EXTENSIONS: GL_ARB_compressed_texture_pixel_storage
INFO: GL_EXTENSIONS: GL_ARB_shader_atomic_counters
INFO: GL_EXTENSIONS: GL_ARB_shading_language_packing
INFO: GL_EXTENSIONS: GL_ARB_shader_image_load_store
INFO: GL_EXTENSIONS: GL_EXT_shader_image_load_store
INFO: GL_EXTENSIONS: GL_ARB_shading_language_420pack
INFO: GL_EXTENSIONS: GL_ARB_texture_storage
INFO: GL_EXTENSIONS: GL_EXT_texture_storage
INFO: GL_EXTENSIONS: GL_ARB_compute_shader
INFO: GL_EXTENSIONS: GL_ARB_vertex_attrib_binding
INFO: GL_EXTENSIONS: GL_ARB_texture_view
INFO: GL_EXTENSIONS: GL_ARB_fragment_layer_viewport
INFO: GL_EXTENSIONS: GL_ARB_multi_draw_indirect
INFO: GL_EXTENSIONS: GL_ARB_program_interface_query
INFO: GL_EXTENSIONS: GL_ARB_shader_image_size
INFO: GL_EXTENSIONS: GL_ARB_shader_storage_buffer_object
INFO: GL_EXTENSIONS: GL_ARB_texture_storage_multisample
INFO: GL_EXTENSIONS: GL_ARB_buffer_storage
INFO: GL_EXTENSIONS: GL_AMD_vertex_shader_layer
INFO: GL_EXTENSIONS: GL_AMD_vertex_shader_viewport_index
INFO: GL_EXTENSIONS: GL_ARB_query_buffer_object
INFO: GL_EXTENSIONS: GL_EXT_polygon_offset_clamp
INFO: GL_EXTENSIONS: GL_ARB_debug_output
INFO: GL_EXTENSIONS: GL_KHR_debug
INFO: GL_EXTENSIONS: GL_ARB_arrays_of_arrays
INFO: GL_EXTENSIONS: GL_ARB_texture_query_levels
INFO: GL_EXTENSIONS: GL_ARB_invalidate_subdata
INFO: GL_EXTENSIONS: GL_ARB_clear_buffer_object
INFO: GL_EXTENSIONS: GL_ARB_texture_mirror_clamp_to_edge
INFO: GL_EXTENSIONS: GL_INTEL_map_texture
INFO: GL_EXTENSIONS: GL_ARB_texture_compression_bptc
INFO: GL_EXTENSIONS: GL_ARB_ES2_compatibility
INFO: GL_EXTENSIONS: GL_ARB_ES3_compatibility
INFO: GL_EXTENSIONS: GL_ARB_robustness
INFO: GL_EXTENSIONS: GL_ARB_robust_buffer_access_behavior
INFO: GL_EXTENSIONS: GL_EXT_texture_sRGB_decode
INFO: GL_EXTENSIONS: GL_ARB_copy_image
INFO: GL_EXTENSIONS: GL_KHR_blend_equation_advanced
INFO: GL_EXTENSIONS: GL_EXT_direct_state_access
INFO: GL_EXTENSIONS: GL_ARB_stencil_texturing
INFO: GL_EXTENSIONS: GL_ARB_texture_stencil8
INFO: GL_EXTENSIONS: GL_ARB_explicit_uniform_location
INFO: GL_EXTENSIONS: WGL_EXT_depth_float
INFO: GL_EXTENSIONS: WGL_ARB_buffer_region
INFO: GL_EXTENSIONS: WGL_ARB_extensions_string
INFO: GL_EXTENSIONS: WGL_ARB_make_current_read
INFO: GL_EXTENSIONS: WGL_ARB_pixel_format
INFO: GL_EXTENSIONS: WGL_ARB_pbuffer
INFO: GL_EXTENSIONS: WGL_EXT_extensions_string
INFO: GL_EXTENSIONS: WGL_EXT_swap_control
INFO: GL_EXTENSIONS: WGL_EXT_swap_control_tear
INFO: GL_EXTENSIONS: WGL_ARB_multisample
INFO: GL_EXTENSIONS: WGL_ARB_pixel_format_float
INFO: GL_EXTENSIONS: WGL_ARB_framebuffer_sRGB
INFO: GL_EXTENSIONS: WGL_ARB_create_context
INFO: GL_EXTENSIONS: WGL_ARB_create_context_profile
INFO: GL_EXTENSIONS: WGL_EXT_pixel_format_packed_float
INFO: GL_EXTENSIONS: WGL_EXT_create_context_es_profile
INFO: GL_EXTENSIONS: WGL_EXT_create_context_es2_profile
INFO: GL_EXTENSIONS: WGL_NV_DX_interop
INFO: GL_EXTENSIONS: WGL_ARB_create_context_robustness


区别:INFO: GL_EXTENSIONS: GL_EXT_shader_image_load_store

0 0
原创粉丝点击