diff options
-rw-r--r-- | src/amd/addrlib/src/addrinterface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/addrlib/src/addrinterface.cpp b/src/amd/addrlib/src/addrinterface.cpp index 81857b213f6..ae5dfa2a898 100644 --- a/src/amd/addrlib/src/addrinterface.cpp +++ b/src/amd/addrlib/src/addrinterface.cpp @@ -1725,6 +1725,7 @@ ADDR_E_RETURNCODE ADDR_API Addr2IsValidDisplaySwizzleMode( if (pLib != NULL) { ADDR2_COMPUTE_SURFACE_INFO_INPUT in; + in.resourceType = ADDR_RSRC_TEX_2D; in.swizzleMode = swizzleMode; in.bpp = bpp; |