mesa: Fix pack_uint_Z_FLOAT32()
authorIllia Iorin <illia.iorin@gmail.com>
Thu, 11 Oct 2018 15:06:18 +0000 (18:06 +0300)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 11 Oct 2018 17:15:09 +0000 (10:15 -0700)
commitb18f8e63ef79b5098cb32de1670983ad1e6892fe
tree6317a16cc171e469e6efd1cea040ead783a8f474
parent24db1c7fcc43fb433af6bfe80af934c3775387f1
mesa: Fix pack_uint_Z_FLOAT32()

Fixed pack_uint_Z_FLOAT32 by casting row data to float instead uint.
Remove code duplicate function pack_uint_Z_FLOAT32_X24S8.
Edited case in "_mesa_get_pack_uint_z_func".
Now it looks like "_mesa_get_pack_float_z_func".
Remove _mesa_problem call, which was added for debuging this issue.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91433
Signed-off-by: Illia Iorin <illia.iorin@globallogic.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/main/format_pack.py
src/mesa/swrast/s_depth.c