Add shifts in RENDER_SURFACE_STATE command for TGLLP
Related-To: NEO-3861 Change-Id: I2726807b5792e378071b6271dbb79a3d3f2a02ad Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
This commit is contained in:
parent
b3fcc28ed9
commit
ae5c75c807
|
@ -2468,10 +2468,10 @@ typedef struct tagRENDER_SURFACE_STATE {
|
||||||
}
|
}
|
||||||
inline void setMemoryObjectControlStateIndexToMocsTables(const uint32_t value) {
|
inline void setMemoryObjectControlStateIndexToMocsTables(const uint32_t value) {
|
||||||
UNRECOVERABLE_IF(value > 0x3f);
|
UNRECOVERABLE_IF(value > 0x3f);
|
||||||
TheStructure.Common.MemoryObjectControlStateIndexToMocsTables = value;
|
TheStructure.Common.MemoryObjectControlStateIndexToMocsTables = value >> 1;
|
||||||
}
|
}
|
||||||
inline uint32_t getMemoryObjectControlStateIndexToMocsTables(void) const {
|
inline uint32_t getMemoryObjectControlStateIndexToMocsTables(void) const {
|
||||||
return TheStructure.Common.MemoryObjectControlStateIndexToMocsTables;
|
return (TheStructure.Common.MemoryObjectControlStateIndexToMocsTables << 1);
|
||||||
}
|
}
|
||||||
inline void setMemoryObjectControlState(const uint32_t value) {
|
inline void setMemoryObjectControlState(const uint32_t value) {
|
||||||
TheStructure.Common.MemoryObjectControlStateReserved_56 = value;
|
TheStructure.Common.MemoryObjectControlStateReserved_56 = value;
|
||||||
|
|
Loading…
Reference in New Issue