Re: [Mesa-dev] [PATCH 06/11] etnaviv: pass a preallocated variant to compiler

2017-03-27 Thread Lucas Stach
Am Sonntag, den 26.03.2017, 16:13 +0200 schrieb Christian Gmeiner: > 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_sha

[Mesa-dev] [PATCH 06/11] etnaviv: pass a preallocated variant to compiler

2017-03-26 Thread Christian Gmeiner
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: