2aa76823b5
floatBitsToUint was missing from our intrinsic list entirely, and u?intBitsToFloat were misspelled. These intrinsics aren't implemented in SPIR-V or Metal either, but that will be handled in followup CLs. Change-Id: Iaf9b9d5a2e46e25d41eef71903fad8bd1c177d4e Bug: skia:11071 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/342757 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
7 lines
90 B
GLSL
7 lines
90 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
in int a;
|
|
void main() {
|
|
sk_FragColor.x = intBitsToFloat(a);
|
|
}
|