pan/midgard: Use shader stage in mir_op_computes_derivative
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 18 Nov 2019 13:02:58 +0000 (08:02 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 18 Nov 2019 13:48:54 +0000 (08:48 -0500)
commit36633400499d109865eefd0e226fcd78cf33e02f
tree10cce0b2ed9451d5805c7760a4e389b201ea110d
parent6f17fe0606a144f977d8b70a7ee9f8371abc144b
pan/midgard: Use shader stage in mir_op_computes_derivative

A 'normal' texture op may be emitted in a vertex shader on T720 but it
still doesn't take any derivatives.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/midgard_derivatives.c
src/panfrost/midgard/midgard_emit.c