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 commit: f3c171c984]
Bu işleme şunda yer alıyor:
işlemeyi yapan:
GitHub
ebeveyn
551f9b4f76
işleme
4e58d884c3
@@ -110,15 +110,8 @@ static void runSimpleTexture3D_Check(int width, int height, int depth,
|
||||
}
|
||||
|
||||
TEST_CASE("Unit_hipSimpleTexture3D_Check_DataTypes") {
|
||||
#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;
|
||||
}
|
||||
#endif
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
for ( int i = 1; i < 25; i++ ) {
|
||||
runSimpleTexture3D_Check<float>(i, i, i, &texf);
|
||||
runSimpleTexture3D_Check<int>(i+1, i, i, &texi);
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle