Set the tiled_ flag according to ImageCreateInfo
Change-Id: I3e1b2fdd15e32c3c24f4341001b068738c98e388
This commit is contained in:
@@ -687,6 +687,8 @@ bool Resource::CreateImage(CreateParams* params, bool forceLinear) {
|
||||
hwState_[9] = GetHSAILImageOrderType(desc().format_);
|
||||
hwState_[10] = static_cast<uint32_t>(desc().width_);
|
||||
hwState_[11] = 0; // one extra reserved field in the argument
|
||||
|
||||
desc_.tiled_ = (Pal::ImageTiling::Linear == image_->GetImageCreateInfo().tiling) ? false : true;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user