mesa/src
Vasily Khoruzhick 336b021d36 lima: set uniforms_address lower bits properly
Looks like blob uses following values for uniforms buffer:

0 for 8 bytes
1 for 16 bytes
2 for 24 bytes
2 for 32 bytes
3 for 40 bytes
3 for 48 bytes
3 for 56 bytes
3 for 64 bytes
4 for 72 bytes

It all looks like log2(size / 8) rounded up, so let's do the same.

Fixes: 931fc2a7b3f9("lima: do not set the PP uniforms address lowest bits")
Reviewed-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
2019-09-28 10:34:19 -07:00
..
amd android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
broadcom broadcom/genxml: Stop manually scrubbing 'α' -> "alpha" 2019-09-23 20:24:54 +00:00
compiler android: compiler/nir: build nir_divergence_analysis.c 2019-09-28 15:56:28 +02:00
drm-shim
egl meson: fix logic for generating .pc files with old glvnd 2019-09-25 23:25:27 +00:00
etnaviv
freedreno turnip: Fix failure behavior of vkCreateGraphicsPipelines. 2019-09-27 13:34:28 -07:00
gallium lima: set uniforms_address lower bits properly 2019-09-28 10:34:19 -07:00
gbm libgbm: Wire up getCapability for the image loader 2019-09-20 19:10:31 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx drisw: Fix shared memory leak on drawable resize 2019-09-27 16:06:05 +00:00
gtest
hgl
imgui
intel intel/fs: Fix fs_inst::flags_read for ANY/ALL predicates 2019-09-27 19:31:43 +00:00
loader loader: Avoid use-after-free / use of uninitialized local variables 2019-09-26 18:00:34 +02:00
mapi meson: fix logic for generating .pc files with old glvnd 2019-09-25 23:25:27 +00:00
mesa shader_enums: Move MAX_DRAW_BUFFERS to this file. 2019-09-27 13:34:28 -07:00
panfrost Revert "panfrost: Rework midgard_pair_load_store() to kill the nested foreach loop" 2019-09-19 21:01:27 +02:00
util util/rb_tree: Stop relying on &iter->field != NULL 2019-09-26 20:36:41 +00:00
vulkan vulkan: Update the XML and headers to 1.1.123 2019-09-17 04:11:05 +00:00
meson.build meson: fix logic for generating .pc files with old glvnd 2019-09-25 23:25:27 +00:00
SConscript