webgl: Set more ANGLE shader translation properties for WebGL 2.

This commit is contained in:
Josh Matthews 2019-12-19 16:42:24 -05:00
parent aa36d5f657
commit 156ad646a0
6 changed files with 225 additions and 43 deletions

View file

@ -992,4 +992,11 @@ pub struct GLLimits {
pub max_vertex_uniform_vectors: u32,
pub max_client_wait_timeout_webgl: std::time::Duration,
pub max_transform_feedback_separate_attribs: u32,
pub max_vertex_output_vectors: u32,
pub max_fragment_input_vectors: u32,
pub max_draw_buffers: u32,
pub max_color_attachments: u32,
pub max_uniform_buffer_bindings: u32,
pub min_program_texel_offset: u32,
pub max_program_texel_offset: u32,
}