lima: add support for R and RG formats
authorVasily Khoruzhick <anarsoul@gmail.com>
Thu, 19 Mar 2020 02:27:12 +0000 (19:27 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 20 Mar 2020 17:00:10 +0000 (17:00 +0000)
commit1b49534df2197c59880ee703ff4dd813bc5f5231
tree928f5d0411314fa2590239f22a8ed4f72365353c
parente763c6778ced36ba5f513391fc26952aab05d8af
lima: add support for R and RG formats

Unfortunately these are not supported natively for sampling
so we have to lower them.

Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4241>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4241>
src/gallium/drivers/lima/ir/pp/codegen.c
src/gallium/drivers/lima/lima_context.h
src/gallium/drivers/lima/lima_format.c
src/gallium/drivers/lima/lima_format.h
src/gallium/drivers/lima/lima_program.c
src/gallium/drivers/lima/lima_program.h
src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c