vkd3d-shader: Trace tiled resource opcodes.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2022-01-10 19:03:36 -06:00
committed by Alexandre Julliard
parent 8f26c99f8b
commit 4fdd6f0935
3 changed files with 51 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ static const char * const shader_opcode_names[] =
[VKD3DSIH_CALL ] = "call",
[VKD3DSIH_CALLNZ ] = "callnz",
[VKD3DSIH_CASE ] = "case",
[VKD3DSIH_CHECK_ACCESS_FULLY_MAPPED ] = "check_access_fully_mapped",
[VKD3DSIH_CMP ] = "cmp",
[VKD3DSIH_CND ] = "cnd",
[VKD3DSIH_CONTINUE ] = "continue",
@@ -155,8 +156,12 @@ static const char * const shader_opcode_names[] =
[VKD3DSIH_FTOU ] = "ftou",
[VKD3DSIH_GATHER4 ] = "gather4",
[VKD3DSIH_GATHER4_C ] = "gather4_c",
[VKD3DSIH_GATHER4_C_S ] = "gather4_c_s",
[VKD3DSIH_GATHER4_PO ] = "gather4_po",
[VKD3DSIH_GATHER4_PO_C ] = "gather4_po_c",
[VKD3DSIH_GATHER4_PO_C_S ] = "gather4_po_c_s",
[VKD3DSIH_GATHER4_PO_S ] = "gather4_po_s",
[VKD3DSIH_GATHER4_S ] = "gather4_s",
[VKD3DSIH_GE ] = "ge",
[VKD3DSIH_HS_CONTROL_POINT_PHASE ] = "hs_control_point_phase",
[VKD3DSIH_HS_DECLS ] = "hs_decls",
@@ -194,9 +199,14 @@ static const char * const shader_opcode_names[] =
[VKD3DSIH_LABEL ] = "label",
[VKD3DSIH_LD ] = "ld",
[VKD3DSIH_LD2DMS ] = "ld2dms",
[VKD3DSIH_LD2DMS_S ] = "ld2dms_s",
[VKD3DSIH_LD_RAW ] = "ld_raw",
[VKD3DSIH_LD_RAW_S ] = "ld_raw_s",
[VKD3DSIH_LD_S ] = "ld_s",
[VKD3DSIH_LD_STRUCTURED ] = "ld_structured",
[VKD3DSIH_LD_STRUCTURED_S ] = "ld_structured_s",
[VKD3DSIH_LD_UAV_TYPED ] = "ld_uav_typed",
[VKD3DSIH_LD_UAV_TYPED_S ] = "ld_uav_typed_s",
[VKD3DSIH_LIT ] = "lit",
[VKD3DSIH_LOD ] = "lod",
[VKD3DSIH_LOG ] = "log",
@@ -235,11 +245,17 @@ static const char * const shader_opcode_names[] =
[VKD3DSIH_RSQ ] = "rsq",
[VKD3DSIH_SAMPLE ] = "sample",
[VKD3DSIH_SAMPLE_B ] = "sample_b",
[VKD3DSIH_SAMPLE_B_CL_S ] = "sample_b_cl_s",
[VKD3DSIH_SAMPLE_C ] = "sample_c",
[VKD3DSIH_SAMPLE_C_CL_S ] = "sample_c_cl_s",
[VKD3DSIH_SAMPLE_C_LZ ] = "sample_c_lz",
[VKD3DSIH_SAMPLE_C_LZ_S ] = "sample_c_lz_s",
[VKD3DSIH_SAMPLE_CL_S ] = "sample_cl_s",
[VKD3DSIH_SAMPLE_GRAD ] = "sample_d",
[VKD3DSIH_SAMPLE_GRAD_CL_S ] = "sample_d_cl_s",
[VKD3DSIH_SAMPLE_INFO ] = "sample_info",
[VKD3DSIH_SAMPLE_LOD ] = "sample_l",
[VKD3DSIH_SAMPLE_LOD_S ] = "sample_l_s",
[VKD3DSIH_SAMPLE_POS ] = "sample_pos",
[VKD3DSIH_SETP ] = "setp",
[VKD3DSIH_SGE ] = "sge",