tgsi/scan: add uses_derivatives (v2)
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 1 Jun 2016 11:17:29 +0000 (13:17 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 7 Jun 2016 21:45:17 +0000 (23:45 +0200)
commitd3a584defec988faa09960adea90545399440827
tree973e7efd0b1f1271fa9795961a7b9fc9c19768ac
parentb7a0c0ec7f5626bbec4904e6754f27087120ec54
tgsi/scan: add uses_derivatives (v2)

v2:
- TG4 does not calculate derivatives (Ilia)
- also handle SAMPLE* instructions (Roland)

Cc: 12.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/auxiliary/tgsi/tgsi_scan.h