Skip to content
Snippets Groups Projects
Commit 1a588504 authored by Dave Airlie's avatar Dave Airlie Committed by Eric Engestrom
Browse files

llvmpipe: only read 0 for channels being read


KHR-GL45.robust_buffer_access_behavior.vertex_buffer_objects
on the CTS 4.6.0 branch and this fixes it.

Roland identified that if the vertex format doesn't contain channels
then we shouldn't be overriding them to 0, so RGB fetch out of bounds
should return 0 for RGB, but the A channel should still be getting back
1.

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarRoland Scheidegger <sroland@vmware.com>
Part-of: <!6287>
(cherry picked from commit 430e3310)
parent 18b72e3c
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