nv50,nvc0: enable TEX_LZ and TXF_LZ
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 16 Mar 2017 03:29:47 +0000 (23:29 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 19 Mar 2017 00:37:52 +0000 (20:37 -0400)
commit0e9232dbccf45ffd7e36f8cc1837a7e5e4a295de
tree49fc29db1d49f56ee2b68b9e2a01990d2813b68b
parentdab88e9af7a35ebcdd0fc87df97f4b13e908552a
nv50,nvc0: enable TEX_LZ and TXF_LZ

There should be minimal gain, if any, for nvc0, but nv50 may end up
noticing more often that the lod argument is uniform. This, in turn,
will remove the need for some unnecessary transformations, which were
being hit due to the checks being done pre-ssa.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
src/gallium/drivers/nouveau/nv50/nv50_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c