mesa/src
Alejandro Piñeiro 1b4a9c7d45 v3dv: properly return OOM error during pipeline creation
So far we were just asserting or aborting if any of the internal
method used during the pipeline creation failed.

We needed to change the return value of several methods, in order to
bubble up the proper memory allocation error.

Note that as the pipeline creation is complex and splitted in several
methods, if an error happens in the middle, it returns back, and rely
on the higher level to call PipelineDestroy. This method needs to take
into account that some of the resources could have not been allocated
when freeing it.

Also note that v3dv_get_shader_variant is used during the pipeline
bind, as with the new resources bound, we need to check if we need to
recompile a new variant. At that moment we are not creating a new
vulkan object so we can really return a OOM error. For now we just
assert on that case.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
2020-10-13 21:21:30 +00:00
..
amd aco: fix get_ssbo_size with a vgpr resource 2020-10-13 14:20:28 +00:00
android_stub mesa: Make the android_stub be a set of non-installed shared libraries. 2020-09-22 17:09:22 +00:00
broadcom v3dv: properly return OOM error during pipeline creation 2020-10-13 21:21:30 +00:00
compiler scons: fix SPIR-V -> NIR build 2020-10-13 16:53:10 +01:00
drm-shim drm-shim: Fix unused variable warnings from asserts in release build. 2020-08-28 22:45:08 +00:00
egl egl/android: HAVE_DRM_GRALLOC path fixes (v2) 2020-09-07 23:33:15 +02:00
etnaviv etnaviv: replace all dup() with os_dupfd_cloexec() 2020-06-18 02:09:56 +00:00
freedreno turnip: Add support for GetSwapchainGrallocUsage2ANDROID(). 2020-10-08 21:04:01 +00:00
gallium v3d/compiler: num_tex_used on v3d_key 2020-10-13 21:21:25 +00:00
gbm gallium: rename pipe_transfer_usage -> pipe_map_flags 2020-09-22 03:20:54 +00:00
getopt
glx glx: Allow depth-30 pbuffers to work without a depth-30 pixmap format 2020-09-17 14:28:24 -04:00
gtest gtest: Update to 1.10.0 2020-04-20 11:57:11 +00:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel radv/aco,nir/lower_subgroups: don't lower elect 2020-10-13 12:47:20 +00:00
loader driconf: Make the driver's declarations be structs instead of XML. 2020-10-02 23:59:52 +00:00
mapi glthread: handle glInterleavedArrays 2020-10-07 09:50:18 -04:00
mesa glsl: Initialize ir_to_mesa_visitor members in constructor. 2020-10-13 21:07:24 +00:00
panfrost pan/bi: Range check newc/oldc when rewriting 2020-10-10 17:15:03 -04:00
util util/xmlconfig: Initialize xmlconfig member options in constructor. 2020-10-13 13:34:53 -07:00
virtio virgl: update protocol headers 2020-08-21 18:38:44 +00:00
vulkan vulkan/wsi/display: add option for display fence to signal syncobj 2020-09-24 13:20:00 +00:00
meson.build v3dv: add v3d vulkan driver skeleton 2020-10-13 21:21:24 +00:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00