Skip to content

Commit

Permalink
[CM] Add CM_SURFACE_FORMAT_R8_UNORM to supported format list of sampler
Browse files Browse the repository at this point in the history
surface.

Change-Id: I360a039eca6d436fb835061b05fb8c530c33ba43
  • Loading branch information
xiongzho authored and intel-mediadev committed Jan 31, 2019
1 parent f9910c1 commit f345184
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions media_driver/agnostic/common/cm/cm_surface_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2514,6 +2514,7 @@ bool CMRT_UMD::CmSurfaceManager::IsSupportedForSamplerSurface2D(CM_SURFACE_FORMA
case CM_SURFACE_FORMAT_BGRP:
case CM_SURFACE_FORMAT_BUFFER_2D:
case CM_SURFACE_FORMAT_R10G10B10A2:
case CM_SURFACE_FORMAT_R8_UNORM:
return true;

default:
Expand Down

0 comments on commit f345184

Please sign in to comment.