allow non-preferred line interpolation for gles
The OpenGL ES 3.2 spec, section 13.6.2.1 ("Wide Lines") says the
following:
Change-Id: I1cff239a9cc712b9e8677966f7b3b1adfe72499a
---8<---
The preferred method of attribute interpolation for a wide line is to
generate the same attribute values for all fragments in the row or
column described above, as if the adjusted line were used for
interpolation and those values replicated to the other fragments,
except for gl_FragCoord which is interpolated as usual. An
implementation may instead interpolate each fragment according to the
formula in "Basic Line Segment Rasterization", using the original
line segment endpoints.
---8<---
However, the code that verified the interpolation only checked against
the preferred interpolation.
Luckily, we have code that does the right checking. By marking the ES2
and ES3 line-rasterization tests with a bit to allow this, we can hook
this up as appropriate.
Components: OpenGL ES, Framework
VK-GL-CTS public Issue: 273
Affected Tests:
dEQP-GLES2.functional.rasterization.interpolation.*_wide
dEQP-GLES3.functional.rasterization.interpolation.line_wide
dEQP-GLES3.functional.rasterization.fbo.rbo_singlesample.interpolation.lines_wide
dEQP-GLES3.functional.rasterization.fbo.texture_2d.interpolation.lines_wide
Change-Id: Iacd493416dc945711410eb08f73f9e234b78ec61