SWDEV-333188 - Port image tests to catch2 (#2793)
- Port image tests to catch2.
- Disable 3D filter test for gfx9a.
- Some other improvement
- Temporarily disable linear filter tests on Windows
Change-Id: Ieeddac9f8c50aa9b6b12ca9d8fd792a51973b8ca
[ROCm/hip-tests commit: 0fc518d281]
此提交包含在:
@@ -142,16 +142,10 @@ static void runTest_hipTextureFilterMode() {
|
||||
}
|
||||
|
||||
TEST_CASE("Unit_hipNormalizedFloatValueTex_CheckModes") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
#if HT_AMD
|
||||
int imageSupport{};
|
||||
HIP_CHECK(hipDeviceGetAttribute(&imageSupport,
|
||||
hipDeviceAttributeImageSupport, 0));
|
||||
if (!imageSupport) {
|
||||
INFO("Texture is not supported on the device. Test is skipped");
|
||||
return;
|
||||
}
|
||||
hipDeviceProp_t props;
|
||||
HIP_CHECK(hipSetDevice(0));
|
||||
HIP_CHECK(hipGetDeviceProperties(&props, 0));
|
||||
INFO("Device :: " << props.name);
|
||||
INFO("Arch - AMD GPU :: " << props.gcnArch);
|
||||
|
||||
新增問題並參考
封鎖使用者