Skip to content

Commit e8d18d6

Browse files
committed
Fix mip tail start LOD
GMM returns 32bit max instead of 4-bit max for SurfaceState.MipTailStartLOD Change-Id: I9e8c4b4cd80fbe62769e59d0e3130fc26acf6f6e
1 parent 879f304 commit e8d18d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/GmmLib/inc/External/Common/GmmConst.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ OTHER DEALINGS IN THE SOFTWARE.
4343
#define GMM_NUM_PAT_ENTRIES 8
4444
#define GMM_NUM_MEMORY_TYPES 4
4545
#define GMM_NUM_GFX_PAT_TYPES 6
46-
#define GMM_TILED_RESOURCE_NO_MIP_TAIL 0xFFFFFFFF
47-
#define GMM_TILED_RESOURCE_NO_PACKED_MIPS 0xFFFFFFFF
46+
#define GMM_TILED_RESOURCE_NO_MIP_TAIL 0xF
47+
#define GMM_TILED_RESOURCE_NO_PACKED_MIPS 0xF
4848
#define GMM_GEN10_HDCL1_MOCS_INDEX_START (48) // CNL+ MOCS index 48-61 allows HDC L1 caching, last 2 are reserved by h/w.
4949
#define GMM_MSAA_SAMPLES_MIN 1 //Define min and max MSAA samples
5050
#define GMM_MSAA_SAMPLES_MAX 16
5151
#define GMM_HIZ_CLEAR_COLOR_SIZE (8)
5252
#define GMM_MEDIA_COMPRESSION_STATE_SIZE (64)
5353
#define GMM_CLEAR_COLOR_FLOAT_SIZE (16)
54-
#define GMM_MAX_LCU_SIZE 64 // Media Largest coding Unit
54+
#define GMM_MAX_LCU_SIZE 64 // Media Largest coding Unit

0 commit comments

Comments
 (0)