TGSI has a different model for precise than GLSL, so we have to mark all outputs that has gotten an precise operation output to it as precise. This only implements part of the 'precise' keyword (still lacking support on individual operations), but it's enough to pass some dEQP tests, in particular: - dEQP-GLES31.functional.tessellation.common_edge.triangles_equal_spacing_precise - dEQP-GLES31.functional.tessellation.common_edge.triangles_fractional_odd_spacing_precise - dEQP-GLES31.functional.tessellation.common_edge.triangles_fractional_even_spacing_precise - dEQP-GLES31.functional.tessellation.common_edge.quads_equal_spacing_precise - dEQP-GLES31.functional.tessellation.common_edge.quads_fractional_odd_spacing_precise - dEQP-GLES31.functional.tessellation.common_edge.quads_fractional_even_spacing_precise v2: flipped ordering of "invariant" and "precise", to avoid compiler errors if both are emitted. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Signed-off-by: Dave Airlie <airlied@redhat.com>macos/master
parent
ef70cef58b
commit
47387e4066
Loading…
Reference in new issue