mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 12:48:30 +02:00
radv: fix regression in blit2d push constant change.
These were being fed to the shader as floats via the vertex path, so also push them as floats here. This fixes missing overlay in Sascha Willems demos. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
bcf705b62e
commit
d71ca40a18
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ radv_meta_blit2d_normal_dst(struct radv_cmd_buffer *cmd_buffer,
|
|||
blit2d_bind_dst(cmd_buffer, dst, rects[r].dst_x + rects[r].width,
|
||||
rects[r].dst_y + rects[r].height, depth_format, &dst_temps);
|
||||
|
||||
unsigned vertex_push_constants[4] = {
|
||||
float vertex_push_constants[4] = {
|
||||
rects[r].src_x,
|
||||
rects[r].src_y,
|
||||
rects[r].src_x + rects[r].width,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue