diff options
author | Francisco Jerez <[email protected]> | 2018-03-16 14:28:59 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2018-05-23 16:21:34 -0700 |
commit | 936cd3c87a212c28fe89a5c059fc4febd8b52ab7 (patch) | |
tree | cb4ced79006612cff000201acbfa14c7ce8dc6b5 /src/amd | |
parent | e989acb03ba802737f762627dd16ac1d0b9f0d13 (diff) |
i965: Use intel_bufferobj_buffer() wrapper in image surface state setup.
Instead of directly using intel_obj->buffer. Among other things
intel_bufferobj_buffer() will update intel_buffer_object::
gpu_active_start/end, which are used by glBufferSubData() to decide
which path to take. Fixes a failure in the Piglit
ARB_shader_image_load_store-host-mem-barrier Buffer Update/WaW tests,
which could be reproduced with a non-standard glGetTexSubImage
implementation (see bug report).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105351
Reported-by: Nanley Chery <[email protected]>
Cc: [email protected]
Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/amd')
0 files changed, 0 insertions, 0 deletions