summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_meta_blit2d.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-05-08 00:54:49 +0100
committerDave Airlie <[email protected]>2017-05-08 00:54:49 +0100
commitd71ca40a18ef9e4c2cf9d13db768b944d77a6981 (patch)
tree114534097c7f226ac3f35001be62c6f2e6444e5f /src/amd/vulkan/radv_meta_blit2d.c
parentbcf705b62e00c45a178e07ef01e7d266f73c2acc (diff)
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 <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_blit2d.c')
-rw-r--r--src/amd/vulkan/radv_meta_blit2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_meta_blit2d.c b/src/amd/vulkan/radv_meta_blit2d.c
index 082c1cc8525..ec4e52fd31e 100644
--- a/src/amd/vulkan/radv_meta_blit2d.c
+++ b/src/amd/vulkan/radv_meta_blit2d.c
@@ -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,