SPIRV-Cross/reference/opt/shaders/tese
Hans-Kristian Arntzen 7a6c2da9aa GLSL: Handle more proper semantics for RelaxedPrecision.
GLSL and RelaxedPrecision are quite different in what they affect.
RelaxedPrecision affects operations, while this is merely implied in
GLSL based on inputs.

This leads to situations where we have to promote mediump inputs to
highp, and the simplest approach is to force highp temporaries for
inputs which are consumed in a highp context. For completeness, we also
demote RelaxedPrecision inputs to mediump variables.

PHI is handled by copying the PHI into a temporary.

We have to be very careful with hoisted temporaries, since the child
temporary will not be analyzed up-front. We inherit the hoisted-ness
state and emit the hoisted child temporary as necessary. When faking the
temporaries with OpCopyObject, we make sure to block any variable
hoisting.

Hoisting children of PHI variables is fine, since PHIs are not hoisted with
the same framework as other temporaries.
2022-05-02 15:11:24 +02:00
..
ccw.tese Add reference output for --opt. 2017-11-23 09:50:11 +01:00
cw.tese Add reference output for --opt. 2017-11-23 09:50:11 +01:00
equal.tese Add reference output for --opt. 2017-11-23 09:50:11 +01:00
fractional_even.tese Add reference output for --opt. 2017-11-23 09:50:11 +01:00
fractional_odd.tese Add reference output for --opt. 2017-11-23 09:50:11 +01:00
input-array.tese Fix input array size in tessellation evaluation shaders. 2019-01-09 10:47:16 +01:00
line.tese Add reference output for --opt. 2017-11-23 09:50:11 +01:00
load-array-of-array.tese GLSL: Fix issue with array-of-array inputs in tess. 2019-11-04 10:34:49 +01:00
patch-input-array.tese GLSL: Fix array of input patch variables. 2019-12-10 12:02:12 +01:00
triangle.tese Add reference output for --opt. 2017-11-23 09:50:11 +01:00
water_tess.tese GLSL: Handle more proper semantics for RelaxedPrecision. 2022-05-02 15:11:24 +02:00