projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7c59f7
)
util: fix a compile failure in u_compute.c on windows
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 24 Apr 2019 22:29:26 +0000
(18:29 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 24 Apr 2019 23:04:20 +0000
(19:04 -0400)
src/gallium/auxiliary/util/u_compute.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_compute.c
b/src/gallium/auxiliary/util/u_compute.c
index e1e24a28c2ab45413018a31aaa3440e6bc9af5ae..ccf7119291b45cea759a2affd515879ea16dea98 100644
(file)
--- 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);