Skip to content

Rework shader key evaluation and compress some structures

Gert Wollny requested to merge gerddie/virglrenderer:shader-key-changes into master

This series optimized the shader key evaluation so that for each shader type only those elements are evaluated that are really used. In addition structures are compressed to that their size becomes smaller, which should be more cache friendly and, since the shader keys are compared in every iteration, this memcmp should also save a few cycles.

Edited by Gert Wollny

Merge request reports