mesa/src
Iván Briano b71957635f anv: stop tracking color blend state in the pipeline
Now that all color blend bits are dynamic, emit_cb_state() is doing
almost nothing and half of that is wrong.

In the case that color write enable is dynamic, at the time the pipeline
state is emitted, it sees all the color attachments as having write
disabled and stores the WriteDisabled bit for each channel.
When all dynamic state is flushed, we have the right values already but
the values recorded into the command buffer get ORed with the ones
stored in the pipeline, and so WriteDisabled tag along when they
shouldn't.

Since all disabled color attachments are handled already when dynamic
state is flushed, there's no point in doing so at pipeline creation
time too. And since the only other thing done by emit_cb_state() is
writing three hardcoded values, they might as well be taken care of in
the same place as everything else.

Fixes CTS from the future:
dEQP-VK.pipeline.*.extended_dynamic_state.*.color_blend_equation_*dynamic*
dEQP-VK.pipeline.*.extended_dynamic_state.*.color_blend_all_*

Fixes: fc3fd7c69e (anv: dynamic color write mask)

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21509>
2023-02-24 22:07:52 +00:00
..
amd nir,amd: add and use nir_intrinsic_load_esgs_vertex_stride_amd 2023-02-24 21:27:24 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi nir: add assertions that loops don't have a Continue Construct 2023-02-21 10:41:11 +00:00
broadcom spirv: Always emit deref_buffer_array_length intrinsics 2023-02-24 20:37:10 +00:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir,amd: add and use nir_intrinsic_load_esgs_vertex_stride_amd 2023-02-24 21:27:24 +00:00
drm-shim drm-shim: Use hide_drm_device_path() to hide other drm devices 2022-12-30 15:51:11 -08:00
egl egl: include directly the useful vulkan header, instead of including everything 2023-02-23 18:31:22 +00:00
etnaviv ci/etnaviv: Drop one more gc7000 xfail. 2023-02-24 07:31:36 +00:00
freedreno spirv: Always emit deref_buffer_array_length intrinsics 2023-02-24 20:37:10 +00:00
gallium nir,amd: add and use nir_intrinsic_load_esgs_vertex_stride_amd 2023-02-24 21:27:24 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glx: include directly the useful vulkan header, instead of including everything 2023-02-23 18:31:22 +00:00
gtest
imagination pvr: Remove component_alignment 2023-02-24 14:36:36 +00:00
imgui
intel anv: stop tracking color blend state in the pipeline 2023-02-24 22:07:52 +00:00
loader loader: do not check the mesa DRI_Mesa version if it was not found 2023-02-22 15:07:24 +00:00
mapi glthread: convert (Multi)DrawIndirect into direct if user buffers are present 2023-02-18 09:31:41 -05:00
mesa spirv: Always emit deref_buffer_array_length intrinsics 2023-02-24 20:37:10 +00:00
microsoft spirv: Always emit deref_buffer_array_length intrinsics 2023-02-24 20:37:10 +00:00
nouveau nir: add assertions that loops don't have a Continue Construct 2023-02-21 10:41:11 +00:00
panfrost spirv: Always emit deref_buffer_array_length intrinsics 2023-02-24 20:37:10 +00:00
tool tool/pps: Fix 32-bit build issue with format string 2023-01-18 19:27:41 +00:00
util util/process_test: make the error variable static 2023-02-24 13:30:09 +01:00
virtio meson: replace vk_wsi_args with dependencies to let meson take care of transitivity 2023-02-23 09:42:46 +00:00
vulkan vulkan: track the right value on CmdSetColorWriteMasks 2023-02-24 22:07:52 +00:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00