aboutsummaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2019-04-04 23:08:35 +0200
committerAxel Davy <[email protected]>2019-04-30 19:18:50 +0200
commite502c4d89254439d5f026375737cb7af3f9ec5b7 (patch)
treedaae30ddd40822f0305380a20b5bc2315294f3cb /CleanSpec.mk
parentbb3b8f8e01129ed35ea47463716def7c375f0f19 (diff)
st/nine: Fix buffer/texture unbinding in nine_state_clear
Previously nine_state_clear was not using NineBindBufferToDevice and NineBindTextureToDevice to unbind buffers and textures (but used nine_bind) This was resulting in an uncorrect bind count for these resources. Combined with 0ec4e5f630ed68ece3f176b174cfd66eff023904 Some buffers were scheduled to be uploaded directly after they were locked (because the bind count incorrectly assumed they were needed for the next draw call), which resulted in uploads before the data was written. To simplify a bit the code (and because I needed to add a pointer to device), remove the stateblock usage from nine_state_clear and rename to nine_device_state_clear. Fixes: https://github.com/iXit/Mesa-3D/issues/345 Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions