From 131d56edfb6ad5ce79dbfb61e4a1da6501fef4fb Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 24 Apr 2019 18:29:26 -0400 Subject: util: fix a compile failure in u_compute.c on windows --- src/gallium/auxiliary/util/u_compute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_compute.c b/src/gallium/auxiliary/util/u_compute.c index e1e24a28c2a..ccf7119291b 100644 --- a/src/gallium/auxiliary/util/u_compute.c +++ b/src/gallium/auxiliary/util/u_compute.c @@ -105,7 +105,7 @@ void util_compute_blit(struct pipe_context *ctx, struct pipe_blit_info *blit_inf blit_info->dst.box.z, 0}; - struct pipe_constant_buffer cb = {}; + struct pipe_constant_buffer cb = {0}; cb.buffer_size = sizeof(data); cb.user_buffer = data; ctx->set_constant_buffer(ctx, PIPE_SHADER_COMPUTE, 0, &cb); -- cgit v1.2.3