mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 13:40:11 +01:00
util: fix a compile failure in u_compute.c on windows
This commit is contained in:
parent
c7c59f75e5
commit
131d56edfb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue