Commit 0d99ff54 authored by Drew Davenport's avatar Drew Davenport Committed by Marge Bot
Browse files

radeonsi: Clear uninitialized variable

|view| was not initialized leading to flaky test failures in SkQP
test unitTest_ES2BlendWithNoTexture.

Fixes: 029bfa3d

 "radeonsi: add ability to bind images as image buffers"
Reviewed-by: Bas Nieuwenhuizen's avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <mesa/mesa!3592>
Part-of: <mesa/mesa!3592>
parent 815a6038
......@@ -903,7 +903,7 @@ void si_update_ps_colorbuf0_slot(struct si_context *sctx)
if (surf) {
struct si_texture *tex = (struct si_texture*)surf->texture;
struct pipe_image_view view;
struct pipe_image_view view = {0};
assert(tex);
assert(!tex->is_depth);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment