OSDN Git Service

svga: implement support for GL_ARB_texture_query_lod
authorBrian Paul <brianp@vmware.com>
Wed, 4 Oct 2017 17:21:18 +0000 (11:21 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commit4a1976bfcf4b4843369aa9146af48ac8bf9e70d8
treebc37f294c3975274a0180ce4aaf6cbe0dcb602ac
parent252e97ecdf05ad1050823e14e2119fbe0cc266a0
svga: implement support for GL_ARB_texture_query_lod

Just translate the TGSI LODQ intruction to VGPU10 LOD instruction.
All (4) Piglit GL_ARB_texture_query_lod tests pass.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_tgsi_vgpu10.c