etnaviv: add basic shader variant support
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 14 Mar 2017 18:57:15 +0000 (19:57 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 5 Apr 2017 17:57:56 +0000 (19:57 +0200)
commit65e9bd2703f2fce29321f3512d4a2673df2556d3
tree7446850297736c6f95a2b8805442d258a8c8d529
parent59b459ac17aedb971175d02c10b059216dec6e95
etnaviv: add basic shader variant support

This commit adds some basic infrastructure to handle shader
variants. We are still creating exactly one shader variant
for each shader.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
src/gallium/drivers/etnaviv/etnaviv_compiler.h
src/gallium/drivers/etnaviv/etnaviv_shader.c
src/gallium/drivers/etnaviv/etnaviv_shader.h