mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
radeonsi: initialize TC_L2_dirty to false after buffer allocation
I forgot to do this, though "true" should have no effect on correctness. Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
a27b74819a
commit
218b15715e
1 changed files with 1 additions and 0 deletions
|
|
@ -185,6 +185,7 @@ bool r600_init_resource(struct r600_common_screen *rscreen,
|
|||
pb_reference(&old_buf, NULL);
|
||||
|
||||
util_range_set_empty(&res->valid_buffer_range);
|
||||
res->TC_L2_dirty = false;
|
||||
|
||||
if (rscreen->debug_flags & DBG_VM && res->b.b.target == PIPE_BUFFER) {
|
||||
fprintf(stderr, "VM start=0x%"PRIX64" end=0x%"PRIX64" | Buffer %u bytes\n",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue