mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
panvk: Do not clamp blend constants in command buffer
This is wrong for SNORM and this is handled by nir_lower_blend. Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37271>
This commit is contained in:
parent
1646e7d311
commit
f707f093ec
1 changed files with 1 additions and 1 deletions
|
|
@ -737,7 +737,7 @@ panvk_per_arch(cmd_prepare_draw_sysvals)(struct panvk_cmd_buffer *cmdbuf,
|
|||
if (dyn_gfx_state_dirty(cmdbuf, CB_BLEND_CONSTANTS)) {
|
||||
for (unsigned i = 0; i < ARRAY_SIZE(cb->blend_constants); i++) {
|
||||
set_gfx_sysval(cmdbuf, dirty_sysvals, blend.constants[i],
|
||||
CLAMP(cb->blend_constants[i], 0.0f, 1.0f));
|
||||
cb->blend_constants[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue