mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-23 09:49:34 -10:00
RSLC_EXTENDED, SPIR-V only. Both are what the parallel-ps3 vertex programs carry on a GPU whose driver is NVIDIA's and that has 64-bit floats: every vertex program a game has was refused there, which stopped the emulator. The core's test built its programs as a software driver gets them and never made either. - invariant gl_Position; (and any output or built-in named after its declaration) makes the variable invariant: the Invariant decoration, on the gl_PerVertex member for a built-in. - double: a 64-bit scalar. It is converted to and from the other numbers (implicitly from int, uint and float), calculated with, negated and compared; abs, sign, floor, ceil, trunc, round, fract, sqrt, min, max, clamp and mix take it. A literal converted to double keeps the value it was written with (0.000001 is the double, not the float widened), as glslang's does. A double is never folded: no vectors, block members or constant expressions of it. Float64 is declared. rslc_ext_test has the vertex stage's depth function word for word; it checks the member's decoration, the 64-bit type, the conversions and the literal's bits, and the module validates.