gallium/dri: Add Y21x formats
v2: Add all the Y21x tests to the A530 expected fail list. All of the YUV image import tests fail on this platform, and nobody has been able to investigate why. v3: Update the comment describing the zeroed bits in Y212. Suggested by Emma. v4: Add all Y21x test to the rpi3 expected fail list. Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9610>
This commit is contained in:
@@ -511,6 +511,11 @@ get_sampler_view_format(struct st_context *st,
|
||||
case PIPE_FORMAT_P016:
|
||||
format = PIPE_FORMAT_R16_UNORM;
|
||||
break;
|
||||
case PIPE_FORMAT_Y210:
|
||||
case PIPE_FORMAT_Y212:
|
||||
case PIPE_FORMAT_Y216:
|
||||
format = PIPE_FORMAT_R16G16_UNORM;
|
||||
break;
|
||||
case PIPE_FORMAT_Y410:
|
||||
format = PIPE_FORMAT_R10G10B10A2_UNORM;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user