From: Mike Blumenkrantz Date: Thu, 30 May 2019 12:47:59 +0000 (-0400) Subject: st/dri: fix typo in format table for GR1616 format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8dcc308ccfdd24a3c997d40a4852169ce7b58fb;p=mesa.git st/dri: fix typo in format table for GR1616 format the dri image format here should match the fourcc format Reviewed-by: Eric Anholt Reviewed-by: Kenneth Graunke --- diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index 1507170d3a1..5a7ec878bab 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -101,7 +101,7 @@ static const struct dri2_format_mapping dri2_format_table[] = { __DRI_IMAGE_COMPONENTS_R, PIPE_FORMAT_R16_UNORM }, { __DRI_IMAGE_FOURCC_GR88, __DRI_IMAGE_FORMAT_GR88, __DRI_IMAGE_COMPONENTS_RG, PIPE_FORMAT_RG88_UNORM }, - { __DRI_IMAGE_FOURCC_GR1616, __DRI_IMAGE_FORMAT_GR88, + { __DRI_IMAGE_FOURCC_GR1616, __DRI_IMAGE_FORMAT_GR1616, __DRI_IMAGE_COMPONENTS_RG, PIPE_FORMAT_RG1616_UNORM }, { __DRI_IMAGE_FOURCC_YUV420, __DRI_IMAGE_FORMAT_NONE, __DRI_IMAGE_COMPONENTS_Y_U_V, PIPE_FORMAT_IYUV },