diff --git a/Source/GmmLib/CMakeLists.txt b/Source/GmmLib/CMakeLists.txt index e3d1fb5..be450f3 100644 --- a/Source/GmmLib/CMakeLists.txt +++ b/Source/GmmLib/CMakeLists.txt @@ -24,11 +24,11 @@ cmake_minimum_required(VERSION 3.5) project(igfx_gmmumd) # GmmLib Api Version used for so naming -set(GMMLIB_API_MAJOR_VERSION 3) +set(GMMLIB_API_MAJOR_VERSION 4) set(GMMLIB_API_MINOR_VERSION 0) if(NOT DEFINED MAJOR_VERSION) - set(MAJOR_VERSION 3) + set(MAJOR_VERSION 4) endif() if(NOT DEFINED MINOR_VERSION) diff --git a/Source/GmmLib/inc/External/Common/GmmLibDllName.h b/Source/GmmLib/inc/External/Common/GmmLibDllName.h index d01705b..5e678b0 100755 --- a/Source/GmmLib/inc/External/Common/GmmLibDllName.h +++ b/Source/GmmLib/inc/External/Common/GmmLibDllName.h @@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE. #if defined(_WIN64) #define GMM_UMD_DLL "igdgmm64.dll" #else - #define GMM_UMD_DLL "libigdgmm.so.3" + #define GMM_UMD_DLL "libigdgmm.so.4" #endif #else #define GMM_ENTRY_NAME "_OpenGmm@4" @@ -40,6 +40,6 @@ OTHER DEALINGS IN THE SOFTWARE. #if defined(_WIN32) #define GMM_UMD_DLL "igdgmm32.dll" #else - #define GMM_UMD_DLL "libigdgmm.so.3" + #define GMM_UMD_DLL "libigdgmm.so.4" #endif #endif diff --git a/Source/GmmLib/inc/External/Common/GmmResourceFlags.h b/Source/GmmLib/inc/External/Common/GmmResourceFlags.h index 7df0641..1f45b2d 100644 --- a/Source/GmmLib/inc/External/Common/GmmResourceFlags.h +++ b/Source/GmmLib/inc/External/Common/GmmResourceFlags.h @@ -108,6 +108,7 @@ typedef struct GMM_RESOURCE_FLAG_REC uint32_t LayoutBelow : 1; // Indicates the orientation of MIP data in the buffer. This is the surviving option and may be inferred as the default. uint32_t LayoutMono : 1; // Legacy, deprecated MIP layout. Used for internal debugging. uint32_t LayoutRight : 1; // Legacy, deprecated MIP layout. + uint32_t LocalOnly : 1; uint32_t Linear : 1; // (non-)tiling preference for the allocation. (lowest priority) Y>X>W>L. See GmmLib::GmmTextureCalc::SetTileMode() uint32_t MediaCompressed : 1; uint32_t NoOptimizationPadding : 1; // don't swell size for sake of 64KB pages - FtrWddm2_1_64kbPages