svga/tgsi: add translation for DTRUNC
authorCharmaine Lee <charmainel@vmware.com>
Fri, 6 May 2022 21:45:55 +0000 (14:45 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 10 May 2022 21:17:01 +0000 (21:17 +0000)
commit6253a23eff4dc13fdb4da9335b21d1942d63bc5c
treebbcece4caa20920fc1f8849607ae6c715586ef33
parente73443b7a502c06637d2eac0e8ef1c5cf449a341
svga/tgsi: add translation for DTRUNC

DTRUNC is not lowered in glsl-nir-tgsi path. Add the translation
in svga_tgsi_vgpu10().

Reviewed-by: Neha Bhende <bhenden@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16412>
src/gallium/drivers/svga/svga_tgsi_vgpu10.c