SWDEV-474989 - Fix texture filter test issues
Change-Id: I9b647aff79ba92f07b2ca18eac49d58ae63fa859
This commit is contained in:
1 parent
a7dd22f97f
commit
8a9ed34f6a
38 file changed
+488
-645
No files matched your search
@@ -148,7 +148,7 @@ hipFabs(const T &t) {
|
||||
}
|
||||
|
||||
template<typename T, hipTextureFilterMode fMode = hipFilterModePoint, bool sRGB = false>
|
||||
bool hipTextureSamplingVerify(T outputData, T expected) {
|
||||
bool hipTextureSamplingVerify(const T &outputData, const T &expected) {
|
||||
bool testResult = false;
|
||||
if (fMode == hipFilterModePoint && !sRGB) {
|
||||
testResult = outputData == expected;
|
||||
|
||||
Reference in new issue
Block a user