vc4: Don't bother zero-initializing the shader reloc indices.

They should all be set to real values by the time they're read, and
ideally if you used valgrind you'd see uninitialized value uses.
This commit is contained in:
Eric Anholt 2014-12-25 12:14:54 -10:00
parent 0b607b54ce
commit db6e054eb0

View file

@ -107,8 +107,8 @@ cl_start_shader_reloc(struct vc4_cl *cl, uint32_t n)
cl->reloc_count = n;
cl->reloc_next = cl->next - cl->base;
for (int i = 0; i < n; i++)
cl_u32(cl, 0); /* Space where hindex will be written. */
/* Space where hindex will be written. */
cl->next += n * 4;
}
static inline void