mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:20:26 +08:00
refactor: Standardize DESTINATION_SURFACE_TYPE
Standardizes DESTINATION_SURFACE_TYPE to align with the latest specification. Related-To: NEO-13147 Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
88a27df888
commit
83b7143485
@@ -3367,7 +3367,7 @@ typedef struct tagMI_USER_INTERRUPT {
|
||||
struct tagCommon {
|
||||
// DWORD 0
|
||||
uint32_t Reserved_0 : BITFIELD_RANGE(0, 22);
|
||||
uint32_t MICommandOpcode : BITFIELD_RANGE(23, 28);
|
||||
uint32_t MiCommandOpcode : BITFIELD_RANGE(23, 28);
|
||||
uint32_t CommandType : BITFIELD_RANGE(29, 31);
|
||||
} Common;
|
||||
uint32_t RawData[1];
|
||||
@@ -3380,7 +3380,7 @@ typedef struct tagMI_USER_INTERRUPT {
|
||||
} COMMAND_TYPE;
|
||||
inline void init() {
|
||||
memset(&TheStructure, 0, sizeof(TheStructure));
|
||||
TheStructure.Common.MICommandOpcode = MI_COMMAND_OPCODE_MI_USER_INTERRUPT;
|
||||
TheStructure.Common.MiCommandOpcode = MI_COMMAND_OPCODE_MI_USER_INTERRUPT;
|
||||
TheStructure.Common.CommandType = COMMAND_TYPE_MI_COMMAND;
|
||||
}
|
||||
static tagMI_USER_INTERRUPT sInit() {
|
||||
@@ -4545,10 +4545,10 @@ typedef struct tagXY_FAST_COLOR_BLT {
|
||||
AUX_SPECIAL_OPERATIONS_MODE_FORCE_UNCOMPRESS = 0x2,
|
||||
} AUX_SPECIAL_OPERATIONS_MODE;
|
||||
typedef enum tagDESTINATION_SURFACE_TYPE {
|
||||
DESTINATION_SURFACE_TYPE_1D = 0x0,
|
||||
DESTINATION_SURFACE_TYPE_2D = 0x1,
|
||||
DESTINATION_SURFACE_TYPE_3D = 0x2,
|
||||
DESTINATION_SURFACE_TYPE_CUBE = 0x3,
|
||||
DESTINATION_SURFACE_TYPE_SURFTYPE_1D = 0x0,
|
||||
DESTINATION_SURFACE_TYPE_SURFTYPE_2D = 0x1,
|
||||
DESTINATION_SURFACE_TYPE_SURFTYPE_3D = 0x2,
|
||||
DESTINATION_SURFACE_TYPE_SURFTYPE_CUBE = 0x3,
|
||||
} DESTINATION_SURFACE_TYPE;
|
||||
inline void init() {
|
||||
memset(&TheStructure, 0, sizeof(TheStructure));
|
||||
@@ -4563,7 +4563,7 @@ typedef struct tagXY_FAST_COLOR_BLT {
|
||||
TheStructure.Common.DestinationTargetMemory = DESTINATION_TARGET_MEMORY_LOCAL_MEM;
|
||||
TheStructure.Common.DestinationCompressionFormat = DESTINATION_COMPRESSION_FORMAT_CMF_R8;
|
||||
TheStructure.Common.AuxSpecialOperationsMode = AUX_SPECIAL_OPERATIONS_MODE_FAST_CLEAR_HW_FORMAT_CONVERSION;
|
||||
TheStructure.Common.DestinationSurfaceType = DESTINATION_SURFACE_TYPE_1D;
|
||||
TheStructure.Common.DestinationSurfaceType = DESTINATION_SURFACE_TYPE_SURFTYPE_1D;
|
||||
}
|
||||
static tagXY_FAST_COLOR_BLT sInit() {
|
||||
XY_FAST_COLOR_BLT state;
|
||||
|
||||
Reference in New Issue
Block a user