Commit 43da5689 by Alexis Hetu Committed by Alexis Hétu

Swizzle fix

Added initialization for swizzle related members of Sampler Change-Id: I81f7aad5274696390e73c32ff1b424687e9f5943 Reviewed-on: https://swiftshader-review.googlesource.com/4111Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 6c7bbdf4
...@@ -64,6 +64,11 @@ namespace sw ...@@ -64,6 +64,11 @@ namespace sw
sRGB = false; sRGB = false;
gather = false; gather = false;
swizzleR = SWIZZLE_RED;
swizzleG = SWIZZLE_GREEN;
swizzleB = SWIZZLE_BLUE;
swizzleA = SWIZZLE_ALPHA;
texture.LOD = 0.0f; texture.LOD = 0.0f;
exp2LOD = 1.0f; exp2LOD = 1.0f;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment