summaryrefslogtreecommitdiffstats
path: root/tests/manual/paintedtexture-cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2020-08-10 14:24:26 +0200
committerPaul Lemire <paul.lemire@kdab.com>2020-08-18 16:36:09 +0200
commit30e2c852c03d3aa4cd7ad29abdd48c2bd7103983 (patch)
tree27bedf55841a1b3233eff477bd46fbcebf0b0473 /tests/manual/paintedtexture-cpp
parentfabb3eb8e8bc1aeae8d0d6cad8c68c317c653b77 (diff)
rhi pipelineuboset: handle more commands uniforms that can fit in a single UBO
We create a pool of UBOs based on a relatively low max UBO size (16384). For each command, we then create bindings that point to the correct UBO in the pool with the proper local offset based on the command index. This allows to handle as much commands using the same pipeline as we can. Change-Id: I06a8e722090e5f70bd473847e2c308a987b0d94c Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'tests/manual/paintedtexture-cpp')
0 files changed, 0 insertions, 0 deletions