commit | 9da54fdcb5b591a7d6c96871e92f8b183c0a5130 | [log] [tgz] |
---|---|---|
author | Christian Gmeiner <christian.gmeiner@gmail.com> | Sun Mar 19 16:32:40 2017 +0100 |
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | Wed Apr 05 19:58:07 2017 +0200 |
tree | 0abb110cb69f3a9bed76a647ced1699877454c3b | |
parent | ffd47623102a7c873684c5024d87747d280d3d5d [diff] |
etnaviv: pass a preallocated variant to compiler In the long run the compiler needs to know the specifc variant 'key' in order to compile appropriate assembly. With this commit the variant knows its shader and we are able pass the preallocated variant into etna_compile_shader(..). This saves us from passing extra ptrs everywhere. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de>