From 8cacf6927d92827afec8ab6929dbef8d00b2b267 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 18 Sep 2019 17:04:10 +0100 Subject: [PATCH] Handle unormten correctly --- qrenderdoc/Code/FormatElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Code/FormatElement.cpp b/qrenderdoc/Code/FormatElement.cpp index 6199a28b1..00eb61fb8 100644 --- a/qrenderdoc/Code/FormatElement.cpp +++ b/qrenderdoc/Code/FormatElement.cpp @@ -441,7 +441,7 @@ QList FormatElement::ParseFormatString(const QString &formatStrin } else if(basetype == lit("unormten")) { - fmt.compType = CompType::UInt; + fmt.compType = CompType::UNorm; fmt.compCount = 4 * count; fmt.compByteWidth = 1; fmt.type = ResourceFormatType::R10G10B10A2;