aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2019-04-24 12:28:51 +0200
committerNeil Roberts <[email protected]>2019-06-14 09:29:53 +0200
commit230d1e8d863f917db42a4afd2623b3eeb28844c3 (patch)
tree726dd25792281294e743417f4c96da6d19ec84d3 /src/compiler/glsl
parentab74699190e2264493706cac49414d5a28618d32 (diff)
compiler/types: Making comparing record precision optional
On GLES, the interface between vertex and fragment shaders doesn’t need to have matching precision. This adds an extra argument to glsl_types::record_compare to disable the precision comparison. This will later be used for the shader interface check. In order to make this work this patch also adds a helper function to recursively compare types while ignoring the precision. v2: Call record_compare from within compare_no_precision to avoid duplicating code (Eric Anholt). Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
0 files changed, 0 insertions, 0 deletions