radv: Don't use FLAT_SHADE for constants.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 3 May 2017 17:52:12 +0000 (19:52 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 4 May 2017 00:38:14 +0000 (10:38 +1000)
commit33ad6226a056e727eb44aba3126ceed6e889dc7b
tree4076d018f4570885b9006157602119a0b3444950
parent91ab1ccbfeec9ac0a068cadc858a9e1d61d10aee
radv: Don't use FLAT_SHADE for constants.

Setting both offset to 0x20 and flat shade results in passthrough
mode instead of the constant.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Fixes: f205e19e4f8 "radv/ac: eliminate unused vertex shader outputs. (v2)"
src/amd/vulkan/radv_pipeline.c