Skip to content
Commit 9b51dcf1 authored by Gert Wollny's avatar Gert Wollny Committed by Juan A. Suarez Romero
Browse files

softpipe/buffer: load only as many components as the the buffer resource type provides



Otherwise we risk to read past the end of the buffer.

In addition, change the loop counters to unsigned to be consistent
with the types.

Fixes: afa8707b
    softpipe: add SSBO/shader atomics support.

Signed-off-by: default avatarGert Wollny <gert.wollny@collabora.com>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit 865b9dda)
parent 914ac06e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment