ReactOS 0.4.16-dev-197-g92996da
|
Go to the source code of this file.
Macros | |
#define | WINE_D3DCOMPILER_TO_STR(x) case x: return #x |
BOOL add_declaration | ( | struct hlsl_scope * | scope, |
struct hlsl_ir_var * | decl, | ||
BOOL | local_var | ||
) |
Definition at line 761 of file utils.c.
void add_function_decl | ( | struct wine_rb_tree * | funcs, |
char * | name, | ||
struct hlsl_ir_function_decl * | decl, | ||
BOOL | intrinsic | ||
) |
Definition at line 2282 of file utils.c.
Definition at line 929 of file utils.c.
Referenced by clone_hlsl_type().
Definition at line 1627 of file utils.c.
Referenced by add_function_decl().
Definition at line 1654 of file utils.c.
Referenced by init_functions_tree().
Definition at line 883 of file utils.c.
Referenced by compare_hlsl_types(), compatible_data_types(), expr_common_type(), implicit_compatible_data_types(), implicit_conversion(), make_assignment(), and new_expr().
Definition at line 1518 of file utils.c.
Referenced by push_scope().
|
static |
Definition at line 1578 of file utils.c.
Referenced by compare_function_decl_rb(), and compare_param_hlsl_types().
Definition at line 1007 of file utils.c.
void compilation_message | ( | struct compilation_messages * | msg, |
const char * | fmt, | ||
__ms_va_list | args | ||
) |
Definition at line 719 of file utils.c.
Definition at line 857 of file utils.c.
Referenced by compatible_data_types(), components_count_type(), expr_compatible_data_types(), and implicit_compatible_data_types().
Definition at line 1002 of file utils.c.
Referenced by compatible_data_types(), and implicit_compatible_data_types().
Definition at line 1667 of file utils.c.
Referenced by debug_dump_ir_constant(), and debug_hlsl_type().
const char * debug_d3dcompiler_d3d_blob_part | ( | D3D_BLOB_PART | part | ) |
Definition at line 106 of file utils.c.
Referenced by check_blob_part(), d3dcompiler_get_blob_part(), and D3DGetBlobPart().
const char * debug_d3dcompiler_shader_variable_class | ( | D3D_SHADER_VARIABLE_CLASS | c | ) |
Definition at line 32 of file utils.c.
Referenced by d3dcompiler_parse_type().
const char * debug_d3dcompiler_shader_variable_type | ( | D3D_SHADER_VARIABLE_TYPE | t | ) |
Definition at line 50 of file utils.c.
Referenced by d3dcompiler_parse_type().
|
static |
Definition at line 2053 of file utils.c.
Referenced by debug_dump_instr_list(), debug_dump_ir_assignment(), debug_dump_ir_constructor(), debug_dump_ir_deref(), debug_dump_ir_expr(), debug_dump_ir_if(), debug_dump_ir_jump(), and debug_dump_ir_swizzle().
Definition at line 1780 of file utils.c.
Referenced by debug_dump_ir_function_decl(), and debug_dump_ir_if().
|
static |
|
static |
Definition at line 1822 of file utils.c.
Referenced by debug_dump_instr().
|
static |
Definition at line 1953 of file utils.c.
Referenced by debug_dump_instr().
|
static |
Definition at line 1800 of file utils.c.
Referenced by debug_dump_instr().
|
static |
Definition at line 1940 of file utils.c.
Referenced by debug_dump_instr().
void debug_dump_ir_function_decl | ( | const struct hlsl_ir_function_decl * | func | ) |
Definition at line 2086 of file utils.c.
|
static |
Definition at line 2038 of file utils.c.
Referenced by debug_dump_instr().
|
static |
Definition at line 2016 of file utils.c.
Referenced by debug_dump_instr().
|
static |
Definition at line 1996 of file utils.c.
Referenced by debug_dump_instr().
|
static |
Definition at line 1791 of file utils.c.
Referenced by debug_dump_ir_deref(), and debug_dump_ir_function_decl().
|
static |
Definition at line 1863 of file utils.c.
Referenced by debug_dump_ir_expr().
Definition at line 1695 of file utils.c.
Referenced by components_count_type(), debug_dump_ir_constructor(), debug_dump_ir_var(), debug_expr_op(), implicit_conversion(), make_assignment(), and new_expr().
Definition at line 1722 of file utils.c.
Referenced by debug_dump_ir_var().
|
static |
Definition at line 1759 of file utils.c.
Referenced by debug_dump_instr(), and free_instr().
Definition at line 401 of file utils.c.
Referenced by asmparser_instr().
Definition at line 153 of file utils.c.
Referenced by asmparser_instr(), and check_ps_dstmod().
const char * debug_print_dstreg | ( | const struct shader_reg * | reg | ) |
Definition at line 330 of file utils.c.
Referenced by asmparser_dstreg_ps_1_0123(), asmparser_dstreg_ps_1_4(), asmparser_dstreg_ps_2(), asmparser_dstreg_ps_2_x(), asmparser_dstreg_ps_3(), asmparser_dstreg_vs_1(), asmparser_dstreg_vs_2(), asmparser_dstreg_vs_3(), and asmparser_instr().
Definition at line 416 of file utils.c.
Referenced by asmparser_instr(), and call_instr_handler().
|
static |
Definition at line 315 of file utils.c.
Referenced by debug_print_dstreg(), and debug_print_srcreg().
Definition at line 178 of file utils.c.
Referenced by asmparser_instr().
Definition at line 128 of file utils.c.
Referenced by check_abs_srcmod(), and check_legacy_srcmod().
const char * debug_print_srcreg | ( | const struct shader_reg * | reg | ) |
Definition at line 337 of file utils.c.
Referenced by asmparser_instr(), asmparser_srcreg_ps_1_0123(), asmparser_srcreg_ps_1_4(), asmparser_srcreg_ps_2(), asmparser_srcreg_ps_2_x(), asmparser_srcreg_ps_3(), asmparser_srcreg_vs_1(), asmparser_srcreg_vs_2(), and asmparser_srcreg_vs_3().
Definition at line 274 of file utils.c.
Referenced by debug_print_relarg(), and debug_print_srcreg().
Definition at line 1966 of file utils.c.
Referenced by debug_dump_ir_assignment().
Definition at line 529 of file utils.c.
Referenced by d3dcompiler_get_blob_part(), d3dcompiler_strip_shader(), and dxbc_parse().
Definition at line 648 of file utils.c.
Referenced by d3dcompiler_get_blob_part(), d3dcompiler_shader_reflection_init(), and d3dcompiler_strip_shader().
Definition at line 557 of file utils.c.
Referenced by d3dcompiler_get_blob_part(), d3dcompiler_strip_shader(), and dxbc_parse().
Definition at line 577 of file utils.c.
Referenced by d3dcompiler_get_blob_part(), d3dcompiler_shader_reflection_init(), and d3dcompiler_strip_shader().
Definition at line 655 of file utils.c.
Referenced by d3dcompiler_get_blob_part(), and d3dcompiler_strip_shader().
|
static |
Definition at line 1152 of file utils.c.
Referenced by expr_common_type().
|
static |
Definition at line 1184 of file utils.c.
Referenced by new_expr().
Definition at line 1118 of file utils.c.
Referenced by expr_common_type().
void free_declaration | ( | struct hlsl_ir_var * | decl | ) |
Definition at line 798 of file utils.c.
|
static |
|
static |
Definition at line 2257 of file utils.c.
Referenced by add_function_decl(), and free_function_decl_rb().
|
static |
Definition at line 2265 of file utils.c.
Referenced by add_function_decl(), and free_function().
void free_function_rb | ( | struct wine_rb_entry * | entry, |
void * | context | ||
) |
void free_instr | ( | struct hlsl_ir_node * | node | ) |
Definition at line 2224 of file utils.c.
Referenced by free_instr_list(), free_ir_assignment(), free_ir_constructor(), free_ir_deref(), free_ir_expr(), free_ir_if(), free_ir_jump(), free_ir_swizzle(), and make_assignment().
Definition at line 2122 of file utils.c.
Referenced by free_function_decl(), free_ir_expr(), and free_ir_if().
|
static |
Definition at line 2202 of file utils.c.
Referenced by free_instr().
|
static |
Definition at line 2133 of file utils.c.
Referenced by free_instr(), and free_ir_constant().
|
static |
Definition at line 2180 of file utils.c.
Referenced by free_instr().
|
static |
Definition at line 2156 of file utils.c.
Referenced by free_instr().
|
static |
Definition at line 2188 of file utils.c.
Referenced by free_instr().
|
static |
Definition at line 2209 of file utils.c.
Referenced by free_instr().
|
static |
Definition at line 2217 of file utils.c.
Referenced by free_instr().
|
static |
Definition at line 2174 of file utils.c.
Referenced by free_instr().
|
static |
Definition at line 202 of file utils.c.
Referenced by debug_print_dstreg(), and debug_print_srcreg().
Definition at line 841 of file utils.c.
Referenced by get_type(), type_new_coclass(), type_new_encapsulated_union(), and type_new_module().
struct hlsl_ir_var * get_variable | ( | struct hlsl_scope * | scope, |
const char * | name | ||
) |
Definition at line 784 of file utils.c.
Referenced by get_variable().
Definition at line 1061 of file utils.c.
Referenced by make_assignment().
|
static |
Definition at line 1277 of file utils.c.
Referenced by make_assignment(), and new_expr().
void init_functions_tree | ( | struct wine_rb_tree * | funcs | ) |
Definition at line 1662 of file utils.c.
struct hlsl_ir_node * make_assignment | ( | struct hlsl_ir_node * | left, |
enum parse_assign_op | assign_op, | ||
DWORD | writemask, | ||
struct hlsl_ir_node * | right | ||
) |
Definition at line 1407 of file utils.c.
struct hlsl_ir_expr * new_cast | ( | struct hlsl_ir_node * | node, |
struct hlsl_type * | type, | ||
struct source_location * | loc | ||
) |
Definition at line 1343 of file utils.c.
Referenced by implicit_conversion().
struct hlsl_ir_expr * new_expr | ( | enum hlsl_ir_expr_op | op, |
struct hlsl_ir_node ** | operands, | ||
struct source_location * | loc | ||
) |
Definition at line 1286 of file utils.c.
Referenced by new_binary_expr(), and new_unary_expr().
struct hlsl_ir_function_decl * new_func_decl | ( | struct hlsl_type * | return_type, |
struct list * | parameters | ||
) |
Definition at line 1562 of file utils.c.
struct hlsl_type * new_hlsl_type | ( | const char * | name, |
enum hlsl_type_class | type_class, | ||
enum hlsl_base_type | base_type, | ||
unsigned | dimx, | ||
unsigned | dimy | ||
) |
Definition at line 806 of file utils.c.
Referenced by expr_common_type(), make_assignment(), and new_array_type().
struct hlsl_ir_deref * new_record_deref | ( | struct hlsl_ir_node * | record, |
struct hlsl_struct_field * | field | ||
) |
struct hlsl_ir_deref * new_var_deref | ( | struct hlsl_ir_var * | var | ) |
Definition at line 1354 of file utils.c.
Referenced by make_assignment().
|
static |
Definition at line 1387 of file utils.c.
Referenced by make_assignment().
BOOL pop_scope | ( | struct hlsl_parse_ctx * | ctx | ) |
Definition at line 1551 of file utils.c.
void push_scope | ( | struct hlsl_parse_ctx * | ctx | ) |
Definition at line 1534 of file utils.c.
Definition at line 510 of file utils.c.
Referenced by d3dcompiler_parse_rdef(), d3dcompiler_parse_signature(), d3dcompiler_parse_stat(), d3dcompiler_parse_type(), d3dcompiler_parse_variables(), and dxbc_parse().
WINE_DEFAULT_DEBUG_CHANNEL | ( | d3dcompiler | ) |