summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-09-14 23:18:20 -0700
committerKenneth Graunke <[email protected]>2019-09-18 15:44:22 -0700
commit3da8a8a3d602c9ecba41a82de2c349c215b0d04e (patch)
tree7e2a64eb2fd9e41d6eb96e092e37028d092a21c4 /Android.mk
parent0e4a75f9171398261ab8bbdc974dafbcaac0161c (diff)
iris: Avoid uploading SURFACE_STATE descriptors for UBOs if possible
If we can entirely push uniform data, we don't need a SURFACE_STATE descriptor for pulling data. Since constant uploads are a very common operation, and being able to push all data is also very common, we would like to avoid the overhead in this case. This patch defers uploading new descriptors. Instead of handling that at iris_set_constant_buffer, we do it at iris_update_compiled_shaders, where we can see the currently bound shader variants. If any need pull descriptors, and descriptors are missing, we update them and flag that the binding table also needs to be refreshed. Improves performance in GFXBench5 gl_driver2 on an i7-6770HQ by 31.9774% +/- 1.12947% (n=15). Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions