mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 19:55:37 +00:00
Change-Id: I40b3ad7e2d4811b0a52e75402c7d5ccda090a97c Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53809 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com>
11 lines
207 B
HLSL
11 lines
207 B
HLSL
[numthreads(1, 1, 1)]
|
|
void main() {
|
|
int exponent = 0;
|
|
float tint_tmp;
|
|
float tint_tmp_1 = frexp(1.230000019f, tint_tmp);
|
|
exponent = int(tint_tmp);
|
|
const float significand = tint_tmp_1;
|
|
return;
|
|
}
|
|
|