mesa/src
Illia Polishchuk 1d15dc04b5 mesa: skip extra state updates for clear calls
The glClear call updates draw state in the same way as other draw calls
with _mesa_update_state func

If currently used shader uses textures, _mesa_update_state will try to
update the shader texture state

But if the texture not set yet, before glClear call, it will detect
incompleted texture and will create dummy texture with default values
(see the update_single_program_texture func).
And this will be complete waste of time for glClear

Closes: #7128

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18459>
2022-09-12 15:22:51 +00:00
..
amd radv: fix pipelineStageCreationFeedbackCount when it's 0 2022-09-12 06:57:59 +00:00
android_stub
asahi asahi: Handle Stream Link VDM commands 2022-09-06 21:01:28 +00:00
broadcom v3dv: expose VK_EXT_primitive_topology_list_restart 2022-09-12 12:45:10 +00:00
c11 c11: #include <threads.h> when the os/platform provide it 2022-08-18 01:02:07 +00:00
compiler rusticl: nir bindings 2022-09-12 05:58:12 +00:00
drm-shim drm-shim: Cleanup on device file close 2022-05-02 19:50:33 +00:00
egl egl: Relax locking 2022-09-07 21:21:38 -07:00
etnaviv util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
freedreno tu: Retain allocated CSes in tu_autotune_on_submit 2022-09-09 07:57:54 +00:00
gallium rusticl: add README file 2022-09-12 05:58:13 +00:00
gbm Android: Use libgbm_mesa name for SDK30+ 2022-09-12 07:37:27 +00:00
getopt
glx glx: Use XSaveContext, delete glxhash.c 2022-09-08 23:43:42 +00:00
gtest gtest: Fix maybe-uninitialized compiler warning 2022-06-29 21:02:18 +00:00
hgl
imagination pvr: Add mid fragment pipeline barrier if needed. 2022-09-12 10:32:20 +01:00
imgui
intel anv: Allow aliasing with modifiers for WSI images 2022-09-12 10:44:38 +00:00
loader loader: use os_get_option for driver override 2022-09-08 19:30:38 +00:00
mapi mesa: Expose GL_NV_ES1_1_compatibility 2022-08-25 10:17:10 -07:00
mesa mesa: skip extra state updates for clear calls 2022-09-12 15:22:51 +00:00
microsoft vulkan: Add a vk_command_buffer_ops struct 2022-09-01 20:17:25 +00:00
nouveau nv50/ir: handle U8/U16 integers converting to U64 2022-09-09 17:32:30 +02:00
panfrost pan/decode: Fix job cycle detection 2022-09-12 15:12:15 +00:00
tool pps: enable track_event in system.cfg 2022-08-26 21:47:44 +00:00
util util: avoid deprecated builtin has_trivial_destructor 2022-09-08 10:53:32 +00:00
virtio virgl: Report CONSTANT_BUFFER_SIZE according to GL_MAX_UNIFORM_BLOCK_SIZE 2022-09-10 15:23:57 +00:00
vulkan vulkan/wsi: Pass wsi_image_create_info into anv_GetPhysicalDeviceImageFormatProperties2 2022-09-12 10:44:38 +00:00
meson.build meson: Remove usage of use_elf_tls 2022-07-29 23:59:11 +00:00