On Thu, Oct 14, 2010 at 12:00 PM, Keith Whitwell
wrote:
> Dave,
>
> Sorry for being confusing, but this patch doesn't actually work - this
> is what I think should be happening, but at the moment I have to
> return early to avoid segfaults on unbinding constant buffers, ie:
>
> + if (buffer
Dave,
Sorry for being confusing, but this patch doesn't actually work - this
is what I think should be happening, but at the moment I have to
return early to avoid segfaults on unbinding constant buffers, ie:
+ if (buffer == NULL) {
+return;
+}
+else {
Statetrackers can unbind a constant buffer slot by calling
pipe->set_constant_buffer(pipe, shader, slot, NULL)
The driver should unbind the buffer and potentially allow its storage
to be released.
---
src/gallium/drivers/r600/r600_state.c | 20
1 files changed, 16 inser