tgsi/scan: add uses_doubles to tgsi scanner
authorDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2015 00:40:46 +0000 (10:40 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Sep 2015 06:06:13 +0000 (16:06 +1000)
commitee67fd70c22c6389fd90886ef3ddf5bf6601b3a0
tree2fd987c645de5af70077a5c1f49d5dc0161519e7
parent3bfa345c1eb3b0ec008d29fc0c62fe941412e4c6
tgsi/scan: add uses_doubles to tgsi scanner

This allows drivers to work out if a shader contains any
double opcodes easily.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/auxiliary/tgsi/tgsi_scan.h