Commit 2e363b0b by Nicolas Capens

Consistently treat non-existant components as unsigned.

Change-Id: I6554202f899559903062155833d49fe43456149b Reviewed-on: https://swiftshader-review.googlesource.com/8310Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent c9d70d54
......@@ -2802,7 +2802,6 @@ namespace sw
case FORMAT_A8B8G8R8I_SNORM:
case FORMAT_Q8W8V8U8:
case FORMAT_Q16W16V16U16:
case FORMAT_B32G32R32F:
case FORMAT_A32B32G32R32F:
return false;
case FORMAT_R32F:
......@@ -2821,6 +2820,7 @@ namespace sw
case FORMAT_G8R8I_SNORM:
return component >= 2;
case FORMAT_A16W16V16U16:
case FORMAT_B32G32R32F:
case FORMAT_X32B32G32R32F:
case FORMAT_X8B8G8R8I:
case FORMAT_X16B16G16R16I:
......
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