gm107/ir: fix compile time warning in getTEXSMask
authorKarol Herbst <kherbst@redhat.com>
Wed, 7 Nov 2018 12:34:29 +0000 (13:34 +0100)
committerKarol Herbst <kherbst@redhat.com>
Wed, 7 Nov 2018 16:48:58 +0000 (17:48 +0100)
commitf7fae7f64e126d0a92bc1f5f875164f77232364d
tree0991ad7e8f9375a9f499071fa1bf2a1c82af86c8
parent32b0eb51a310ef3d6605cdb31c70a10202463e6d
gm107/ir: fix compile time warning in getTEXSMask

In function 'uint8_t nv50_ir::getTEXSMask(uint8_t)':
warning: control reaches end of non-void function [-Wreturn-type]

Reported-by: Moiman@freenode
Fixes: f821e80213e38e93f96255b3deacb737a600ed40
       "gm107/ir: use scalar tex instructions where possible"
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp