broadcom/vc4: Switch the Viewport Center fields to a fixed-point representation.
authorEric Anholt <eric@anholt.net>
Wed, 12 Jul 2017 22:56:00 +0000 (15:56 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 25 Jul 2017 21:44:52 +0000 (14:44 -0700)
commitb3c78a51f33a26b57f4bec64bab73ea720c1e619
tree32b74b7c012fdc6e5886da80409e5563a4ce9317
parent299c9a2db1391f222e784aa54b4b5e321afdffc6
broadcom/vc4: Switch the Viewport Center fields to a fixed-point representation.

This gets us automatic CL decoding to a floating-point value, and drops a
magic number from the emit code.  250x250 shader runner tests now say they
have a center of 125.0 instead of 2000.
src/broadcom/cle/v3d_packet_v21.xml
src/gallium/drivers/vc4/vc4_emit.c