mesa/src
Iago Toral Quiroga 8525cb1c53 v3dv: call util_cpu_detect() when initializing the instance
Fixes this assert in debug builds:

in __GI___assert_fail (assertion=0x7ffff731f66b "util_cpu_caps.nr_cpus >= 1", file=0x7ffff731f650 "../src/util/u_cpu_detect.h", line=116,
  function=0x7ffff7323280 <__PRETTY_FUNCTION__.11654> "util_get_cpu_caps") at assert.c:101
in util_get_cpu_caps () at ../src/util/u_cpu_detect.h:116
in _mesa_float_to_float16_rtz (val=0) at ../src/util/half_float.h:93
in util_format_r16g16b16a16_float_pack_rgba_float (dst_row=0x7fffffffbdc0 "", dst_stride=0, src_row=0x7fffffffbf90, src_stride=0, width=1, height=1)
   at src/util/format/u_format_table.c:13459
in util_format_pack_rgba (format=PIPE_FORMAT_R16G16B16A16_FLOAT, dst=0x7fffffffbdc0, src=0x7fffffffbf90, w=1) at ../src/util/format/u_format.h:1525
in util_pack_color (rgba=0x7fffffffbf90, format=PIPE_FORMAT_R16G16B16A16_FLOAT, uc=0x7fffffffbdc0) at ../src/gallium/auxiliary/util/u_pack_color.h:432
in v3dv_get_hw_clear_color (color=0x7fffffffbf90, internal_type=6, internal_size=8, hw_color=0x7fffffffbf10) at ../src/broadcom/vulkan/v3dv_cmd_buffer.c:1241

v2: move call from physical device to instance init.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9408>
2021-03-10 11:44:01 +01:00
..
amd radv: check if dynamic line stipple state changed 2021-03-10 07:21:46 +00:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom v3dv: call util_cpu_detect() when initializing the instance 2021-03-10 11:44:01 +01:00
compiler compiler/nir: Increment shader input count and mark as used when adding new gl_PointCoord 2021-03-09 21:24:35 +00:00
drm-shim drm-shim: report support for timeline semaphores 2021-02-09 21:08:52 +00:00
egl egl: use render node for wl_drm if available 2021-03-09 15:43:51 +00:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno shader_info: convert textures_used to a bitset. 2021-03-10 06:16:09 +10:00
gallium freedreno/a5xx: Flush depth at the end of sysmem, like a6xx does. 2021-03-09 21:46:58 +00:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx Adjust dylib compatibility versions to match what was set by mesa-18.3's autotools-based builds 2021-02-22 21:27:19 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel/blorp: Fix condition to figure out aux_address 2021-03-09 22:39:43 -08:00
loader loader: Silence a warning at -Og 2021-02-18 20:59:43 +00:00
mapi glapi: keep declspec(thread) msvc-specific 2021-02-24 13:47:30 +00:00
mesa shader_info: convert textures_used to a bitset. 2021-03-10 06:16:09 +10:00
microsoft microsoft/compiler: Don't separate phis while inserting upcasts 2021-03-09 01:41:32 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost util/panfrost/glsl: rename BITSET_LAST_BIT to BITSET_LAST_BIT_SIZED 2021-03-10 06:15:50 +10:00
util util/bitset: add a new last bit api 2021-03-10 06:16:05 +10:00
virtio virgl: implement support for PIPE_CAP_STRING_MARKER 2021-03-09 13:57:05 +00:00
vulkan vulkan/device_select: Only call vkGetPhysicalDeviceProperties2 if the device supports it. 2021-03-09 15:00:57 +00:00
meson.build nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
SConscript