projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d416ac
)
amd/addrlib/gfx10: fix assertion in Addr2IsValidDisplaySwizzleMode
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Thu, 28 Jun 2018 18:12:05 +0000
(20:12 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000
(15:51 -0400)
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/addrlib/src/addrinterface.cpp
patch
|
blob
|
history
diff --git
a/src/amd/addrlib/src/addrinterface.cpp
b/src/amd/addrlib/src/addrinterface.cpp
index 81857b213f6a7e6457764e5f813f154927cf65cb..ae5dfa2a898d75b2298fe30f0bb204697bdfaf85 100644
(file)
--- 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;