Skip to content

Commit

Permalink
Tiled format.
Browse files Browse the repository at this point in the history
  • Loading branch information
woachk committed Feb 18, 2019
1 parent ad64177 commit 0746aea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions render-only-sample/rosumd/RosUmdResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,11 +514,11 @@ RosUmdResource::CalculateMemoryLayout(
// Disable tiled format until issue #48 is fixed.
//
// Force tiled layout for given configuration only
// if ((m_usage == D3D10_DDI_USAGE_DEFAULT) &&
// (m_bindFlags == D3D10_DDI_BIND_SHADER_RESOURCE))
// {
// m_hwLayout = RosHwLayout::Tiled;
// }
if ((m_usage == D3D10_DDI_USAGE_DEFAULT) &&
(m_bindFlags == D3D10_DDI_BIND_SHADER_RESOURCE))
{
m_hwLayout = RosHwLayout::Tiled;
}

// Using system memory linear MipMap as example
m_hwWidthPixels = m_mip0Info.TexelWidth;
Expand Down

0 comments on commit 0746aea

Please sign in to comment.