Shader Compile Best Practices

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Shader Compile Best Practices

1,047 Views
_Alex_
Contributor II

Trying to understand the best practice for compiling shaders on IMX8 Plus. Using function glCompileShader and glLinkProgram seems to produce really slow shader code.  Pre-compiling with Vivante IDE produced code that was 2x-3x as fast. 

Is there a way to configure the system so that run-time compiled code is as efficient as code compiled with IDE.  

In the IDE the target hardware is a configuration parameter to vCompiler.exe but I can't find similar configuration of any kind on the system?

 

Thanks, 

0 Kudos
Reply
0 Replies