aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/addrlib/addrinterface.h
diff options
context:
space:
mode:
authorXavi Zhang <[email protected]>2015-04-17 03:22:34 -0400
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commit199912a9bc7621baa9f1cd185194df133fe338e6 (patch)
tree2d4afb80c50c367e8f61b1dcb64249c747cd598f /src/amd/addrlib/addrinterface.h
parent10f7d1cb0321c5c15b9eb318c2c59ea0d9ac14db (diff)
amdgpu/addrlib: Add a flag to skip calculate indices
This is useful for debugging and special cases for stencil surfaces do not require texture fetch compatible.
Diffstat (limited to 'src/amd/addrlib/addrinterface.h')
-rw-r--r--src/amd/addrlib/addrinterface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/addrlib/addrinterface.h b/src/amd/addrlib/addrinterface.h
index 95b187fbebc..3604fb11ce5 100644
--- a/src/amd/addrlib/addrinterface.h
+++ b/src/amd/addrlib/addrinterface.h
@@ -513,7 +513,8 @@ typedef union _ADDR_SURFACE_FLAGS
/// This flag indicates we need to override tile
/// mode to PRT_* tile mode to disable slice rotation,
/// which is needed by swizzle pattern equation.
- UINT_32 reserved : 8; ///< Reserved bits
+ UINT_32 skipIndicesOutput : 1; ///< Skipping indices in output.
+ UINT_32 reserved : 7; ///< Reserved bits
};
UINT_32 value;