gallium: add flatshade lowering capability
authorDave Airlie <airlied@redhat.com>
Thu, 24 Jan 2019 03:11:22 +0000 (13:11 +1000)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 17 Oct 2019 08:41:36 +0000 (10:41 +0200)
commit731260de7ddb30638b194f1a52a62a5b94487398
tree89296750f1eed2c21bf87285308cd6e1a395b14a
parentdc91a02a72cd677b132c00b1fae2aeffefa1de1c
gallium: add flatshade lowering capability

This allows the driver to request flatshade lowering.
(NIR drivers only so far).

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_screen.c
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_defines.h