added pvrtc support

This commit is contained in:
Marton Tamas
2017-09-27 16:13:48 +01:00
committed by baldurk
parent 2a7944fd1d
commit a018deb19f
6 changed files with 65 additions and 4 deletions
+2
View File
@@ -3254,6 +3254,7 @@ void TextureViewer::on_viewTexBuffer_clicked()
case ResourceFormatType::ETC2:
case ResourceFormatType::EAC:
case ResourceFormatType::ASTC:
case ResourceFormatType::PVRTC:
varName = lit("block");
// display a 4x4 block at a time
w /= 4;
@@ -3280,6 +3281,7 @@ void TextureViewer::on_viewTexBuffer_clicked()
case ResourceFormatType::BC4:
case ResourceFormatType::ETC2:
case ResourceFormatType::EAC:
case ResourceFormatType::PVRTC:
baseType = lit("row_major xint2x1");
break;
// 4x4 byte block, for 128-bit block formats