summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-07-04 16:11:16 +0200
committerMarek Olšák <[email protected]>2017-07-28 16:34:24 +0200
commitf4d095cc651af005d5760aa9dd06e6ae7007fab6 (patch)
tree241e7d2bf363cec5ee7e4247c145aa28d47b6e6c /src/gallium/drivers/i915
parent221fdae38b32df8d5761ec1fdc61707a025afec6 (diff)
radeonsi: update dirty_level_mask only when flushing or unbinding framebuffer
This fixes corruption with bindless textures in Dawn Of War 3. The do_update_surf_dirtiness mechanism was complicated and dirty_level_mask was only updated after the first draw call. The problem is bindless textures are checked for decompression every draw call and we would only decompress after the first draw call. The solution is to set dirtiness after the last draw call to the framebuffer, so the (unconditional) decompression of bindless textures happens at the right time. Cc: 17.2 <[email protected]> Tested-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915')
0 files changed, 0 insertions, 0 deletions