mesa/src/gallium/drivers/svga
Brian Paul 797e34f658 svga: change svga_destroy_shader_variant() to return void
svga_destroy_shader_variant() itself flushes and retries the command
if there's a failure.  So no need for the callers to do it.  Other
callers of the function were already ignoring the return value.

This also fixes a corner-case double-free reported by Coverity
(and reported by Dave Airlie).

Tested with various OpenGL apps.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
2018-10-09 11:17:14 -06:00
..
include svga: sync devcap name changes in svga3d_devcaps.h 2018-09-10 13:07:30 -06:00
svgadump svga: Add SVGA3dCmdIntraSurfaceCopy command support in OpenGL driver 2018-09-05 11:22:42 -06:00
Android.mk Android: generate symlinks for all enabled gallium drivers 2017-07-05 15:10:42 +01:00
Automake.inc gallium/svga: add automake target 'template' 2014-09-24 10:44:00 +01:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
Makefile.sources svga: Add the ability to log messages to vmware.log on the host. 2017-05-24 11:33:46 -06:00
meson.build meson: define driver dependencies 2017-12-04 14:35:36 -08:00
SConscript scons: use python3-compatible print() 2017-09-25 11:57:12 +01:00
svga_cmd.c svga: update device header files from upstream 2018-09-05 11:22:42 -06:00
svga_cmd.h svga: add a helper function to send ResolveCopy command 2018-09-10 13:07:30 -06:00
svga_cmd_vgpu10.c svga: fix uninitialized fields in DefineDepthStencilView/DefineStreamOutput 2018-09-20 13:20:10 -06:00
svga_context.c svga: fix context alloc error handling 2018-01-23 11:04:07 -07:00
svga_context.h svga: add have_sm4_1 flag, helper function 2018-09-10 13:07:30 -06:00
svga_debug.h svga: add DEBUG_SAMPLERS 2017-04-26 11:37:59 -06:00
svga_draw.c svga: remove unused min/max_index params to draw_vgpu10() 2018-02-01 12:17:59 -07:00
svga_draw.h svga: s/unsigned/enum pipe_prim_type/ for primitive type variables 2016-05-26 17:44:17 -06:00
svga_draw_arrays.c svga: replace gotos with conditionals in array drawing code 2017-08-21 19:04:51 -06:00
svga_draw_elements.c svga: replace gotos with conditionals in array drawing code 2017-08-21 19:04:51 -06:00
svga_draw_private.h svga: use SVGA3D_RS_FILLMODE for vgpu9 2018-08-08 08:20:10 -06:00
svga_format.c svga: add format conversion for legacy formats 2018-09-10 13:07:30 -06:00
svga_format.h svga: add format conversion for legacy formats 2018-09-10 13:07:30 -06:00
svga_hw_reg.h
svga_link.c svga: fix starting index for system values 2018-09-10 13:07:30 -06:00
svga_link.h svga: fix starting index for system values 2018-09-10 13:07:30 -06:00
svga_mksstats.h svga: add guest statistic gathering interface 2016-08-26 08:04:02 -06:00
svga_msg.c svga: Use __asm__ instead of asm 2017-11-01 15:05:26 -07:00
svga_msg.h svga: Add the ability to log messages to vmware.log on the host. 2017-05-24 11:33:46 -06:00
svga_pipe_blend.c svga: add support for independent blend function per render target 2018-09-10 13:07:30 -06:00
svga_pipe_blit.c svga: assorted fixes/changes in svga_pipe_blit.c 2018-09-10 13:07:30 -06:00
svga_pipe_clear.c gallium: add storage_sample_count parameter into is_format_supported 2018-07-31 18:28:41 -04:00
svga_pipe_constants.c gallium: s/uint/enum pipe_shader_type/ for set_constant_buffer() 2017-03-08 08:50:20 -07:00
svga_pipe_depthstencil.c svga: implement no-op svga_set_min_samples() 2018-09-10 13:07:30 -06:00
svga_pipe_draw.c svga: if svga_update_state() fails, skip the draw call 2018-03-02 12:23:50 -07:00
svga_pipe_flush.c gallium: add type parameter to create_fence_fd 2018-01-30 15:13:49 -05:00
svga_pipe_fs.c svga: change svga_destroy_shader_variant() to return void 2018-10-09 11:17:14 -06:00
svga_pipe_gs.c svga: change svga_destroy_shader_variant() to return void 2018-10-09 11:17:14 -06:00
svga_pipe_misc.c svga: Move setting the rendered_to flags to framebuffer emit time 2017-04-26 11:37:59 -06:00
svga_pipe_query.c svga: add num-commands-per-draw HUD query 2018-01-17 11:17:56 -07:00
svga_pipe_rasterizer.c svga: draw round points when msaa is enabled 2018-09-10 13:07:30 -06:00
svga_pipe_sampler.c svga: fix PIPE_TEXTURE_RECT/BUFFER const buffer issue 2018-08-29 11:29:07 -06:00
svga_pipe_streamout.c svga: s/unsigned/enum tgsi_semantic/ 2017-07-11 08:09:14 -06:00
svga_pipe_vertex.c svga: minor whitespace fixes in svga_pipe_vertex.c 2017-06-22 13:33:48 -06:00
svga_pipe_vs.c svga: change svga_destroy_shader_variant() to return void 2018-10-09 11:17:14 -06:00
svga_public.h
svga_resource.c svga: add sample count to the surface_can_create interface 2018-09-10 13:07:30 -06:00
svga_resource.h
svga_resource_buffer.c svga: create buffer surfaces for incompatible bind flags 2017-06-27 07:49:02 -06:00
svga_resource_buffer.h svga: create buffer surfaces for incompatible bind flags 2017-06-27 07:49:02 -06:00
svga_resource_buffer_upload.c svga: set buffer bind_flags in svga_buffer_add_host_surface() 2018-09-10 13:07:30 -06:00
svga_resource_buffer_upload.h svga: create buffer surfaces for incompatible bind flags 2017-06-27 07:49:02 -06:00
svga_resource_texture.c svga: fix texture array layer index in transfer map 2018-09-20 13:20:10 -06:00
svga_resource_texture.h svga: fix texture array layer index in transfer map 2018-09-20 13:20:10 -06:00
svga_sampler_view.c svga: update device header files from upstream 2018-09-05 11:22:42 -06:00
svga_sampler_view.h svga: add const qualifiers on svga_check_sampler_view_resource_collision() 2017-04-26 11:37:59 -06:00
svga_screen.c svga: Enable Opengl 3.3 compatibility profile 2018-09-20 13:20:10 -06:00
svga_screen.h svga: add new num-failed-allocations HUD query 2017-06-16 17:04:08 -06:00
svga_screen_cache.c svga: sync with upstream changes to surface flags 2018-09-05 11:22:42 -06:00
svga_screen_cache.h svga: sync with upstream changes to surface flags 2018-09-05 11:22:42 -06:00
svga_shader.c svga: change svga_destroy_shader_variant() to return void 2018-10-09 11:17:14 -06:00
svga_shader.h svga: change svga_destroy_shader_variant() to return void 2018-10-09 11:17:14 -06:00
svga_state.c svga: let svga_update_state_retry() return a bool 2018-03-02 12:23:50 -07:00
svga_state.h svga: remove obsolete code to reemit gs binding 2018-09-10 13:07:30 -06:00
svga_state_constants.c svga: fix PIPE_TEXTURE_RECT/BUFFER const buffer issue 2018-08-29 11:29:07 -06:00
svga_state_framebuffer.c svga: tweak pre-VGPU10 rasterization offsets 2017-10-03 12:07:05 -06:00
svga_state_fs.c svga: fix vgpu9 sprite coordinate bug 2018-08-29 11:29:07 -06:00
svga_state_gs.c svga: remove obsolete code to reemit gs binding 2018-09-10 13:07:30 -06:00
svga_state_need_swtnl.c svga: fix crash regression since e027935a79 2017-03-02 10:11:19 -07:00
svga_state_rss.c svga: use SVGA3D_RS_FILLMODE for vgpu9 2018-08-08 08:20:10 -06:00
svga_state_sampler.c svga: add format conversion for legacy formats 2018-09-10 13:07:30 -06:00
svga_state_tgsi_transform.c svga: do not emulate wide points in GS when doing transform feedback 2017-04-07 13:46:43 -06:00
svga_state_tss.c svga: Check rasterization state object before checking poly_stipple_enable 2018-01-29 21:04:49 -07:00
svga_state_vdecl.c gallium: decrease the size of pipe_vertex_buffer - 24 -> 16 bytes 2017-05-10 19:00:16 +02:00
svga_state_vs.c svga: replace gotos with else clauses 2018-02-15 09:49:06 -07:00
svga_streamout.h svga: rebind stream output targets 2016-03-21 13:37:40 -06:00
svga_surface.c svga: Use texture_copy_region instead of texture_copy_handle for multisampling 2018-09-10 13:07:30 -06:00
svga_surface.h svga: fix cubemap array rendering with backed surface view 2018-09-10 13:07:30 -06:00
svga_swtnl.h gallium: remove pipe_index_buffer and set_index_buffer 2017-05-10 19:00:16 +02:00
svga_swtnl_backend.c svga: whitespace, formatting fixes in svga_swtnl_backend.c 2017-07-12 10:58:14 -06:00
svga_swtnl_draw.c svga: whitespace, formatting fixes in svga_swtnl_draw.c 2017-07-12 10:58:14 -06:00
svga_swtnl_private.h svga: s/unsigned/enum pipe_prim_type/ for primitive type variables 2016-05-26 17:44:17 -06:00
svga_swtnl_state.c svga: add TGSI_SEMANTIC_FACE switch case in svga_swtnl_update_vdecl() 2018-08-08 08:20:10 -06:00
svga_tgsi.c svga: s/unsigned/enum pipe_shader_type/ 2018-02-15 09:05:09 -07:00
svga_tgsi.h svga: s/unsigned/enum pipe_shader_type/ 2018-02-15 09:05:09 -07:00
svga_tgsi_decl_sm30.c svga: add missing switch cases for shadow textures 2018-08-29 11:29:07 -06:00
svga_tgsi_emit.h svga: replace unsigned with proper enum names 2018-03-23 09:03:26 -06:00
svga_tgsi_insn.c svga: replace unsigned with proper enum names 2018-03-23 09:03:26 -06:00
svga_tgsi_vgpu10.c svga: Apply texcoord scale factors only if there is sampler view 2018-09-20 13:20:10 -06:00
svga_winsys.h svga: add sample count to the surface_can_create interface 2018-09-10 13:07:30 -06:00