RenderCommands: try to resolve API shader at command build time
This ensures that if a commands keeps being rebuilt, it will be usage
for the current frame, assuming the shader exists.
This aligns the RHI renderer with what the GL renderer does.
The instanced-arrays-qml is a good way to verify that a command
that keeps being rebuilt is rendered correctly.
Change-Id: Ie9e574e98efeec6eb836af613d28cbf4cdf2fef5
Reviewed-by: Mike Krus <mike.krus@kdab.com>
| commit | 8e4233d6b1ae1517a711e361e9af8739dc8f5579 |
| parent | 76a13b7cf7bdea2344b65f775226a22a17fa78c6 |
| author | Paul Lemire <paul.lemire@kdab.com> |
| committer | Paul Lemire <paul.lemire@kdab.com> |
| commit time | Fri, 18 Sep 2020 14:33:44 +0200 |