gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.36k stars 546 forks source link

[GL] Deferred example fails with InvalidValue #1344

Closed msiglreith closed 7 years ago

msiglreith commented 7 years ago

Deferred example doesn't run, probably some issue with uniforms. apitrace (.trace): deferred-d56df362aac12057.txt output:

INFO:gfx_device_gl: Vendor: "ATI Technologies Inc."
INFO:gfx_device_gl: Renderer: "AMD Radeon (TM) R7 360 Series"
INFO:gfx_device_gl: Version: 4.2.13474, Core Profile/Debug Context 22.19.162.4
INFO:gfx_device_gl: Shading Language: 4.50
DEBUG:gfx_device_gl: Loaded Extensions:
DEBUG:gfx_device_gl: - GL_AMD_interleaved_elements
DEBUG:gfx_device_gl: - GL_EXT_gpu_program_parameters
DEBUG:gfx_device_gl: - GL_EXT_rescale_normal
DEBUG:gfx_device_gl: - GL_ARB_framebuffer_sRGB
DEBUG:gfx_device_gl: - GL_EXT_shader_integer_mix
DEBUG:gfx_device_gl: - GL_AMD_query_buffer_object
DEBUG:gfx_device_gl: - GL_KHR_context_flush_control
DEBUG:gfx_device_gl: - GL_EXT_framebuffer_sRGB
DEBUG:gfx_device_gl: - GL_ARB_debug_output
DEBUG:gfx_device_gl: - GL_ARB_clear_texture
DEBUG:gfx_device_gl: - GL_ARB_timer_query
DEBUG:gfx_device_gl: - GL_ARB_indirect_parameters
DEBUG:gfx_device_gl: - GL_ARB_draw_instanced
DEBUG:gfx_device_gl: - GL_ARB_texture_compression_rgtc
DEBUG:gfx_device_gl: - GL_ARB_map_buffer_alignment
DEBUG:gfx_device_gl: - GL_ARB_framebuffer_no_attachments
DEBUG:gfx_device_gl: - GL_EXT_depth_bounds_test
DEBUG:gfx_device_gl: - GL_ARB_transpose_matrix
DEBUG:gfx_device_gl: - GL_AMD_pinned_memory
DEBUG:gfx_device_gl: - GL_ARB_point_sprite
DEBUG:gfx_device_gl: - GL_EXT_draw_buffers2
DEBUG:gfx_device_gl: - GL_ATI_texture_float
DEBUG:gfx_device_gl: - GL_ARB_multitexture
DEBUG:gfx_device_gl: - GL_ARB_sync
DEBUG:gfx_device_gl: - GL_EXT_texture_integer
DEBUG:gfx_device_gl: - GL_ARB_compressed_texture_pixel_storage
DEBUG:gfx_device_gl: - GL_ARB_ES3_1_compatibility
DEBUG:gfx_device_gl: - GL_AMD_texture_texture4
DEBUG:gfx_device_gl: - GL_ARB_shader_objects
DEBUG:gfx_device_gl: - GL_ARB_texture_env_add
DEBUG:gfx_device_gl: - GL_EXT_point_parameters
DEBUG:gfx_device_gl: - GL_EXT_texture_compression_bptc
DEBUG:gfx_device_gl: - GL_ARB_explicit_attrib_location
DEBUG:gfx_device_gl: - GL_ARB_shader_image_load_store
DEBUG:gfx_device_gl: - GL_EXT_texture_compression_latc
DEBUG:gfx_device_gl: - GL_ARB_base_instance
DEBUG:gfx_device_gl: - GL_AMD_debug_output
DEBUG:gfx_device_gl: - GL_ARB_derivative_control
DEBUG:gfx_device_gl: - GL_ARB_instanced_arrays
DEBUG:gfx_device_gl: - GL_ARB_enhanced_layouts
DEBUG:gfx_device_gl: - GL_AMD_occlusion_query_event
DEBUG:gfx_device_gl: - GL_ARB_copy_image
DEBUG:gfx_device_gl: - GL_EXT_texture_object
DEBUG:gfx_device_gl: - GL_NV_conditional_render
DEBUG:gfx_device_gl: - GL_ARB_vertex_buffer_object
DEBUG:gfx_device_gl: - GL_ARB_texture_storage
DEBUG:gfx_device_gl: - GL_ARB_program_interface_query
DEBUG:gfx_device_gl: - GL_EXT_timer_query
DEBUG:gfx_device_gl: - GL_ARB_texture_float
DEBUG:gfx_device_gl: - GL_ARB_multisample
DEBUG:gfx_device_gl: - GL_AMD_performance_monitor
DEBUG:gfx_device_gl: - GL_INTEL_fragment_shader_ordering
DEBUG:gfx_device_gl: - GL_ARB_internalformat_query2
DEBUG:gfx_device_gl: - GL_ARB_texture_buffer_range
DEBUG:gfx_device_gl: - GL_ATI_texture_compression_3dc
DEBUG:gfx_device_gl: - GL_ARB_shader_bit_encoding
DEBUG:gfx_device_gl: - GL_SGIS_texture_edge_clamp
DEBUG:gfx_device_gl: - GL_AMD_framebuffer_sample_positions
DEBUG:gfx_device_gl: - GL_ARB_draw_indirect
DEBUG:gfx_device_gl: - GL_ARB_depth_buffer_float
DEBUG:gfx_device_gl: - GL_AMD_shader_atomic_counter_ops
DEBUG:gfx_device_gl: - GL_EXT_transform_feedback
DEBUG:gfx_device_gl: - GL_ARB_direct_state_access
DEBUG:gfx_device_gl: - GL_ARB_multi_draw_indirect
DEBUG:gfx_device_gl: - GL_ARB_shader_subroutine
DEBUG:gfx_device_gl: - GL_EXT_framebuffer_object
DEBUG:gfx_device_gl: - GL_ARB_texture_view
DEBUG:gfx_device_gl: - GL_ARB_separate_shader_objects
DEBUG:gfx_device_gl: - GL_ARB_draw_elements_base_vertex
DEBUG:gfx_device_gl: - GL_EXT_texture_rectangle
DEBUG:gfx_device_gl: - GL_ARB_texture_gather
DEBUG:gfx_device_gl: - GL_EXT_copy_texture
DEBUG:gfx_device_gl: - GL_EXT_texgen_reflection
DEBUG:gfx_device_gl: - GL_AMD_shader_stencil_export
DEBUG:gfx_device_gl: - GL_ARB_clip_control
DEBUG:gfx_device_gl: - GL_KHR_robustness
DEBUG:gfx_device_gl: - GL_EXT_geometry_shader4
DEBUG:gfx_device_gl: - GL_NV_copy_image
DEBUG:gfx_device_gl: - GL_ARB_occlusion_query
DEBUG:gfx_device_gl: - GL_NV_depth_buffer_float
DEBUG:gfx_device_gl: - GL_ARB_texture_cube_map
DEBUG:gfx_device_gl: - GL_ARB_vertex_shader
DEBUG:gfx_device_gl: - GL_ARB_texture_barrier
DEBUG:gfx_device_gl: - GL_EXT_texture_mirror_clamp
DEBUG:gfx_device_gl: - GL_AMD_sparse_texture
DEBUG:gfx_device_gl: - GL_ARB_fragment_program_shadow
DEBUG:gfx_device_gl: - GL_ARB_stencil_texturing
DEBUG:gfx_device_gl: - GL_ARB_occlusion_query2
DEBUG:gfx_device_gl: - WGL_EXT_swap_control
DEBUG:gfx_device_gl: - GL_EXT_draw_range_elements
DEBUG:gfx_device_gl: - GL_ARB_map_buffer_range
DEBUG:gfx_device_gl: - GL_ARB_draw_buffers_blend
DEBUG:gfx_device_gl: - GL_ARB_transform_feedback_overflow_query
DEBUG:gfx_device_gl: - GL_EXT_texture_buffer_object
DEBUG:gfx_device_gl: - GL_ARB_shader_storage_buffer_object
DEBUG:gfx_device_gl: - GL_ARB_draw_buffers
DEBUG:gfx_device_gl: - GL_EXT_direct_state_access
DEBUG:gfx_device_gl: - GL_EXT_histogram
DEBUG:gfx_device_gl: - GL_EXT_provoking_vertex
DEBUG:gfx_device_gl: - GL_ARB_fragment_coord_conventions
DEBUG:gfx_device_gl: - GL_EXT_vertex_attrib_64bit
DEBUG:gfx_device_gl: - GL_ARB_shader_texture_image_samples
DEBUG:gfx_device_gl: - GL_ARB_vertex_array_object
DEBUG:gfx_device_gl: - GL_ARB_texture_env_crossbar
DEBUG:gfx_device_gl: - GL_EXT_texture_env_add
DEBUG:gfx_device_gl: - GL_EXT_texture_sRGB
DEBUG:gfx_device_gl: - GL_AMD_gcn_shader
DEBUG:gfx_device_gl: - GL_ATI_fragment_shader
DEBUG:gfx_device_gl: - GL_ARB_compute_shader
DEBUG:gfx_device_gl: - GL_ARB_seamless_cubemap_per_texture
DEBUG:gfx_device_gl: - GL_ARB_vertex_program
DEBUG:gfx_device_gl: - GL_SGIS_texture_lod
DEBUG:gfx_device_gl: - GL_ARB_transform_feedback_instanced
DEBUG:gfx_device_gl: - GL_NV_copy_depth_to_color
DEBUG:gfx_device_gl: - GL_ARB_geometry_shader4
DEBUG:gfx_device_gl: - GL_ARB_texture_compression_bptc
DEBUG:gfx_device_gl: - GL_IBM_texture_mirrored_repeat
DEBUG:gfx_device_gl: - GL_EXT_subtexture
DEBUG:gfx_device_gl: - GL_AMD_seamless_cubemap_per_texture
DEBUG:gfx_device_gl: - GL_AMD_texture_cube_map_array
DEBUG:gfx_device_gl: - GL_ARB_vertex_array_bgra
DEBUG:gfx_device_gl: - GL_EXT_bgra
DEBUG:gfx_device_gl: - GL_AMD_shader_stencil_value_export
DEBUG:gfx_device_gl: - GL_ARB_gl_spirv
DEBUG:gfx_device_gl: - GL_EXT_texture_array
DEBUG:gfx_device_gl: - GL_EXT_texture_compression_rgtc
DEBUG:gfx_device_gl: - GL_KHR_debug
DEBUG:gfx_device_gl: - GL_ARB_sample_shading
DEBUG:gfx_device_gl: - GL_ATI_texture_env_combine3
DEBUG:gfx_device_gl: - GL_OES_EGL_image
DEBUG:gfx_device_gl: - GL_EXT_copy_buffer
DEBUG:gfx_device_gl: - GL_ARB_ES3_compatibility
DEBUG:gfx_device_gl: - GL_AMD_transform_feedback3_lines_triangles
DEBUG:gfx_device_gl: - GL_EXT_polygon_offset_clamp
DEBUG:gfx_device_gl: - GL_EXT_gpu_shader4
DEBUG:gfx_device_gl: - GL_ARB_texture_query_lod
DEBUG:gfx_device_gl: - GL_AMD_name_gen_delete
DEBUG:gfx_device_gl: - GL_EXT_packed_float
DEBUG:gfx_device_gl: - GL_ARB_vertex_attrib_binding
DEBUG:gfx_device_gl: - GL_NV_explicit_multisample
DEBUG:gfx_device_gl: - GL_ARB_texture_env_dot3
DEBUG:gfx_device_gl: - GL_ATI_draw_buffers
DEBUG:gfx_device_gl: - GL_AMD_shader_trinary_minmax
DEBUG:gfx_device_gl: - GL_ARB_depth_clamp
DEBUG:gfx_device_gl: - GL_ARB_shadow_ambient
DEBUG:gfx_device_gl: - GL_ARB_shading_language_100
DEBUG:gfx_device_gl: - GL_ARB_get_texture_sub_image
DEBUG:gfx_device_gl: - GL_ARB_viewport_array
DEBUG:gfx_device_gl: - GL_ARB_texture_compression
DEBUG:gfx_device_gl: - GL_EXT_packed_pixels
DEBUG:gfx_device_gl: - GL_ARB_texture_mirror_clamp_to_edge
DEBUG:gfx_device_gl: - GL_ARB_transform_feedback3
DEBUG:gfx_device_gl: - GL_EXT_framebuffer_multisample
DEBUG:gfx_device_gl: - GL_AMD_shader_trace
DEBUG:gfx_device_gl: - GL_ARB_conservative_depth
DEBUG:gfx_device_gl: - GL_ARB_texture_rgb10_a2ui
DEBUG:gfx_device_gl: - GL_ARB_shader_group_vote
DEBUG:gfx_device_gl: - GL_ARB_explicit_uniform_location
DEBUG:gfx_device_gl: - GL_AMD_vertex_shader_viewport_index
DEBUG:gfx_device_gl: - GL_ARB_copy_buffer
DEBUG:gfx_device_gl: - GL_ARB_half_float_pixel
DEBUG:gfx_device_gl: - GL_AMD_depth_clamp_separate
DEBUG:gfx_device_gl: - GL_EXT_pixel_buffer_object
DEBUG:gfx_device_gl: - GL_ARB_shading_language_packing
DEBUG:gfx_device_gl: - GL_ARB_half_float_vertex
DEBUG:gfx_device_gl: - GL_ARB_texture_mirrored_repeat
DEBUG:gfx_device_gl: - GL_AMD_sample_positions
DEBUG:gfx_device_gl: - GL_AMD_stencil_operation_extended
DEBUG:gfx_device_gl: - GL_ATI_texture_mirror_once
DEBUG:gfx_device_gl: - GL_EXT_texture_swizzle
DEBUG:gfx_device_gl: - GL_ARB_gpu_shader5
DEBUG:gfx_device_gl: - GL_ARB_texture_swizzle
DEBUG:gfx_device_gl: - GL_AMD_draw_buffers_blend
DEBUG:gfx_device_gl: - GL_ARB_shader_precision
DEBUG:gfx_device_gl: - GL_NV_blend_square
DEBUG:gfx_device_gl: - GL_EXT_texture_sRGB_decode
DEBUG:gfx_device_gl: - GL_KHR_robust_buffer_access_behavior
DEBUG:gfx_device_gl: - GL_ARB_color_buffer_float
DEBUG:gfx_device_gl: - GL_EXT_texture_snorm
DEBUG:gfx_device_gl: - GL_ARB_seamless_cube_map
DEBUG:gfx_device_gl: - GL_EXT_compiled_vertex_array
DEBUG:gfx_device_gl: - GL_ARB_texture_stencil8
DEBUG:gfx_device_gl: - GL_ARB_multi_bind
DEBUG:gfx_device_gl: - GL_ARB_provoking_vertex
DEBUG:gfx_device_gl: - GL_ARB_gpu_shader_fp64
DEBUG:gfx_device_gl: - GL_ARB_framebuffer_object
DEBUG:gfx_device_gl: - GL_ARB_pixel_buffer_object
DEBUG:gfx_device_gl: - GL_ARB_ES2_compatibility
DEBUG:gfx_device_gl: - GL_ARB_query_buffer_object
DEBUG:gfx_device_gl: - GL_ARB_shader_image_size
DEBUG:gfx_device_gl: - GL_EXT_vertex_array_bgra
DEBUG:gfx_device_gl: - GL_ARB_sparse_texture
DEBUG:gfx_device_gl: - GL_ARB_blend_func_extended
DEBUG:gfx_device_gl: - GL_EXT_texture_edge_clamp
DEBUG:gfx_device_gl: - GL_ARB_pipeline_statistics_query
DEBUG:gfx_device_gl: - GL_ARB_shader_texture_lod
DEBUG:gfx_device_gl: - GL_AMD_transform_feedback4
DEBUG:gfx_device_gl: - GL_ARB_imaging
DEBUG:gfx_device_gl: - GL_ARB_arrays_of_arrays
DEBUG:gfx_device_gl: - GL_EXT_packed_depth_stencil
DEBUG:gfx_device_gl: - GL_EXT_fog_coord
DEBUG:gfx_device_gl: - GL_EXT_texture_shared_exponent
DEBUG:gfx_device_gl: - GL_ARB_texture_rg
DEBUG:gfx_device_gl: - GL_ARB_uniform_buffer_object
DEBUG:gfx_device_gl: - GL_ARB_sampler_objects
DEBUG:gfx_device_gl: - GL_EXT_separate_specular_color
DEBUG:gfx_device_gl: - GL_NV_float_buffer
DEBUG:gfx_device_gl: - GL_EXT_blend_func_separate
DEBUG:gfx_device_gl: - GL_EXT_shader_image_load_store
DEBUG:gfx_device_gl: - GL_ARB_conditional_render_inverted
DEBUG:gfx_device_gl: - GL_ARB_shader_stencil_export
DEBUG:gfx_device_gl: - GL_SUN_multi_draw_arrays
DEBUG:gfx_device_gl: - GL_EXT_blend_subtract
DEBUG:gfx_device_gl: - GL_AMDX_debug_output
DEBUG:gfx_device_gl: - GL_AMD_gpu_shader_int64
DEBUG:gfx_device_gl: - GL_NV_texture_barrier
DEBUG:gfx_device_gl: - GL_EXT_texture_compression_s3tc
DEBUG:gfx_device_gl: - GL_ARB_fragment_program
DEBUG:gfx_device_gl: - GL_ARB_vertex_type_10f_11f_11f_rev
DEBUG:gfx_device_gl: - GL_ARB_texture_snorm
DEBUG:gfx_device_gl: - GL_EXT_bindable_uniform
DEBUG:gfx_device_gl: - GL_ARB_texture_query_levels
DEBUG:gfx_device_gl: - GL_ARB_texture_buffer_object
DEBUG:gfx_device_gl: - GL_ARB_texture_multisample
DEBUG:gfx_device_gl: - GL_EXT_draw_instanced
DEBUG:gfx_device_gl: - GL_ARB_depth_texture
DEBUG:gfx_device_gl: - GL_NV_half_float
DEBUG:gfx_device_gl: - GL_EXT_texture_cube_map
DEBUG:gfx_device_gl: - GL_ARB_shading_language_420pack
DEBUG:gfx_device_gl: - GL_ARB_get_program_binary
DEBUG:gfx_device_gl: - GL_EXT_texture3D
DEBUG:gfx_device_gl: - GL_KTX_buffer_region
DEBUG:gfx_device_gl: - GL_ARB_robust_buffer_access_behavior
DEBUG:gfx_device_gl: - GL_ARB_fragment_shader
DEBUG:gfx_device_gl: - GL_EXT_multi_draw_arrays
DEBUG:gfx_device_gl: - GL_ARB_fragment_layer_viewport
DEBUG:gfx_device_gl: - GL_AMD_conservative_depth
DEBUG:gfx_device_gl: - GL_ARB_point_parameters
DEBUG:gfx_device_gl: - GL_ARB_vertex_type_2_10_10_10_rev
DEBUG:gfx_device_gl: - GL_EXT_stencil_wrap
DEBUG:gfx_device_gl: - GL_NV_primitive_restart
DEBUG:gfx_device_gl: - GL_ARB_invalidate_subdata
DEBUG:gfx_device_gl: - GL_EXT_abgr
DEBUG:gfx_device_gl: - GL_EXT_vertex_array
DEBUG:gfx_device_gl: - GL_ARB_shader_ballot
DEBUG:gfx_device_gl: - GL_EXT_texture_storage
DEBUG:gfx_device_gl: - GL_EXT_blend_minmax
DEBUG:gfx_device_gl: - GL_ARB_cull_distance
DEBUG:gfx_device_gl: - GL_EXT_blend_color
DEBUG:gfx_device_gl: - GL_ARB_texture_storage_multisample
DEBUG:gfx_device_gl: - GL_AMD_blend_minmax_factor
DEBUG:gfx_device_gl: - GL_EXT_framebuffer_blit
DEBUG:gfx_device_gl: - GL_ATI_separate_stencil
DEBUG:gfx_device_gl: - GL_AMD_sparse_texture_pool
DEBUG:gfx_device_gl: - GL_ARB_clear_buffer_object
DEBUG:gfx_device_gl: - GL_AMD_multi_draw_indirect
DEBUG:gfx_device_gl: - GL_ARB_texture_rectangle
DEBUG:gfx_device_gl: - GL_EXT_blend_equation_separate
DEBUG:gfx_device_gl: - GL_ARB_texture_border_clamp
DEBUG:gfx_device_gl: - GL_ARB_shader_draw_parameters
DEBUG:gfx_device_gl: - GL_EXT_secondary_color
DEBUG:gfx_device_gl: - GL_ARB_texture_non_power_of_two
DEBUG:gfx_device_gl: - GL_ARB_shader_atomic_counters
DEBUG:gfx_device_gl: - GL_SGIS_generate_mipmap
DEBUG:gfx_device_gl: - GL_ARB_sparse_buffer
DEBUG:gfx_device_gl: - GL_ARB_buffer_storage
DEBUG:gfx_device_gl: - GL_ARB_shadow
DEBUG:gfx_device_gl: - GL_ATI_envmap_bumpmap
DEBUG:gfx_device_gl: - GL_ARB_texture_cube_map_array
DEBUG:gfx_device_gl: - GL_EXT_texture_lod_bias
DEBUG:gfx_device_gl: - GL_EXT_texture_filter_anisotropic
DEBUG:gfx_device_gl: - GL_EXT_texture_env_dot3
DEBUG:gfx_device_gl: - GL_EXT_texture_lod
DEBUG:gfx_device_gl: - GL_ARB_vertex_attrib_64bit
DEBUG:gfx_device_gl: - GL_ARB_texture_buffer_object_rgb32
DEBUG:gfx_device_gl: - GL_ARB_bindless_texture
DEBUG:gfx_device_gl: - GL_ARB_internalformat_query
DEBUG:gfx_device_gl: - GL_ARB_window_pos
DEBUG:gfx_device_gl: - GL_EXT_shadow_funcs
DEBUG:gfx_device_gl: - GL_AMD_vertex_shader_layer
DEBUG:gfx_device_gl: - GL_NV_texgen_reflection
DEBUG:gfx_device_gl: - GL_WIN_swap_hint
DEBUG:gfx_device_gl: - GL_EXT_texture_env_combine
DEBUG:gfx_device_gl: - GL_ARB_texture_env_combine
DEBUG:gfx_device_gl: - GL_ARB_tessellation_shader
DEBUG:gfx_device_gl: - GL_ARB_transform_feedback2
INFO:gfx_device_gl::factory:    Created frame buffer 1
INFO:gfx_device_gl::factory:    Created buffer 1
INFO:gfx_device_gl::factory:    Created buffer 2
INFO:gfx_device_gl::shade:      Compiled shader 1
INFO:gfx_device_gl::shade:      Compiled shader 2
INFO:gfx_device_gl::shade:      Linked program 3
INFO:gfx_device_gl::shade:              Attrib[0] = "a_Color"   F32     Vector(3)
INFO:gfx_device_gl::shade:              Attrib[1] = "a_Normal"  F32     Vector(3)
INFO:gfx_device_gl::shade:              Attrib[2] = "a_Pos"     F32     Vector(3)
INFO:gfx_device_gl::shade:              Block[0] = 'TerrainLocals' of size 192
INFO:gfx_device_gl::shade:                      Element at 0    = 'u_Model'     F32     Matrix(ColumnMajor, 4, 4)
INFO:gfx_device_gl::shade:                      Element at 64   = 'u_View'      F32     Matrix(ColumnMajor, 4, 4)
INFO:gfx_device_gl::shade:                      Element at 128  = 'u_Proj'      F32     Matrix(ColumnMajor, 4, 4)
DEBUG:gfx_device_gl::shade: Program 3 reflection: ProgramInfo { vertex_attributes: [AttributeVar { name: "a_Color", slot: 0, base_type: F32, container: Vector(3) }, AttributeVar { name: "a_Normal", slot: 1, base_type: F32, container: Vector(3) }, AttributeVar { name: "a_Pos", slot: 2, base_type: F32, container: Vector(3) }], globals: [], constant_buffers: [ConstantBufferVar { name: "TerrainLocals", slot: 0, size: 192, usage: VERTEX, elements: [ConstVar { name: "u_Model", location: 0, count: 1, base_type: F32, container: Matrix(ColumnMajor, 4, 4) }, ConstVar { name: "u_View", location: 64, count: 1, base_type: F32, container: Matrix(ColumnMajor, 4, 4) }, ConstVar { name: "u_Proj", location: 128, count: 1, base_type: F32, container: Matrix(ColumnMajor, 4, 4) }] }], textures: [], unordereds: [], samplers: [], outputs: [OutputVar { name: "Target0", slot: 0, base_type: F32, container: Vector(4) }, OutputVar { name: "Target1", slot: 1, base_type: F32, container: Vector(4) }, OutputVar { name: "Target2", slot: 2, base_type: F32, container: Vector(4) }], output_depth: false, knows_outputs: true }
INFO:gfx_device_gl::factory:    Created buffer 3
INFO:gfx_device_gl::factory:    Created buffer 4
INFO:gfx_device_gl::shade:      Compiled shader 4
INFO:gfx_device_gl::shade:      Compiled shader 5
INFO:gfx_device_gl::shade:      Linked program 6
INFO:gfx_device_gl::shade:              Sampler[0] = 't_BlitTex'        F32     D2(NoArray, NoMultiSample)
INFO:gfx_device_gl::shade:              Attrib[0] = "a_PosTexCoord"     I32     Vector(4)
DEBUG:gfx_device_gl::shade: Program 6 reflection: ProgramInfo { vertex_attributes: [AttributeVar { name: "a_PosTexCoord", slot: 0, base_type: I32, container: Vector(4) }], globals: [], constant_buffers: [], textures: [TextureVar { name: "t_BlitTex", slot: 0, base_type: F32, ty: D2(NoArray, NoMultiSample), usage: VERTEX | PIXEL }], unordereds: [], samplers: [SamplerVar { name: "t_BlitTex", slot: 0, ty: SamplerType(NoCompare, NoRect), usage: VERTEX | PIXEL }], outputs: [OutputVar { name: "Target0", slot: 0, base_type: F32, container: Vector(4) }], output_depth: false, knows_outputs: true }
INFO:gfx_device_gl::factory:    Created buffer 5
INFO:gfx_device_gl::factory:    Created buffer 6
INFO:gfx_device_gl::factory:    Created buffer 7
INFO:gfx_device_gl::shade:      Compiled shader 7
INFO:gfx_device_gl::shade:      Compiled shader 8
INFO:gfx_device_gl::shade:      Linked program 9
INFO:gfx_device_gl::shade:              Uniform[-1] = 'u_Transform'     F32     Matrix(ColumnMajor, 4, 4)
INFO:gfx_device_gl::shade:              Uniform[-1] = 'u_Radius'        F32     Single
INFO:gfx_device_gl::shade:              Uniform[-1] = 'u_CamPosAndRadius'       F32     Vector(4)
INFO:gfx_device_gl::shade:              Uniform[-1] = 'u_Lights[0].pos' F32     Vector(4)
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
ERROR:gfx_device_gl::shade: Unrecognized uniform storage: 0
INFO:gfx_device_gl::shade:              Sampler[0] = 't_Diffuse'        F32     D2(NoArray, NoMultiSample)
INFO:gfx_device_gl::shade:              Sampler[1] = 't_Normal' F32     D2(NoArray, NoMultiSample)
INFO:gfx_device_gl::shade:              Sampler[2] = 't_Position'       F32     D2(NoArray, NoMultiSample)
INFO:gfx_device_gl::shade:              Attrib[0] = "a_Pos"     I32     Vector(3)
INFO:gfx_device_gl::shade:              Attrib[-1] = "gl_InstanceID"    I32     Single
INFO:gfx_device_gl::shade:              Block[0] = 'CubeLocals' of size 68
INFO:gfx_device_gl::shade:              Block[1] = 'LightLocals' of size 16
INFO:gfx_device_gl::shade:              Block[2] = 'LightPosBlock' of size 4000
DEBUG:gfx_device_gl::shade: Program 9 reflection: ProgramInfo { vertex_attributes: [AttributeVar { name: "a_Pos", slot: 0, base_type: I32, container: Vector(3) }], globals: [ConstVar { name: "u_Transform", location: 18446744073709551615, count: 1, base_type: F32, container: Matrix(ColumnMajor, 4, 4) }, ConstVar { name: "u_Radius", location: 18446744073709551615, count: 1, base_type: F32, container: Single }, ConstVar { name: "u_CamPosAndRadius", location: 18446744073709551615, count: 1, base_type: F32, container: Vector(4) }, ConstVar { name: "u_Lights[0].pos", location: 18446744073709551615, count: 1, base_type: F32, container: Vector(4) }], constant_buffers: [ConstantBufferVar { name: "CubeLocals", slot: 0, size: 68, usage: VERTEX, elements: [] }, ConstantBufferVar { name: "LightLocals", slot: 1, size: 16, usage: PIXEL, elements: [] }, ConstantBufferVar { name: "LightPosBlock", slot: 2, size: 4000, usage: VERTEX, elements: [] }], textures: [TextureVar { name: "t_Diffuse", slot: 0, base_type: F32, ty: D2(NoArray, NoMultiSample), usage: VERTEX | PIXEL }, TextureVar { name: "t_Normal", slot: 1, base_type: F32, ty: D2(NoArray, NoMultiSample), usage: VERTEX | PIXEL }, TextureVar { name: "t_Position", slot: 2, base_type: F32, ty: D2(NoArray, NoMultiSample), usage: VERTEX | PIXEL }], unordereds: [], samplers: [SamplerVar { name: "t_Diffuse", slot: 0, ty: SamplerType(NoCompare, NoRect), usage: VERTEX | PIXEL }, SamplerVar { name: "t_Normal", slot: 1, ty: SamplerType(NoCompare, NoRect), usage: VERTEX | PIXEL }, SamplerVar { name: "t_Position", slot: 2, ty: SamplerType(NoCompare, NoRect), usage: VERTEX | PIXEL }], outputs: [OutputVar { name: "Target0", slot: 0, base_type: F32, container: Vector(4) }], output_depth: false, knows_outputs: true }
thread 'main' panicked at 'Error InvalidValue creating program: Simple(VertexShader(Shader(7)), PixelShader(Shader(8)))', src\backend\gl\src\factory.rs:235
msiglreith commented 7 years ago

A duplicate of https://github.com/gfx-rs/gfx/issues/1028 Closing inf favor of the other issue.