diff options
author | Eric Anholt <[email protected]> | 2018-07-11 14:53:57 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-07-12 11:49:22 -0700 |
commit | e8dc3c0c36e830f4b134151ac1e18d979e70f0c6 (patch) | |
tree | 867e74e7e52668698039c151769b52cf0d13f1d8 /Android.common.mk | |
parent | c17dac0534b445937a6e13fea3dabd59aac139ff (diff) |
u_blitter: Add an option to draw the triangles using an index buffer.
For V3D, the HW will interpolate slightly differently along the shared
edge of the trifan. The conformance tests manage to catch this in the
nearest_consistency_* group. To get interpolation to match, we need the
last vertex of the triangle to be shared.
I first tried implementing draw_rectangle to do triangles instead, but
that was quite a bit (147 lines) of code duplication from u_blitter, and
this seems much simpler and less likely to break as u_blitter changes.
Fixes dEQP-GLES3.functional.fbo.blit.rect.nearest_consistency_* on V3D.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'Android.common.mk')
0 files changed, 0 insertions, 0 deletions