v3d: add a helper to check if transform feedback is enabled
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 19 Jun 2019 08:23:43 +0000 (10:23 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 21 Jun 2019 06:06:13 +0000 (08:06 +0200)
commit42572f2f7df91f65ac31145380cd9d170ba4b783
treeb305a7a1e3d8b5c544114f8040fa76802574fed5
parent00a56acc235e185bb3c7e2e0a7a731cc8f444044
v3d: add a helper to check if transform feedback is enabled

v2: We should be safe assuming that bind_vs != NULL (Eric)

Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/v3d/v3d_context.h
src/gallium/drivers/v3d/v3dx_emit.c