diff options
author | Nicolai Hähnle <[email protected]> | 2016-06-14 18:00:13 +0200 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-06-15 09:29:14 +0100 |
commit | 575f9eaa2d0c8de0bc701b8e928dbf132013388c (patch) | |
tree | f4c3ce211bc78d37ab5ccb91a33324d240f2df87 /docs/perf.html | |
parent | 792a5ee42573e23e199798f488f6daf53c3a95b1 (diff) |
radeonsi: mark buffer texture range valid for shader images
When a shader image view into a buffer texture can be written to, the buffer's
valid range must be updated, or subsequent transfers may incorrectly skip
synchronization.
This fixes a bug that was exposed in Xephyr by PBO acceleration for glReadPixels,
reported by Michel Dänzer.
Cc: Michel Dänzer <[email protected]>
Cc: 12.0 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit a64c7cd2bac33a3a2bf908b5ef538dff03b93b73)
Back-ported from commit a64c7cd2bac33a3a2bf908b5ef538dff03b93b73:
- include util/u_format.h
- code was extracted to si_set_shader_image in master, move it back
Signed-off-by: Nicolai Hähnle <[email protected]>
--
src/gallium/drivers/radeonsi/si_descriptors.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Diffstat (limited to 'docs/perf.html')
0 files changed, 0 insertions, 0 deletions