-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
- Loading branch information
Showing
11 changed files
with
224 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
@fragment | ||
fn main() { | ||
let v = vec4(0f); | ||
let a = degrees(1f); | ||
let b = radians(1f); | ||
let c = degrees(v); | ||
let d = radians(v); | ||
let e = saturate(v); | ||
let g = refract(v, v, 1f); | ||
let sign_b = vec4<i32>(-1i, -1i, -1i, -1i); | ||
let sign_d = vec4<f32>(-1f, -1f, -1f, -1f); | ||
let const_dot = dot(vec2<i32>(), vec2<i32>()); | ||
let flb_b = vec2<i32>(-1i, -1i); | ||
let flb_c = vec2<u32>(0u, 0u); | ||
let ftb_c = vec2<i32>(0i, 0i); | ||
let ftb_d = vec2<u32>(0u, 0u); | ||
let ctz_e = vec2<u32>(32u, 32u); | ||
let ctz_f = vec2<i32>(32i, 32i); | ||
let ctz_g = vec2<u32>(0u, 0u); | ||
let ctz_h = vec2<i32>(0i, 0i); | ||
let clz_c = vec2<i32>(0i, 0i); | ||
let clz_d = vec2<u32>(31u, 31u); | ||
let lde_a = ldexp(1f, 2i); | ||
let lde_b = ldexp(vec2<f32>(1f, 2f), vec2<i32>(3i, 4i)); | ||
let modf_a = modf(1.5f); | ||
let modf_b = modf(1.5f).fract; | ||
let modf_c = modf(1.5f).whole; | ||
let modf_d = modf(vec2<f32>(1.5f, 1.5f)); | ||
let modf_e = modf(vec4<f32>(1.5f, 1.5f, 1.5f, 1.5f)).whole.x; | ||
let modf_f = modf(vec2<f32>(1.5f, 1.5f)).fract.y; | ||
let frexp_a = frexp(1.5f); | ||
let frexp_b = frexp(1.5f).fract; | ||
let frexp_c = frexp(1.5f).exp; | ||
let frexp_d = frexp(vec4<f32>(1.5f, 1.5f, 1.5f, 1.5f)).exp.x; | ||
const v = vec4(0f); | ||
const a = degrees(1f); | ||
const b = radians(1f); | ||
const c = degrees(v); | ||
const d = radians(v); | ||
const e = saturate(v); | ||
const g = refract(v, v, 1f); | ||
const sign_b = vec4<i32>(-1i, -1i, -1i, -1i); | ||
const sign_d = vec4<f32>(-1f, -1f, -1f, -1f); | ||
const const_dot = dot(vec2<i32>(), vec2<i32>()); | ||
const flb_b = vec2<i32>(-1i, -1i); | ||
const flb_c = vec2<u32>(0u, 0u); | ||
const ftb_c = vec2<i32>(0i, 0i); | ||
const ftb_d = vec2<u32>(0u, 0u); | ||
const ctz_e = vec2<u32>(32u, 32u); | ||
const ctz_f = vec2<i32>(32i, 32i); | ||
const ctz_g = vec2<u32>(0u, 0u); | ||
const ctz_h = vec2<i32>(0i, 0i); | ||
const clz_c = vec2<i32>(0i, 0i); | ||
const clz_d = vec2<u32>(31u, 31u); | ||
const lde_a = ldexp(1f, 2i); | ||
const lde_b = ldexp(vec2<f32>(1f, 2f), vec2<i32>(3i, 4i)); | ||
const modf_a = modf(1.5f); | ||
const modf_b = modf(1.5f).fract; | ||
const modf_c = modf(1.5f).whole; | ||
const modf_d = modf(vec2<f32>(1.5f, 1.5f)); | ||
const modf_e = modf(vec4<f32>(1.5f, 1.5f, 1.5f, 1.5f)).whole.x; | ||
const modf_f = modf(vec2<f32>(1.5f, 1.5f)).fract.y; | ||
const frexp_a = frexp(1.5f); | ||
const frexp_b = frexp(1.5f).fract; | ||
const frexp_c = frexp(1.5f).exp; | ||
const frexp_d = frexp(vec4<f32>(1.5f, 1.5f, 1.5f, 1.5f)).exp.x; | ||
} |
Oops, something went wrong.