Skip to content
Snippets Groups Projects
Commit 865b9dda authored by Gert Wollny's avatar Gert Wollny Committed by Gert Wollny
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>
parent 10502730
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment