Module: Mesa Branch: main Commit: 1f0964d6b672abe5ea8e11ec0f7533e937f0d394 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f0964d6b672abe5ea8e11ec0f7533e937f0d394
Author: Rohan Garg <[email protected]> Date: Tue Jul 27 22:22:10 2021 +0200 i965: Take into account the offset when marking a valid data region Signed-off-by: Rohan Garg <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12085> --- src/mesa/drivers/dri/i965/brw_buffer_objects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_buffer_objects.c b/src/mesa/drivers/dri/i965/brw_buffer_objects.c index e0827cf69ca..929ff223709 100644 --- a/src/mesa/drivers/dri/i965/brw_buffer_objects.c +++ b/src/mesa/drivers/dri/i965/brw_buffer_objects.c @@ -247,7 +247,7 @@ brw_buffer_data_mem(struct gl_context *ctx, if (size != 0) { intel_obj->buffer = intel_memObj->bo; - mark_buffer_valid_data(intel_obj, 0, size); + mark_buffer_valid_data(intel_obj, offset, size); } return true; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
