gallium: Add PIPE_FORMAT_P010 support
Signed-off-by: Thong Thai <thong.thai@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3153>
This commit is contained in:
@@ -495,6 +495,7 @@ get_sampler_view_format(struct st_context *st,
|
||||
case PIPE_FORMAT_IYUV:
|
||||
format = PIPE_FORMAT_R8_UNORM;
|
||||
break;
|
||||
case PIPE_FORMAT_P010:
|
||||
case PIPE_FORMAT_P016:
|
||||
format = PIPE_FORMAT_R16_UNORM;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user