|
ReactOS 0.4.17-dev-923-g4c9a150
|

Go to the source code of this file.
Classes | |
| struct | recursive_call_ctx |
| struct | copy_propagation_value |
| struct | copy_propagation_component_trace |
| struct | copy_propagation_var_def |
| struct | copy_propagation_state |
| struct | register_allocator |
| struct | register_allocator::allocation |
Typedefs | |
| typedef bool(* | PFN_lower_func) (struct hlsl_ctx *, struct hlsl_ir_node *, struct hlsl_block *) |
Enumerations | |
| enum | validation_result { DEREF_VALIDATION_OK , DEREF_VALIDATION_OUT_OF_BOUNDS , DEREF_VALIDATION_NOT_CONSTANT } |
| typedef bool(* PFN_lower_func) (struct hlsl_ctx *, struct hlsl_ir_node *, struct hlsl_block *) |
Definition at line 678 of file hlsl_codegen.c.
| Enumerator | |
|---|---|
| DEREF_VALIDATION_OK | |
| DEREF_VALIDATION_OUT_OF_BOUNDS | |
| DEREF_VALIDATION_NOT_CONSTANT | |
Definition at line 2025 of file hlsl_codegen.c.
|
static |
Definition at line 7666 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_instr_dcl_indexable_temp(), sm4_generate_vsir_instr_dcl_semantic(), and sm4_generate_vsir_instr_dcl_temps().
|
static |
Definition at line 279 of file hlsl_codegen.c.
Referenced by append_output_copy(), and prepend_input_copy().
|
static |
Definition at line 1031 of file hlsl_codegen.c.
Referenced by lower_index_loads().
Definition at line 5582 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode().
|
static |
Definition at line 5162 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode().
|
static |
Definition at line 4994 of file hlsl_codegen.c.
Referenced by allocate_const_registers(), and allocate_const_registers_recurse().
|
static |
Definition at line 4838 of file hlsl_codegen.c.
Referenced by allocate_temp_registers_recurse().
|
static |
Definition at line 4678 of file hlsl_codegen.c.
Referenced by allocate_const_registers_recurse(), allocate_instr_temp_register(), allocate_sincos_const_registers(), and allocate_variable_temp_register().
|
static |
Definition at line 5716 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode().
|
static |
Definition at line 4653 of file hlsl_codegen.c.
Referenced by allocate_const_registers(), and allocate_numeric_registers_for_type().
|
static |
Definition at line 4570 of file hlsl_codegen.c.
Referenced by allocate_numeric_registers_for_type(), and allocate_semantic_register().
|
static |
Definition at line 4233 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 4610 of file hlsl_codegen.c.
Referenced by allocate_instr_temp_register().
|
static |
Definition at line 5303 of file hlsl_codegen.c.
Referenced by allocate_semantic_registers().
|
static |
Definition at line 5391 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 5127 of file hlsl_codegen.c.
Referenced by allocate_const_registers().
|
static |
Definition at line 5235 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode(), and sm4_generate_vsir_add_function().
|
static |
Definition at line 4904 of file hlsl_codegen.c.
Referenced by allocate_temp_registers(), and allocate_temp_registers_recurse().
|
static |
Definition at line 4876 of file hlsl_codegen.c.
Referenced by allocate_temp_registers_recurse().
|
static |
Definition at line 508 of file hlsl_codegen.c.
Referenced by append_output_copy_recurse().
|
static |
Definition at line 569 of file hlsl_codegen.c.
Referenced by append_output_copy_recurse(), and append_output_var_copy().
|
static |
Definition at line 630 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 255 of file hlsl_codegen.c.
Referenced by sm4_get_interpolation_mode(), and types_are_semantic_equivalent().
Definition at line 4818 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 680 of file hlsl_codegen.c.
Referenced by lower_ir().
|
static |
Definition at line 183 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 348 of file hlsl_codegen.c.
Referenced by append_output_copy_recurse(), and prepend_input_copy_recurse().
|
static |
Definition at line 4454 of file hlsl_codegen.c.
Referenced by process_entry_function(), and sm4_generate_vsir_add_function().
|
static |
Definition at line 4294 of file hlsl_codegen.c.
Referenced by compute_liveness(), and compute_liveness_recurse().
|
static |
Definition at line 1426 of file hlsl_codegen.c.
Referenced by copy_propagation_invalidate_from_block(), and copy_propagation_record_store().
|
static |
Definition at line 1398 of file hlsl_codegen.c.
Referenced by copy_propagation_replace_with_constant_vector(), copy_propagation_replace_with_single_instr(), and copy_propagation_transform_object_load().
|
static |
Definition at line 1384 of file hlsl_codegen.c.
Referenced by copy_propagation_get_value().
|
static |
Definition at line 1833 of file hlsl_codegen.c.
Referenced by copy_propagation_invalidate_from_block(), copy_propagation_process_if(), copy_propagation_process_loop(), and copy_propagation_process_switch().
|
static |
Definition at line 1465 of file hlsl_codegen.c.
Referenced by copy_propagation_invalidate_variable_from_deref_recurse().
|
static |
Definition at line 1539 of file hlsl_codegen.c.
Referenced by copy_propagation_invalidate_from_block(), and copy_propagation_record_store().
|
static |
Definition at line 1490 of file hlsl_codegen.c.
Referenced by copy_propagation_invalidate_variable_from_deref(), and copy_propagation_invalidate_variable_from_deref_recurse().
|
static |
Definition at line 1898 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_block().
|
static |
Definition at line 1922 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_block().
|
static |
Definition at line 1937 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_block().
|
static |
Definition at line 1795 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_block().
|
static |
Definition at line 1620 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_load(), and copy_propagation_transform_swizzle().
|
static |
Definition at line 1566 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_load(), and copy_propagation_transform_swizzle().
|
static |
Definition at line 1547 of file hlsl_codegen.c.
Referenced by copy_propagation_record_store().
|
static |
Definition at line 1828 of file hlsl_codegen.c.
Referenced by copy_propagation_process_if(), copy_propagation_process_loop(), copy_propagation_process_switch(), and hlsl_copy_propagation_execute().
|
static |
Definition at line 1821 of file hlsl_codegen.c.
Referenced by copy_propagation_process_if(), copy_propagation_process_loop(), copy_propagation_process_switch(), and hlsl_copy_propagation_execute().
|
static |
Definition at line 1448 of file hlsl_codegen.c.
Referenced by copy_propagation_invalidate_variable(), and copy_propagation_set_value().
|
static |
Definition at line 1959 of file hlsl_codegen.c.
Referenced by copy_propagation_process_if(), copy_propagation_process_loop(), copy_propagation_process_switch(), and hlsl_copy_propagation_execute().
|
static |
Definition at line 1657 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_block().
|
static |
Definition at line 1731 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_resource_load(), and copy_propagation_transform_resource_store().
|
static |
Definition at line 1775 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_block().
|
static |
Definition at line 1786 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_block().
|
static |
Definition at line 1713 of file hlsl_codegen.c.
Referenced by copy_propagation_transform_block().
|
static |
Definition at line 1365 of file hlsl_codegen.c.
Referenced by copy_propagation_state_init().
Definition at line 1373 of file hlsl_codegen.c.
Referenced by copy_propagation_state_destroy().
Definition at line 4124 of file hlsl_codegen.c.
Referenced by DceGetDceFromDC(), DceReleaseDC(), process_entry_function(), and UserReleaseDC().
|
static |
Definition at line 4691 of file hlsl_codegen.c.
Referenced by allocate_const_registers(), allocate_const_registers_recurse(), allocate_instr_temp_register(), allocate_semantic_register(), allocate_sincos_const_registers(), and allocate_variable_temp_register().
|
static |
Definition at line 4273 of file hlsl_codegen.c.
Referenced by compute_liveness_recurse().
Definition at line 4177 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode().
|
static |
Definition at line 753 of file hlsl_codegen.c.
Referenced by find_recursive_calls(), and process_entry_function().
|
static |
Definition at line 2193 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 2388 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 6772 of file hlsl_codegen.c.
Referenced by generate_vsir_instr_expr_single_instr_op(), generate_vsir_instr_swizzle(), sm1_generate_vsir_instr_constant(), sm1_generate_vsir_instr_expr_per_component_instr_op(), sm1_generate_vsir_instr_expr_sincos(), sm1_generate_vsir_instr_if(), sm1_generate_vsir_instr_jump(), sm1_generate_vsir_instr_load(), sm1_generate_vsir_instr_resource_load(), sm1_generate_vsir_instr_store(), sm4_generate_vsir_cast_from_bool(), sm4_generate_vsir_expr_with_two_destinations(), sm4_generate_vsir_instr_dcl_indexable_temp(), sm4_generate_vsir_instr_dcl_semantic(), sm4_generate_vsir_instr_dcl_temps(), sm4_generate_vsir_rasterizer_sample_count(), and sm4_generate_vsir_rcp_using_div().
|
static |
Definition at line 6637 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_init_src_param_from_deref(), sm1_generate_vsir_instr_constant(), sm1_generate_vsir_instr_expr_per_component_instr_op(), sm1_generate_vsir_instr_expr_sincos(), and vsir_src_from_hlsl_node().
|
static |
Definition at line 6894 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_instr_expr(), sm1_generate_vsir_instr_expr_cast(), sm4_generate_vsir_instr_expr(), and sm4_generate_vsir_instr_expr_cast().
|
static |
Definition at line 7458 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_block(), and sm4_generate_vsir_block().
|
static |
Definition at line 6573 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir(), and sm4_generate_vsir().
|
static |
Definition at line 6434 of file hlsl_codegen.c.
Referenced by generate_vsir_signature().
|
static |
Definition at line 5675 of file hlsl_codegen.c.
Referenced by allocate_objects().
|
static |
Definition at line 4519 of file hlsl_codegen.c.
Referenced by allocate_const_registers(), allocate_register(), allocate_register_with_masks(), and is_range_available().
Definition at line 5574 of file hlsl_codegen.c.
Referenced by allocate_buffers().
|
static |
Definition at line 4217 of file hlsl_codegen.c.
Referenced by allocate_objects(), allocate_register_reservations(), and get_allocated_object().
|
static |
Definition at line 5414 of file hlsl_codegen.c.
Referenced by allocate_buffers().
|
static |
Definition at line 6011 of file hlsl_codegen.c.
Referenced by parse_domain_attribute(), parse_outputtopology_attribute(), parse_partitioning_attribute(), and parse_patchconstantfunc_attribute().
| struct hlsl_ir_node * hlsl_add_conditional | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_block * | instrs, | ||
| struct hlsl_ir_node * | condition, | ||
| struct hlsl_ir_node * | if_true, | ||
| struct hlsl_ir_node * | if_false | ||
| ) |
Definition at line 3667 of file hlsl_codegen.c.
Referenced by lower_float_modulus(), lower_int_division(), and lower_int_modulus().
|
static |
Definition at line 5433 of file hlsl_codegen.c.
Referenced by hlsl_calculate_buffer_offsets().
Definition at line 5551 of file hlsl_codegen.c.
Referenced by allocate_buffers(), and fx_write_context_init().
| bool hlsl_component_index_range_from_deref | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_deref * | deref, | ||
| unsigned int * | start, | ||
| unsigned int * | count | ||
| ) |
Definition at line 5811 of file hlsl_codegen.c.
Referenced by copy_propagation_record_store(), copy_propagation_replace_with_constant_vector(), copy_propagation_replace_with_single_instr(), and copy_propagation_transform_object_load().
| bool hlsl_copy_propagation_execute | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_block * | block | ||
| ) |
Definition at line 2009 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
| int hlsl_emit_bytecode | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_ir_function_decl * | entry_func, | ||
| enum vkd3d_shader_target_type | target_type, | ||
| struct vkd3d_shader_code * | out | ||
| ) |
Definition at line 9202 of file hlsl_codegen.c.
Referenced by hlsl_compile_shader().
| void hlsl_lower_index_loads | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_block * | body | ||
| ) |
Definition at line 6392 of file hlsl_codegen.c.
| bool hlsl_offset_from_deref | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_deref * | deref, | ||
| unsigned int * | offset | ||
| ) |
Definition at line 5949 of file hlsl_codegen.c.
Referenced by hlsl_offset_from_deref_safe().
Definition at line 5978 of file hlsl_codegen.c.
Referenced by hlsl_reg_from_deref(), sm1_generate_vsir_init_src_param_from_deref(), sm4_numeric_register_from_deref(), and sm4_register_from_deref().
Definition at line 5992 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_init_dst_param_from_deref(), sm1_generate_vsir_init_src_param_from_deref(), and sm4_register_from_deref().
| bool hlsl_regset_index_from_deref | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_deref * | deref, | ||
| enum hlsl_regset | regset, | ||
| unsigned int * | index | ||
| ) |
Definition at line 5876 of file hlsl_codegen.c.
Referenced by register_deref_usage(), and track_object_components_sampler_dim().
| void hlsl_run_const_passes | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_block * | body | ||
| ) |
Definition at line 6397 of file hlsl_codegen.c.
Referenced by loop_unrolling_unroll_loop(), process_entry_function(), and resolve_fx_4_state_block_values().
| bool hlsl_transform_ir | ( | struct hlsl_ctx * | ctx, |
| bool(*)(struct hlsl_ctx *ctx, struct hlsl_ir_node *, void *) | func, | ||
| struct hlsl_block * | block, | ||
| void * | context | ||
| ) |
Definition at line 642 of file hlsl_codegen.c.
Referenced by find_recursive_calls(), hlsl_run_const_passes(), hlsl_transform_ir(), lower_ir(), process_entry_function(), resolve_fx_4_state_block_values(), and transform_derefs().
Definition at line 1255 of file hlsl_codegen.c.
Referenced by compute_liveness(), hlsl_copy_propagation_execute(), and index_instructions().
|
static |
Definition at line 4446 of file hlsl_codegen.c.
Referenced by compute_liveness().
|
static |
Definition at line 789 of file hlsl_codegen.c.
Referenced by lower_return().
|
static |
Definition at line 2885 of file hlsl_codegen.c.
Referenced by sort_synthetic_separated_samplers_first().
|
static |
Definition at line 4634 of file hlsl_codegen.c.
Definition at line 2188 of file hlsl_codegen.c.
Referenced by fold_redundant_casts().
|
static |
Definition at line 8661 of file hlsl_codegen.c.
Referenced by loop_unrolling_find_jump(), and loop_unrolling_unroll_loop().
|
static |
Definition at line 8789 of file hlsl_codegen.c.
Referenced by loop_unrolling_find_unrollable_loop(), and transform_unroll_loops().
|
static |
Definition at line 8696 of file hlsl_codegen.c.
Referenced by loop_unrolling_unroll_loop().
|
static |
Definition at line 8714 of file hlsl_codegen.c.
Referenced by transform_unroll_loops().
|
static |
Definition at line 3054 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 1214 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 1007 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 3633 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes(), and process_entry_function().
|
static |
Definition at line 2924 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 3121 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 3568 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 2793 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 3378 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 4027 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 4086 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 2956 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 3001 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 8877 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 8961 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 3904 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 3150 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 1121 of file hlsl_codegen.c.
Referenced by hlsl_lower_index_loads(), and process_entry_function().
|
static |
Definition at line 3823 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 3695 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 3853 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes(), and process_entry_function().
|
static |
Definition at line 3761 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 704 of file hlsl_codegen.c.
Referenced by hlsl_lower_index_loads(), hlsl_run_const_passes(), and process_entry_function().
|
static |
Definition at line 3280 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 1071 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes(), and process_entry_function().
|
static |
Definition at line 2353 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 2679 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 2567 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 3970 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 812 of file hlsl_codegen.c.
Referenced by lower_return(), and process_entry_function().
|
static |
Definition at line 3078 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 3507 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 2979 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 3330 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 3179 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 4190 of file hlsl_codegen.c.
Referenced by mark_indexable_vars().
|
static |
Definition at line 4203 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode(), and sm4_generate_vsir_add_function().
Definition at line 4476 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 26 of file hlsl_codegen.c.
Referenced by new_offset_instr_from_deref().
|
static |
Definition at line 108 of file hlsl_codegen.c.
Referenced by replace_deref_path_with_offset().
|
static |
Definition at line 2459 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 2095 of file hlsl_codegen.c.
Referenced by validate_dereferences().
|
static |
Definition at line 6079 of file hlsl_codegen.c.
Referenced by parse_entry_function_attributes().
|
static |
Definition at line 6240 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode().
|
static |
Definition at line 6031 of file hlsl_codegen.c.
Referenced by parse_entry_function_attributes().
|
static |
Definition at line 6105 of file hlsl_codegen.c.
Referenced by parse_entry_function_attributes().
|
static |
Definition at line 6149 of file hlsl_codegen.c.
Referenced by parse_entry_function_attributes().
|
static |
Definition at line 6177 of file hlsl_codegen.c.
Referenced by parse_entry_function_attributes().
|
static |
Definition at line 6205 of file hlsl_codegen.c.
Referenced by parse_entry_function_attributes().
|
static |
Definition at line 365 of file hlsl_codegen.c.
Referenced by prepend_input_copy_recurse().
|
static |
Definition at line 432 of file hlsl_codegen.c.
Referenced by prepend_input_copy_recurse(), and prepend_input_var_copy().
|
static |
Definition at line 496 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 204 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode(), and process_entry_function().
|
static |
Definition at line 9033 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode().
|
static |
Definition at line 4548 of file hlsl_codegen.c.
Referenced by allocate_const_registers(), allocate_range(), allocate_register(), allocate_register_with_masks(), and allocate_temp_registers().
|
static |
Definition at line 4968 of file hlsl_codegen.c.
Referenced by allocate_const_registers_recurse(), and allocate_sincos_const_registers().
|
static |
Definition at line 4752 of file hlsl_codegen.c.
Referenced by track_components_usage().
|
static |
Definition at line 2440 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 2419 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 6336 of file hlsl_codegen.c.
Referenced by process_entry_function(), and remove_unreachable_code().
|
static |
Definition at line 149 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 7681 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_block().
|
static |
Definition at line 7630 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode().
|
static |
Definition at line 7571 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir(), and sm1_generate_vsir_instr_if().
|
static |
Definition at line 6647 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir().
|
static |
Definition at line 7249 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_instr_store().
|
static |
Definition at line 7304 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_instr_load(), and sm1_generate_vsir_instr_resource_load().
|
static |
Definition at line 6849 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_block().
|
static |
Definition at line 7112 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_block().
|
static |
Definition at line 7009 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_instr_expr().
|
static |
Definition at line 6933 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_instr_expr().
|
static |
Definition at line 6969 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_instr_expr().
|
static |
Definition at line 7534 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_block().
|
static |
Definition at line 7508 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_block().
|
static |
Definition at line 7370 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_block().
|
static |
Definition at line 7391 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_block().
|
static |
Definition at line 7491 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir_block().
|
static |
Definition at line 6693 of file hlsl_codegen.c.
Referenced by sm1_generate_vsir().
|
static |
Definition at line 8630 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode().
|
static |
Definition at line 8573 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir().
|
static |
Definition at line 8512 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_add_function(), and sm4_generate_vsir_block().
|
static |
Definition at line 7861 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_instr_expr_cast().
|
static |
Definition at line 7995 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_instr_expr().
|
static |
Definition at line 7830 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_add_function().
|
static |
Definition at line 7700 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_add_function().
|
static |
Definition at line 7817 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_add_function().
|
static |
Definition at line 8052 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_block().
|
static |
Definition at line 7884 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_instr_expr().
|
static |
Definition at line 6874 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_instr_expr().
|
static |
Definition at line 8025 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_instr_expr().
| enum vkd3d_shader_interpolation_mode sm4_get_interpolation_mode | ( | struct hlsl_type * | type, |
| unsigned int | storage_modifiers | ||
| ) |
Definition at line 5273 of file hlsl_codegen.c.
Referenced by allocate_semantic_register(), and sm4_generate_vsir_instr_dcl_semantic().
Definition at line 2902 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 5091 of file hlsl_codegen.c.
Referenced by sort_uniforms_by_numeric_bind_count().
Definition at line 5112 of file hlsl_codegen.c.
Referenced by allocate_const_registers().
|
static |
Definition at line 2242 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 2221 of file hlsl_codegen.c.
Referenced by split_array_copies(), split_matrix_copies(), and split_struct_copies().
|
static |
Definition at line 2318 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 2280 of file hlsl_codegen.c.
Referenced by hlsl_run_const_passes().
|
static |
Definition at line 4782 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 4707 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 740 of file hlsl_codegen.c.
Referenced by mark_indexable_vars(), and process_entry_function().
|
static |
Definition at line 709 of file hlsl_codegen.c.
Referenced by transform_derefs().
|
static |
Definition at line 8848 of file hlsl_codegen.c.
Referenced by process_entry_function().
Definition at line 7849 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_instr_expr(), and sm4_generate_vsir_rcp_using_div().
Definition at line 7854 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_instr_expr().
|
static |
Definition at line 266 of file hlsl_codegen.c.
Referenced by add_semantic_var().
Definition at line 5489 of file hlsl_codegen.c.
Referenced by allocate_buffers().
|
static |
Definition at line 2032 of file hlsl_codegen.c.
Referenced by validate_dereferences().
|
static |
Definition at line 2112 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 244 of file hlsl_codegen.c.
Referenced by append_output_copy_recurse(), and prepend_input_copy_recurse().
|
static |
Definition at line 6270 of file hlsl_codegen.c.
Referenced by hlsl_emit_bytecode().
|
static |
Definition at line 2641 of file hlsl_codegen.c.
Referenced by process_entry_function().
|
static |
Definition at line 6631 of file hlsl_codegen.c.
Referenced by generate_vsir_instr_swizzle(), vsir_dst_from_hlsl_node(), and vsir_src_from_hlsl_node().
|
static |
Definition at line 6601 of file hlsl_codegen.c.
Referenced by vsir_data_type_from_hlsl_instruction(), and vsir_data_type_from_hlsl_type().
|
static |
Definition at line 6839 of file hlsl_codegen.c.
Referenced by generate_vsir_instr_expr_single_instr_op(), sm4_generate_vsir_cast_from_bool(), sm4_generate_vsir_expr_with_two_destinations(), sm4_generate_vsir_rasterizer_sample_count(), and sm4_generate_vsir_rcp_using_div().
|
static |
Definition at line 6795 of file hlsl_codegen.c.
Referenced by sm4_generate_vsir_cast_from_bool(), sm4_generate_vsir_rcp_using_div(), and vsir_src_from_hlsl_node().
|
static |
Definition at line 6818 of file hlsl_codegen.c.
Referenced by generate_vsir_instr_expr_single_instr_op(), sm1_generate_vsir_instr_if(), sm1_generate_vsir_instr_resource_load(), sm1_generate_vsir_instr_store(), sm4_generate_vsir_cast_from_bool(), sm4_generate_vsir_expr_with_two_destinations(), and sm4_generate_vsir_rcp_using_div().