GPU: Assert when finding a texture with a format type other than UNORM.
This commit is contained in:
parent
b0ca330e14
commit
dcc27d6dc1
2 changed files with 16 additions and 4 deletions
|
@ -231,6 +231,8 @@ Texture::TICEntry Maxwell3D::GetTICEntry(u32 tic_index) const {
|
|||
|
||||
// TODO(Subv): Different data types for separate components are not supported
|
||||
ASSERT(r_type == g_type && r_type == b_type && r_type == a_type);
|
||||
// TODO(Subv): Only UNORM formats are supported for now.
|
||||
ASSERT(r_type == Texture::ComponentType::UNORM);
|
||||
|
||||
return tic_entry;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue