HLSL: add optional position.Y inversion
Adds command line options:
--invert-y
--iy
(synonyms) which invert position.Y on vertex shader output. Handles these cases:
* Direct single variable return
* Member of direct returned struct
* Single variable output parameter
* Member of struct output parameter
API:
// Enables position.Y output negation in vertex shader
void TShader::setInvertY(bool invert);
Fixes #1173
Showing
Test/baseResults/hlsl.y-negate-1.vert.out
0 → 100644
Test/baseResults/hlsl.y-negate-2.vert.out
0 → 100644
Test/baseResults/hlsl.y-negate-3.vert.out
0 → 100644
Test/hlsl.y-negate-1.vert
0 → 100644
Test/hlsl.y-negate-2.vert
0 → 100644
Test/hlsl.y-negate-3.vert
0 → 100644
Please
register
or
sign in
to comment