freedreno: a2xx: cleanup init_shader_const
authorJonathan Marek <jonathan@marek.ca>
Wed, 16 Jan 2019 21:06:11 +0000 (16:06 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 21 Jan 2019 14:21:51 +0000 (09:21 -0500)
commit6ef7700ac61f30a3136937722a54e98314f85bbc
tree738fbe43aee005526dfc86d4aea04998e2005191
parent0a793c78a35ecadad088e34fcc1088f5126e636d
freedreno: a2xx: cleanup init_shader_const

Only 3 vertices are used so we can drop the data for vertex 4

It doesn't make sense to have 1.1 for some coordinates, use 1.0 instead

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_context.c
src/gallium/drivers/freedreno/a2xx/fd2_draw.c
src/gallium/drivers/freedreno/a2xx/fd2_gmem.c