v3d: Implement noperspective varyings on V3D 4.x

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 9 July 2018 18:48 EDT

Fixes a bunch of piglit interpolation tests, and reduces my concern about some MSAA blit shaders with noperspective varyings.

beeb94402f v3d: Implement noperspective varyings on V3D 4.x.
src/broadcom/cle/v3d_packet_v33.xml | 2 +-
src/broadcom/compiler/nir_to_vir.c | 4 +---
src/broadcom/compiler/v3d_compiler.h | 4 ++++
src/broadcom/compiler/vir.c | 3 +++
src/gallium/drivers/v3d/v3d_context.h | 1 +
src/gallium/drivers/v3d/v3d_program.c | 5 +++++
src/gallium/drivers/v3d/v3dx_emit.c | 25 +++++++++++++++++++++++++
7 files changed, 40 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share