Rename NonNormalized to Unnormalized
That's what it's called by the Vulkan spec.
Fixes: b/29203875
Change-Id: Id5049147692b0c845b1bb7afeb8ff5fa94c25773
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/40114
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
diff --git a/src/Pipeline/SamplerCore.cpp b/src/Pipeline/SamplerCore.cpp
index 9668d12..9b20c1d 100644
--- a/src/Pipeline/SamplerCore.cpp
+++ b/src/Pipeline/SamplerCore.cpp
@@ -2040,7 +2040,7 @@
Vector4s cs = sampleTexel(index, buffer);
- bool isInteger = state.textureFormat.isNonNormalizedInteger();
+ bool isInteger = state.textureFormat.isUnnormalizedInteger();
int componentCount = textureComponentCount();
for(int n = 0; n < componentCount; n++)
{
@@ -2511,7 +2511,7 @@
bool SamplerCore::hasUnnormalizedIntegerTexture() const
{
- return state.textureFormat.isNonNormalizedInteger();
+ return state.textureFormat.isUnnormalizedInteger();
}
bool SamplerCore::hasUnsignedTextureComponent(int component) const