[GPU] Add texture_util::SwizzleSigns for later

This commit is contained in:
Triang3l
2020-05-11 16:30:09 +03:00
parent b256005b7a
commit a3b4c77fdb
5 changed files with 56 additions and 0 deletions

View File

@@ -2160,6 +2160,7 @@ void TextureCache::BindingInfoFromFetchConstant(
*swizzle_out = swizzle;
}
// TODO(Triang3l): Move to texture_util::SwizzleSigns.
if (has_unsigned_out != nullptr) {
*has_unsigned_out = fetch.sign_x != TextureSign::kSigned ||
fetch.sign_y != TextureSign::kSigned ||