Implement EXT_frag_depth

This commit is contained in:
Alexandrov Sergey 2020-05-11 10:43:33 +03:00
parent 4d541e8e38
commit 50e15486b6
7 changed files with 97 additions and 4 deletions

View file

@ -122,7 +122,9 @@ pub enum WebGLVersion {
}
/// Defines the GLSL version supported by the WebGL backend contexts.
#[derive(Clone, Copy, Debug, Deserialize, Eq, MallocSizeOf, PartialEq, Serialize)]
#[derive(
Clone, Copy, Debug, Deserialize, Eq, MallocSizeOf, Ord, PartialEq, PartialOrd, Serialize,
)]
pub struct WebGLSLVersion {
/// Major GLSL version
pub major: u32,