|
ReactOS 0.4.17-dev-1133-gc25e4fd
|

Go to the source code of this file.
Classes | |
| struct | clone_instr_map |
|
static |
Definition at line 2087 of file hlsl.c.
Referenced by clone_compile(), clone_if(), clone_loop(), clone_stateblock_entry(), clone_switch(), and hlsl_clone_block().
|
static |
Definition at line 2157 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2328 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2162 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2136 of file hlsl.c.
Referenced by clone_load(), clone_resource_load(), clone_resource_store(), and clone_store().
|
static |
Definition at line 2167 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2178 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2317 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2481 of file hlsl.c.
Referenced by clone_block().
|
static |
Definition at line 2201 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2206 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2222 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2238 of file hlsl.c.
Referenced by clone_instr().
|
static |
|
static |
Definition at line 2366 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2152 of file hlsl.c.
Referenced by clone_resource_load(), clone_resource_store(), clone_stateblock_entry(), and clone_store().
|
static |
Definition at line 2373 of file hlsl.c.
Referenced by clone_instr().
| struct hlsl_state_block_entry * clone_stateblock_entry | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_state_block_entry * | src, | ||
| const char * | name, | ||
| bool | lhs_has_index, | ||
| unsigned int | lhs_index, | ||
| bool | single_arg, | ||
| unsigned int | arg_index | ||
| ) |
Definition at line 2379 of file hlsl.c.
Referenced by decompose_fx_4_state_block_expand_array(), decompose_fx_4_state_function_call(), and hlsl_new_sampler_state().
|
static |
Definition at line 2292 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2287 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2446 of file hlsl.c.
Referenced by clone_instr().
|
static |
Definition at line 2310 of file hlsl.c.
Referenced by clone_instr().
Definition at line 4137 of file hlsl.c.
Referenced by hlsl_ctx_init().
Definition at line 2613 of file hlsl.c.
Referenced by hlsl_new_scope().
| const char * debug_hlsl_expr_op | ( | enum hlsl_ir_expr_op | op | ) |
Definition at line 3176 of file hlsl.c.
Referenced by dump_ir_expr(), hlsl_fold_constant_exprs(), sm1_generate_vsir_instr_expr(), and sm4_generate_vsir_instr_expr().
Definition at line 3093 of file hlsl.c.
Referenced by copy_propagation_replace_with_constant_vector(), copy_propagation_replace_with_single_instr(), and dump_ir_swizzle().
Definition at line 2889 of file hlsl.c.
Referenced by dump_instr(), dump_ir_var(), fold_abs(), fold_add(), fold_and(), fold_bit_xor(), fold_cast(), fold_ceil(), fold_div(), fold_dot(), fold_dp2add(), fold_exp2(), fold_floor(), fold_fract(), fold_log2(), fold_max(), fold_min(), fold_mod(), fold_mul(), fold_neg(), fold_not(), fold_or(), fold_rcp(), fold_rsq(), fold_sat(), fold_sqrt(), sm1_generate_vsir_instr_expr_cast(), and sm4_generate_vsir_instr_expr().
Definition at line 3074 of file hlsl.c.
Referenced by copy_propagation_invalidate_variable(), copy_propagation_set_value(), debug_register(), and dump_ir_store().
Definition at line 4145 of file hlsl.c.
Referenced by hlsl_ctx_init().
|
static |
Definition at line 2996 of file hlsl.c.
Referenced by dump_ir_compile(), dump_ir_if(), dump_ir_loop(), dump_ir_switch(), and hlsl_dump_function().
|
static |
Definition at line 3030 of file hlsl.c.
Referenced by dump_instr(), dump_ir_resource_load(), dump_ir_resource_store(), and dump_ir_store().
|
static |
Definition at line 3487 of file hlsl.c.
Referenced by dump_block().
|
static |
Definition at line 3106 of file hlsl.c.
Referenced by dump_instr().
|
static |
Definition at line 3421 of file hlsl.c.
Referenced by dump_instr().
|
static |
Definition at line 3134 of file hlsl.c.
Referenced by dump_instr().
|
static |
Definition at line 3246 of file hlsl.c.
Referenced by dump_instr().
|
static |
|
static |
|
static |
Definition at line 3270 of file hlsl.c.
Referenced by dump_instr().
|
static |
|
static |
Definition at line 3307 of file hlsl.c.
Referenced by dump_instr().
|
static |
|
static |
Definition at line 3449 of file hlsl.c.
Referenced by dump_instr().
|
static |
Definition at line 3455 of file hlsl.c.
Referenced by dump_instr().
|
static |
Definition at line 3385 of file hlsl.c.
Referenced by dump_instr().
|
static |
|
static |
Definition at line 3461 of file hlsl.c.
Referenced by dump_instr().
|
static |
Definition at line 3396 of file hlsl.c.
Referenced by dump_instr().
|
static |
Definition at line 3015 of file hlsl.c.
Referenced by hlsl_dump_function().
Definition at line 3007 of file hlsl.c.
Referenced by dump_deref(), dump_ir_compile(), dump_ir_expr(), dump_ir_if(), dump_ir_index(), dump_ir_resource_load(), dump_ir_resource_store(), dump_ir_store(), dump_ir_switch(), and dump_ir_swizzle().
|
static |
Definition at line 3931 of file hlsl.c.
Referenced by free_function_rb().
|
static |
Definition at line 3918 of file hlsl.c.
Referenced by free_function().
|
static |
Definition at line 3680 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
Definition at line 3781 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
Definition at line 3685 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
|
static |
Definition at line 3699 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
|
static |
Definition at line 3707 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
Definition at line 3713 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
Definition at line 3719 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
|
static |
Definition at line 3745 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
Definition at line 3792 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
Definition at line 3799 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
Definition at line 3753 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
Definition at line 3739 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
|
static |
Definition at line 3760 of file hlsl.c.
Referenced by hlsl_free_instr().
|
static |
Definition at line 2662 of file hlsl.c.
Referenced by hlsl_get_func_decl().
Definition at line 970 of file hlsl.c.
Referenced by hlsl_get_type().
Definition at line 3946 of file hlsl.c.
Definition at line 96 of file hlsl.c.
| void hlsl_block_cleanup | ( | struct hlsl_block * | block | ) |
Definition at line 3675 of file hlsl.c.
Referenced by call_lower_func(), clone_block(), clone_compile(), clone_if(), clone_loop(), clone_switch(), free_function_decl(), free_ir_compile(), free_ir_if(), free_ir_loop(), hlsl_ctx_cleanup(), hlsl_emit_bytecode(), hlsl_free_attribute(), hlsl_free_ir_switch_case(), hlsl_free_state_block_entry(), init_deref_from_component_index(), loop_unrolling_unroll_loop(), new_offset_instr_from_deref(), remove_unreachable_code(), sm4_generate_vsir_add_function(), and transform_unroll_loops().
| void hlsl_cleanup_deref | ( | struct hlsl_deref * | deref | ) |
Definition at line 1408 of file hlsl.c.
Referenced by clone_resource_load(), copy_propagation_transform_object_load(), free_ir_load(), free_ir_resource_load(), free_ir_resource_store(), free_ir_store(), hlsl_new_resource_load(), lower_nonconstant_array_loads(), and replace_deref_path_with_offset().
Definition at line 2436 of file hlsl.c.
Referenced by clone_switch(), and free_ir_switch().
| void hlsl_cleanup_semantic | ( | struct hlsl_semantic * | semantic | ) |
Definition at line 3896 of file hlsl.c.
Referenced by add_semantic_var(), hlsl_clone_semantic(), hlsl_free_type(), and hlsl_free_var().
| bool hlsl_clone_block | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_block * | dst_block, | ||
| const struct hlsl_block * | src_block | ||
| ) |
Definition at line 2544 of file hlsl.c.
Referenced by loop_unrolling_unroll_loop(), lower_calls(), process_entry_function(), and transform_unroll_loops().
| bool hlsl_clone_semantic | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_semantic * | dst, | ||
| const struct hlsl_semantic * | src | ||
| ) |
Definition at line 3903 of file hlsl.c.
Referenced by add_semantic_var().
Definition at line 4042 of file hlsl.c.
Referenced by fold_swizzle_chains(), generate_vsir_instr_swizzle(), and write_sm4_swizzle().
Definition at line 4026 of file hlsl.c.
Referenced by allocate_register(), hlsl_reg_from_deref(), sm1_generate_vsir_init_dst_param_from_deref(), sm4_numeric_register_from_deref(), and write_sm4_store().
| struct hlsl_ir_function_decl * hlsl_compile_internal_function | ( | struct hlsl_ctx * | ctx, |
| const char * | name, | ||
| const char * | hlsl | ||
| ) |
Definition at line 4642 of file hlsl.c.
Referenced by lower_f16tof32(), and lower_f32tof16().
| int hlsl_compile_shader | ( | const struct vkd3d_shader_code * | hlsl, |
| const struct vkd3d_shader_compile_info * | compile_info, | ||
| struct vkd3d_shader_code * | out, | ||
| struct vkd3d_shader_message_context * | message_context | ||
| ) |
Definition at line 4496 of file hlsl.c.
Referenced by compile_hlsl().
| struct vkd3d_string_buffer * hlsl_component_to_string | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_ir_var * | var, | ||
| unsigned int | index | ||
| ) |
Definition at line 2864 of file hlsl.c.
Referenced by sm4_get_extern_resources().
| bool hlsl_copy_deref | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_deref * | deref, | ||
| const struct hlsl_deref * | other | ||
| ) |
Definition at line 1388 of file hlsl.c.
Referenced by copy_propagation_transform_object_load(), hlsl_new_resource_store(), lower_combined_samples(), and lower_nonconstant_array_loads().
Definition at line 4444 of file hlsl.c.
Referenced by hlsl_compile_shader().
|
static |
Definition at line 4343 of file hlsl.c.
Referenced by hlsl_compile_shader().
| enum hlsl_regset hlsl_deref_get_regset | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_deref * | deref | ||
| ) |
Definition at line 327 of file hlsl.c.
Referenced by clean_constant_deref_offset_srcs(), hlsl_offset_from_deref(), lower_combined_samples(), new_offset_instr_from_deref(), register_deref_usage(), sm4_register_from_deref(), track_components_usage(), track_object_components_sampler_dim(), and write_sm4_ld().
Definition at line 783 of file hlsl.c.
Referenced by hlsl_deref_get_regset(), hlsl_new_load_component(), hlsl_new_load_index(), hlsl_new_resource_load(), init_deref_from_component_index(), lower_combined_samples(), register_deref_usage(), replace_deref_path_with_offset(), sm4_register_from_deref(), write_sm4_ld(), and write_sm4_resource_store().
Definition at line 3573 of file hlsl.c.
Referenced by dump_function().
| void hlsl_dump_var_default_values | ( | const struct hlsl_ir_var * | var | ) |
Definition at line 3593 of file hlsl.c.
| void hlsl_error | ( | struct hlsl_ctx * | ctx, |
| const struct vkd3d_shader_location * | loc, | ||
| enum vkd3d_shader_error | error, | ||
| const char * | fmt, | ||
| ... | |||
| ) |
Definition at line 35 of file hlsl.c.
Referenced by add_semantic_var(), allocate_buffers(), allocate_const_registers(), allocate_objects(), allocate_register_reservations(), allocate_semantic_register(), decompose_fx_4_state_function_call(), find_recursive_calls(), fold_div(), fold_log2(), fold_mod(), fold_rcp(), fold_rsq(), fold_sqrt(), generate_vsir_signature_entry(), get_string_argument_value(), hlsl_calculate_buffer_offset(), hlsl_compile_shader(), hlsl_emit_bytecode(), hlsl_fx_2_write(), hlsl_init_deref_from_index_chain(), hlsl_new_compile(), hlsl_offset_from_deref(), hlsl_validate_state_block_entry(), loop_unrolling_unroll_loop(), lower_calls(), lower_combined_samples(), normalize_switch_cases(), parse_domain_attribute(), parse_numthreads_attribute(), parse_outputcontrolpoints_attribute(), parse_outputtopology_attribute(), parse_partitioning_attribute(), parse_patchconstantfunc_attribute(), process_entry_function(), replace_state_block_constant(), resolve_fx_4_state_block_values(), sm1_generate_vsir_instr_expr_cast(), track_object_components_sampler_dim(), validate_buffer_offsets(), validate_component_index_range_from_deref(), validate_dereferences(), validate_field_semantic(), validate_hull_shader_attributes(), write_annotations(), write_fx_4_state_assignment(), write_fx_4_string_initializer(), write_sm4_dcl_textures(), write_sm4_gather(), write_sm4_ld(), write_sm4_rdef(), and write_sm4_sample().
| void hlsl_fixme | ( | struct hlsl_ctx * | ctx, |
| const struct vkd3d_shader_location * | loc, | ||
| const char * | fmt, | ||
| ... | |||
| ) |
Definition at line 58 of file hlsl.c.
Referenced by append_output_copy(), get_fx_4_numeric_type_description(), hlsl_compile_shader(), hlsl_offset_from_deref_safe(), is_type_supported_fx_2(), lower_combined_samples(), lower_ternary(), new_offset_from_path_index(), parse_numthreads_attribute(), parse_outputcontrolpoints_attribute(), prepend_input_copy(), prepend_input_copy_recurse(), resolve_fx_4_state_block_values(), sm1_generate_vsir_block(), sm1_generate_vsir_init_dst_param_from_deref(), sm1_generate_vsir_init_src_param_from_deref(), sm1_generate_vsir_instr_expr(), sm1_generate_vsir_instr_expr_cast(), sm1_generate_vsir_instr_if(), sm1_generate_vsir_instr_jump(), sm1_generate_vsir_instr_resource_load(), sm1_generate_vsir_sampler_dcls(), sm4_generate_vsir_block(), sm4_generate_vsir_instr_expr(), sm4_generate_vsir_instr_expr_cast(), split_array_copies(), split_matrix_copies(), split_struct_copies(), validate_nonconstant_vector_store_derefs(), write_fx_2_default_value(), write_fx_2_initial_value(), write_fx_2_object_initializer(), write_fx_2_pass(), write_fx_4_annotation(), write_fx_4_default_value(), write_fx_4_object_variable(), write_fx_4_state_assignment(), write_fx_4_state_numeric_value(), write_sm4_block(), write_sm4_jump(), write_sm4_rdef(), write_sm4_resinfo(), write_sm4_resource_load(), and write_sm4_resource_store().
| void hlsl_free_attribute | ( | struct hlsl_attribute * | attr | ) |
Definition at line 3885 of file hlsl.c.
Referenced by free_function_decl().
| void hlsl_free_instr | ( | struct hlsl_ir_node * | node | ) |
Definition at line 3805 of file hlsl.c.
Referenced by dce(), hlsl_free_instr_list(), hlsl_new_sampler_state(), hlsl_new_string_constant(), hlsl_replace_node(), loop_unrolling_unroll_loop(), lower_calls(), lower_return(), remove_trivial_conditional_branches(), split_array_copies(), split_matrix_copies(), and split_struct_copies().
Definition at line 3663 of file hlsl.c.
Referenced by hlsl_block_cleanup().
| void hlsl_free_ir_switch_case | ( | struct hlsl_ir_switch_case * | c | ) |
Definition at line 2429 of file hlsl.c.
Referenced by hlsl_cleanup_ir_switch_cases(), and normalize_switch_cases().
| void hlsl_free_state_block | ( | struct hlsl_state_block * | state_block | ) |
Definition at line 150 of file hlsl.c.
Referenced by free_ir_sampler_state(), hlsl_ctx_cleanup(), and hlsl_free_var().
| void hlsl_free_state_block_entry | ( | struct hlsl_state_block_entry * | entry | ) |
Definition at line 137 of file hlsl.c.
Referenced by clone_stateblock_entry(), decompose_fx_4_state_function_call(), and hlsl_free_state_block().
Definition at line 3643 of file hlsl.c.
Referenced by hlsl_ctx_cleanup().
| void hlsl_free_var | ( | struct hlsl_ir_var * | decl | ) |
Definition at line 161 of file hlsl.c.
Referenced by hlsl_ctx_cleanup().
| struct hlsl_type * hlsl_get_element_type_from_path_index | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_type * | type, | ||
| struct hlsl_ir_node * | idx | ||
| ) |
Definition at line 848 of file hlsl.c.
Referenced by copy_propagation_invalidate_variable_from_deref_recurse(), hlsl_component_index_range_from_deref(), hlsl_deref_get_type(), hlsl_new_index(), hlsl_new_load_index(), hlsl_regset_index_from_deref(), lower_nonconstant_array_loads(), lower_nonconstant_vector_derefs(), new_offset_instr_from_deref(), validate_component_index_range_from_deref(), and validate_nonconstant_vector_store_derefs().
| struct hlsl_ir_function_decl * hlsl_get_first_func_decl | ( | struct hlsl_ctx * | ctx, |
| const char * | name | ||
| ) |
Definition at line 1028 of file hlsl.c.
Referenced by hlsl_compile_internal_function().
| struct hlsl_ir_function_decl * hlsl_get_func_decl | ( | struct hlsl_ctx * | ctx, |
| const char * | name, | ||
| const struct hlsl_func_parameters * | parameters | ||
| ) |
Definition at line 2678 of file hlsl.c.
Definition at line 1019 of file hlsl.c.
Referenced by hlsl_compile_shader(), hlsl_get_func_decl(), and parse_patchconstantfunc_attribute().
Definition at line 226 of file hlsl.c.
Referenced by decompose_fx_4_state_block_expand_array(), get_fx_4_type_size(), hlsl_get_multiarray_element_type(), is_numeric_fx_4_type(), is_supported_object_variable(), process_entry_function(), resolve_fx_4_state_block_values(), validate_field_semantic(), write_fx_2_default_value(), write_fx_2_initial_value(), write_fx_2_object_initializer(), write_fx_2_parameter(), write_fx_4_annotation(), write_fx_4_default_value(), write_fx_4_object_variable(), write_fx_4_type(), write_sm1_type(), write_sm4_type(), and write_type().
Definition at line 233 of file hlsl.c.
Referenced by get_fx_4_type_size(), hlsl_get_multiarray_size(), hlsl_type_calculate_reg_size(), write_fx_2_default_value(), write_fx_2_object_initializer(), write_fx_2_parameter(), write_fx_4_default_value(), write_fx_4_object_variable(), write_fx_4_shader_initializer(), write_fx_4_state_object_initializer(), write_fx_4_string_initializer(), write_fx_4_type(), write_fx_5_shader_initializer(), write_sm1_type(), write_sm4_type(), and write_type().
| const struct hlsl_profile_info * hlsl_get_target_info | ( | const char * | target | ) |
Definition at line 4054 of file hlsl.c.
Referenced by hlsl_compile_shader(), and hlsl_new_compile().
| struct hlsl_type * hlsl_get_type | ( | struct hlsl_scope * | scope, |
| const char * | name, | ||
| bool | recursive, | ||
| bool | case_insensitive | ||
| ) |
Definition at line 995 of file hlsl.c.
Referenced by hlsl_get_type(), hlsl_new_compile(), and hlsl_scope_add_type().
| struct hlsl_ir_var * hlsl_get_var | ( | struct hlsl_scope * | scope, |
| const char * | name | ||
| ) |
Definition at line 123 of file hlsl.c.
Referenced by hlsl_get_var(), and lower_combined_samples().
| bool hlsl_index_chain_has_resource_access | ( | struct hlsl_ir_index * | index | ) |
Definition at line 2013 of file hlsl.c.
Referenced by hlsl_index_chain_has_resource_access().
| bool hlsl_index_is_noncontiguous | ( | struct hlsl_ir_index * | index | ) |
Definition at line 1999 of file hlsl.c.
Referenced by hlsl_init_deref_from_index_chain(), and lower_index_loads().
| bool hlsl_index_is_resource_access | ( | struct hlsl_ir_index * | index | ) |
Definition at line 2006 of file hlsl.c.
Referenced by hlsl_index_chain_has_resource_access(), and lower_index_loads().
| bool hlsl_init_deref_from_index_chain | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_deref * | deref, | ||
| struct hlsl_ir_node * | chain | ||
| ) |
Definition at line 717 of file hlsl.c.
Referenced by hlsl_new_resource_load().
| void hlsl_init_simple_deref_from_var | ( | struct hlsl_deref * | deref, |
| struct hlsl_ir_var * | var | ||
| ) |
Definition at line 1424 of file hlsl.c.
Referenced by add_zero_mipmap_level(), hlsl_new_simple_store(), hlsl_new_var_load(), lower_index_loads(), lower_matrix_swizzles(), and lower_trig().
| const char * hlsl_jump_type_to_string | ( | enum hlsl_ir_jump_type | type | ) |
Definition at line 2979 of file hlsl.c.
Referenced by sm1_generate_vsir_instr_jump(), and write_sm4_jump().
Definition at line 3978 of file hlsl.c.
Referenced by generate_vsir_get_src_swizzle(), generate_vsir_instr_swizzle(), sm4_src_from_deref(), sm4_src_from_node(), and write_sm4_swizzle().
| struct vkd3d_string_buffer * hlsl_modifiers_to_string | ( | struct hlsl_ctx * | ctx, |
| uint32_t | modifiers | ||
| ) |
Definition at line 2901 of file hlsl.c.
Referenced by dump_ir_var().
| struct hlsl_type * hlsl_new_array_type | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_type * | basic_type, | ||
| unsigned int | array_size | ||
| ) |
Definition at line 880 of file hlsl.c.
Referenced by lower_combined_samples().
| struct hlsl_ir_node * hlsl_new_binary_expr | ( | struct hlsl_ctx * | ctx, |
| enum hlsl_ir_expr_op | op, | ||
| struct hlsl_ir_node * | arg1, | ||
| struct hlsl_ir_node * | arg2 | ||
| ) |
Definition at line 1619 of file hlsl.c.
Referenced by lower_abs(), lower_casts_to_bool(), lower_ceil(), lower_cmp(), lower_comparison_operators(), lower_discard_neg(), lower_division(), lower_dot(), lower_float_modulus(), lower_floor(), lower_int_abs(), lower_int_division(), lower_int_dot(), lower_int_modulus(), lower_logic_not(), lower_round(), lower_slt(), new_offset_from_path_index(), and resolve_fx_4_state_block_values().
| struct hlsl_ir_node * hlsl_new_bool_constant | ( | struct hlsl_ctx * | ctx, |
| bool | b, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1537 of file hlsl.c.
Referenced by hlsl_new_func_decl(), and lower_return().
| struct hlsl_buffer * hlsl_new_buffer | ( | struct hlsl_ctx * | ctx, |
| enum hlsl_buffer_type | type, | ||
| const char * | name, | ||
| uint32_t | modifiers, | ||
| const struct hlsl_reg_reservation * | reservation, | ||
| struct hlsl_scope * | annotations, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
| struct hlsl_ir_node * hlsl_new_call | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_ir_function_decl * | decl, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1508 of file hlsl.c.
Referenced by clone_call(), lower_f16tof32(), and lower_f32tof16().
| struct hlsl_ir_node * hlsl_new_cast | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_ir_node * | node, | ||
| struct hlsl_type * | type, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1294 of file hlsl.c.
Referenced by hlsl_add_conditional(), hlsl_new_copy(), lower_broadcasts(), lower_cmp(), lower_comparison_operators(), lower_discard_nz(), lower_int_division(), lower_int_modulus(), lower_logic_not(), lower_narrowing_casts(), lower_nonconstant_vector_derefs(), lower_nonfloat_exprs(), lower_slt(), lower_ternary(), prepend_input_copy(), and resolve_fx_4_state_block_values().
| struct hlsl_ir_node * hlsl_new_compile | ( | struct hlsl_ctx * | ctx, |
| enum hlsl_compile_type | compile_type, | ||
| const char * | profile_name, | ||
| struct hlsl_ir_node ** | args, | ||
| unsigned int | args_count, | ||
| struct hlsl_block * | args_instrs, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1866 of file hlsl.c.
Referenced by clone_compile().
| struct hlsl_ir_node * hlsl_new_constant | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_type * | type, | ||
| const struct hlsl_constant_value * | value, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1521 of file hlsl.c.
Referenced by clone_constant(), copy_propagation_replace_with_constant_vector(), hlsl_fold_constant_exprs(), hlsl_fold_constant_swizzles(), hlsl_new_bool_constant(), hlsl_new_float_constant(), hlsl_new_int_constant(), hlsl_new_null_constant(), hlsl_new_uint_constant(), lower_casts_to_bool(), lower_cmp(), lower_comparison_operators(), lower_discard_neg(), lower_float_modulus(), lower_int_division(), lower_int_modulus(), lower_logic_not(), lower_nonconstant_array_loads(), lower_nonconstant_vector_derefs(), lower_round(), lower_slt(), and lower_trig().
| struct hlsl_ir_node * hlsl_new_copy | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_ir_node * | node | ||
| ) |
Definition at line 1305 of file hlsl.c.
|
static |
Definition at line 1637 of file hlsl.c.
Referenced by hlsl_ctx_init().
| struct hlsl_ir_node * hlsl_new_expr | ( | struct hlsl_ctx * | ctx, |
| enum hlsl_ir_expr_op | op, | ||
| struct hlsl_ir_node * | operands[HLSL_MAX_OPERANDS], | ||
| struct hlsl_type * | data_type, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1595 of file hlsl.c.
Referenced by clone_expr(), hlsl_add_conditional(), hlsl_new_binary_expr(), hlsl_new_error_expr(), hlsl_new_ternary_expr(), hlsl_new_unary_expr(), lower_casts_to_int(), lower_comparison_operators(), lower_discard_neg(), lower_dot(), lower_logic_not(), lower_nonconstant_array_loads(), lower_nonconstant_vector_derefs(), lower_nonfloat_exprs(), and lower_ternary().
| struct hlsl_ir_node * hlsl_new_float_constant | ( | struct hlsl_ctx * | ctx, |
| float | f, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
| struct hlsl_ir_function_decl * hlsl_new_func_decl | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_type * | return_type, | ||
| const struct hlsl_func_parameters * | parameters, | ||
| const struct hlsl_semantic * | semantic, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 2554 of file hlsl.c.
| struct hlsl_ir_node * hlsl_new_if | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_ir_node * | condition, | ||
| struct hlsl_block * | then_block, | ||
| struct hlsl_block * | else_block, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1647 of file hlsl.c.
Referenced by clone_if(), insert_early_return_break(), and lower_return().
| struct hlsl_ir_node * hlsl_new_index | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_ir_node * | val, | ||
| struct hlsl_ir_node * | idx, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 2022 of file hlsl.c.
Referenced by clone_index().
| struct hlsl_ir_node * hlsl_new_int_constant | ( | struct hlsl_ctx * | ctx, |
| int32_t | n, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
| struct hlsl_ir_node * hlsl_new_jump | ( | struct hlsl_ctx * | ctx, |
| enum hlsl_ir_jump_type | type, | ||
| struct hlsl_ir_node * | condition, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 2044 of file hlsl.c.
Referenced by clone_jump(), insert_early_return_break(), and normalize_switch_cases().
| struct hlsl_ir_node * hlsl_new_load_component | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_block * | block, | ||
| const struct hlsl_deref * | deref, | ||
| unsigned int | comp, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1766 of file hlsl.c.
| struct hlsl_ir_load * hlsl_new_load_index | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_deref * | deref, | ||
| struct hlsl_ir_node * | idx, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1714 of file hlsl.c.
Referenced by append_output_copy(), append_output_copy_recurse(), hlsl_new_load_parent(), hlsl_new_var_load(), lower_index_loads(), lower_nonconstant_array_loads(), lower_trig(), prepend_input_copy_recurse(), and split_copy().
| struct hlsl_ir_load * hlsl_new_load_parent | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_deref * | deref, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1744 of file hlsl.c.
Referenced by lower_nonconstant_vector_derefs().
| struct hlsl_ir_node * hlsl_new_loop | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_block * | block, | ||
| enum hlsl_ir_loop_unroll_type | unroll_type, | ||
| unsigned int | unroll_limit, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
| struct hlsl_ir_node * hlsl_new_null_constant | ( | struct hlsl_ctx * | ctx, |
| const struct vkd3d_shader_location * | loc | ||
| ) |
| struct hlsl_ir_node * hlsl_new_resource_load | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_resource_load_params * | params, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1794 of file hlsl.c.
Referenced by lower_index_loads().
| struct hlsl_ir_node * hlsl_new_resource_store | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_deref * | resource, | ||
| struct hlsl_ir_node * | coords, | ||
| struct hlsl_ir_node * | value, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1833 of file hlsl.c.
| struct hlsl_ir_node * hlsl_new_sampler_state | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_state_block * | state_block, | ||
| struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1937 of file hlsl.c.
Referenced by clone_sampler_state().
|
static |
Definition at line 2629 of file hlsl.c.
Referenced by hlsl_ctx_init(), and hlsl_push_scope().
| struct hlsl_ir_node * hlsl_new_simple_store | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_ir_var * | lhs, | ||
| struct hlsl_ir_node * | rhs | ||
| ) |
Definition at line 1440 of file hlsl.c.
Referenced by append_output_copy(), hlsl_new_func_decl(), lower_f16tof32(), lower_f32tof16(), lower_index_loads(), lower_nonconstant_array_loads(), lower_return(), and prepend_uniform_copy().
|
static |
Definition at line 451 of file hlsl.c.
Referenced by declare_predefined_types().
| struct hlsl_ir_node * hlsl_new_stateblock_constant | ( | struct hlsl_ctx * | ctx, |
| const char * | name, | ||
| struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1978 of file hlsl.c.
Referenced by clone_stateblock_constant().
| bool hlsl_new_store_component | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_block * | block, | ||
| const struct hlsl_deref * | lhs, | ||
| unsigned int | comp, | ||
| struct hlsl_ir_node * | rhs | ||
| ) |
Definition at line 1480 of file hlsl.c.
Referenced by lower_matrix_swizzles(), and lower_trig().
| struct hlsl_ir_node * hlsl_new_store_index | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_deref * | lhs, | ||
| struct hlsl_ir_node * | idx, | ||
| struct hlsl_ir_node * | rhs, | ||
| unsigned int | writemask, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1448 of file hlsl.c.
Referenced by add_zero_mipmap_level(), hlsl_new_simple_store(), lower_index_loads(), prepend_input_copy(), and split_copy().
| struct hlsl_ir_node * hlsl_new_string_constant | ( | struct hlsl_ctx * | ctx, |
| const char * | str, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1571 of file hlsl.c.
Referenced by clone_string_constant().
| struct hlsl_type * hlsl_new_struct_type | ( | struct hlsl_ctx * | ctx, |
| const char * | name, | ||
| struct hlsl_struct_field * | fields, | ||
| size_t | field_count | ||
| ) |
| struct hlsl_ir_node * hlsl_new_switch | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_ir_node * | selector, | ||
| struct list * | cases, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1682 of file hlsl.c.
Referenced by clone_switch().
| struct hlsl_ir_switch_case * hlsl_new_switch_case | ( | struct hlsl_ctx * | ctx, |
| unsigned int | value, | ||
| bool | is_default, | ||
| struct hlsl_block * | body, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1664 of file hlsl.c.
Referenced by clone_switch(), and normalize_switch_cases().
| struct hlsl_ir_node * hlsl_new_swizzle | ( | struct hlsl_ctx * | ctx, |
| uint32_t | s, | ||
| unsigned int | components, | ||
| struct hlsl_ir_node * | val, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1847 of file hlsl.c.
Referenced by clone_swizzle(), copy_propagation_replace_with_single_instr(), fold_swizzle_chains(), lower_broadcasts(), lower_dot(), lower_int_dot(), lower_narrowing_casts(), lower_nonconstant_array_loads(), lower_nonconstant_vector_derefs(), and lower_trig().
| struct hlsl_ir_var * hlsl_new_synthetic_var | ( | struct hlsl_ctx * | ctx, |
| const char * | template, | ||
| struct hlsl_type * | type, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1349 of file hlsl.c.
Referenced by add_zero_mipmap_level(), hlsl_new_func_decl(), lower_index_loads(), lower_matrix_swizzles(), lower_nonconstant_array_loads(), and lower_trig().
| struct hlsl_ir_var * hlsl_new_synthetic_var_named | ( | struct hlsl_ctx * | ctx, |
| const char * | name, | ||
| struct hlsl_type * | type, | ||
| const struct vkd3d_shader_location * | loc, | ||
| bool | dummy_scope | ||
| ) |
Definition at line 1363 of file hlsl.c.
Referenced by hlsl_new_synthetic_var(), and lower_combined_samples().
| struct hlsl_ir_node * hlsl_new_ternary_expr | ( | struct hlsl_ctx * | ctx, |
| enum hlsl_ir_expr_op | op, | ||
| struct hlsl_ir_node * | arg1, | ||
| struct hlsl_ir_node * | arg2, | ||
| struct hlsl_ir_node * | arg3 | ||
| ) |
Definition at line 1627 of file hlsl.c.
Referenced by lower_slt(), and lower_trig().
| struct hlsl_type * hlsl_new_texture_type | ( | struct hlsl_ctx * | ctx, |
| enum hlsl_sampler_dim | dim, | ||
| struct hlsl_type * | format, | ||
| unsigned int | sample_count | ||
| ) |
|
static |
Definition at line 470 of file hlsl.c.
Referenced by declare_predefined_types().
| struct hlsl_type * hlsl_new_uav_type | ( | struct hlsl_ctx * | ctx, |
| enum hlsl_sampler_dim | dim, | ||
| struct hlsl_type * | format, | ||
| bool | rasteriser_ordered | ||
| ) |
| struct hlsl_ir_node * hlsl_new_uint_constant | ( | struct hlsl_ctx * | ctx, |
| unsigned int | n, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1562 of file hlsl.c.
Referenced by add_zero_mipmap_level(), append_output_copy(), append_output_copy_recurse(), init_deref_from_component_index(), lower_index_loads(), lower_nonconstant_array_loads(), lower_null_constant(), new_offset_from_path_index(), new_offset_instr_from_deref(), prepend_input_copy(), prepend_input_copy_recurse(), replace_state_block_constant(), resolve_fx_4_state_block_values(), and split_copy().
| struct hlsl_ir_node * hlsl_new_unary_expr | ( | struct hlsl_ctx * | ctx, |
| enum hlsl_ir_expr_op | op, | ||
| struct hlsl_ir_node * | arg, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1611 of file hlsl.c.
Referenced by hlsl_new_cast(), lower_abs(), lower_casts_to_int(), lower_ceil(), lower_cmp(), lower_comparison_operators(), lower_discard_nz(), lower_division(), lower_float_modulus(), lower_floor(), lower_int_abs(), lower_int_division(), lower_int_modulus(), lower_logic_not(), lower_return(), lower_round(), lower_slt(), lower_sqrt(), lower_ternary(), and lower_trig().
| struct hlsl_ir_var * hlsl_new_var | ( | struct hlsl_ctx * | ctx, |
| const char * | name, | ||
| struct hlsl_type * | type, | ||
| const struct vkd3d_shader_location * | loc, | ||
| const struct hlsl_semantic * | semantic, | ||
| uint32_t | modifiers, | ||
| const struct hlsl_reg_reservation * | reg_reservation | ||
| ) |
Definition at line 1311 of file hlsl.c.
Referenced by add_semantic_var(), hlsl_new_synthetic_var_named(), and prepend_uniform_copy().
| struct hlsl_ir_load * hlsl_new_var_load | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_ir_var * | var, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1757 of file hlsl.c.
Referenced by add_zero_mipmap_level(), append_output_var_copy(), insert_early_return_break(), lower_f16tof32(), lower_f32tof16(), lower_index_loads(), lower_matrix_swizzles(), lower_nonconstant_array_loads(), lower_return(), prepend_input_copy(), prepend_input_var_copy(), and prepend_uniform_copy().
| struct hlsl_ir_node * hlsl_new_vsir_instruction_ref | ( | struct hlsl_ctx * | ctx, |
| unsigned int | vsir_instr_idx, | ||
| struct hlsl_type * | type, | ||
| const struct hlsl_reg * | reg, | ||
| const struct vkd3d_shader_location * | loc | ||
| ) |
Definition at line 1698 of file hlsl.c.
Referenced by add_last_vsir_instr_to_block(), and replace_instr_with_last_vsir_instr().
| const char * hlsl_node_type_to_string | ( | enum hlsl_ir_node_type | type | ) |
Definition at line 2949 of file hlsl.c.
Referenced by hlsl_offset_from_deref_safe(), sm1_generate_vsir_block(), and write_sm4_block().
| void hlsl_note | ( | struct hlsl_ctx * | ctx, |
| const struct vkd3d_shader_location * | loc, | ||
| enum vkd3d_shader_log_level | level, | ||
| const char * | fmt, | ||
| ... | |||
| ) |
Definition at line 25 of file hlsl.c.
Referenced by add_semantic_var(), allocate_buffers(), allocate_objects(), lower_combined_samples(), note_non_static_deref_expressions(), and track_object_components_sampler_dim().
Definition at line 2653 of file hlsl.c.
Referenced by hlsl_compile_internal_function().
Definition at line 2642 of file hlsl.c.
Referenced by hlsl_compile_internal_function(), and hlsl_ctx_init().
| void hlsl_replace_node | ( | struct hlsl_ir_node * | old, |
| struct hlsl_ir_node * | new | ||
| ) |
Definition at line 3626 of file hlsl.c.
Referenced by call_lower_func(), copy_propagation_replace_with_constant_vector(), copy_propagation_replace_with_single_instr(), fold_redundant_casts(), fold_swizzle_chains(), hlsl_fold_constant_exprs(), hlsl_fold_constant_identities(), hlsl_fold_constant_swizzles(), lower_null_constant(), remove_trivial_swizzles(), replace_instr_with_last_vsir_instr(), and replace_state_block_constant().
| bool hlsl_scope_add_type | ( | struct hlsl_scope * | scope, |
| struct hlsl_type * | type | ||
| ) |
Definition at line 1285 of file hlsl.c.
Referenced by declare_predefined_types().
Definition at line 75 of file hlsl.c.
Referenced by add_semantic_var(), lower_f16tof32(), lower_f32tof16(), prepend_uniform_copy(), and write_sm1_uniforms().
| bool hlsl_state_block_add_entry | ( | struct hlsl_state_block * | state_block, |
| struct hlsl_state_block_entry * | entry | ||
| ) |
Definition at line 1925 of file hlsl.c.
Referenced by hlsl_new_sampler_state().
Definition at line 4001 of file hlsl.c.
Referenced by generate_vsir_get_src_swizzle(), generate_vsir_instr_swizzle(), lower_int_dot(), lower_trig(), sm4_numeric_register_from_deref(), sm4_src_from_deref(), sm4_src_from_node(), and write_sm4_swizzle().
Definition at line 345 of file hlsl.c.
Referenced by hlsl_new_array_type(), hlsl_new_cb_type(), hlsl_new_simple_type(), hlsl_new_struct_type(), hlsl_new_texture_type(), hlsl_new_type(), hlsl_new_uav_type(), and hlsl_type_clone().
| struct hlsl_type * hlsl_type_clone | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_type * | old, | ||
| unsigned int | default_majority, | ||
| uint32_t | modifiers | ||
| ) |
Definition at line 1183 of file hlsl.c.
Referenced by hlsl_type_clone().
Definition at line 1042 of file hlsl.c.
Referenced by copy_propagation_create_var_def(), copy_propagation_get_value(), copy_propagation_invalidate_variable_from_deref_recurse(), copy_propagation_replace_with_constant_vector(), copy_propagation_replace_with_single_instr(), copy_propagation_var_def_destroy(), get_component_index_from_default_initializer_index(), hlsl_component_index_range_from_deref(), hlsl_dump_var_default_values(), hlsl_free_var(), hlsl_type_component_count(), lower_discard_neg(), lower_f16tof32(), lower_f32tof16(), lower_round(), prepend_uniform_copy(), sm4_get_extern_resources(), traverse_path_from_component_index(), write_fx_2_default_value(), write_fx_4_default_value(), write_fx_4_state_numeric_value(), write_fx_4_type(), write_sm1_uniforms(), write_sm4_rdef(), and write_sm4_type().
Definition at line 209 of file hlsl.c.
Referenced by append_output_copy_recurse(), copy_propagation_invalidate_variable_from_deref_recurse(), lower_nonconstant_array_loads(), and prepend_input_copy_recurse().
| unsigned int hlsl_type_get_array_element_reg_size | ( | const struct hlsl_type * | type, |
| enum hlsl_regset | regset | ||
| ) |
Definition at line 444 of file hlsl.c.
Referenced by append_output_copy_recurse(), new_offset_from_path_index(), and prepend_input_copy_recurse().
| unsigned int hlsl_type_get_component_offset | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_type * | type, | ||
| unsigned int | index, | ||
| enum hlsl_regset * | regset | ||
| ) |
Definition at line 620 of file hlsl.c.
Referenced by sm4_get_extern_resources(), write_sm1_uniforms(), and write_sm4_rdef().
| struct hlsl_type * hlsl_type_get_component_type | ( | struct hlsl_ctx * | ctx, |
| struct hlsl_type * | type, | ||
| unsigned int | index | ||
| ) |
Definition at line 611 of file hlsl.c.
Referenced by hlsl_new_load_component(), sm4_get_extern_resources(), write_sm1_uniforms(), and write_sm4_rdef().
Definition at line 332 of file hlsl.c.
Referenced by hlsl_calculate_buffer_offset(), and hlsl_type_calculate_reg_size().
Definition at line 240 of file hlsl.c.
Referenced by allocate_buffers(), append_output_copy_recurse(), hlsl_calculate_buffer_offsets(), hlsl_type_is_resource(), lower_combined_samples(), prepend_input_copy_recurse(), process_entry_function(), sm1_generate_vsir_init_src_param_from_deref(), sm4_get_extern_resources(), and validate_buffer_offsets().
Definition at line 186 of file hlsl.c.
Referenced by hlsl_component_index_range_from_deref(), hlsl_get_element_type_from_path_index(), hlsl_index_is_noncontiguous(), hlsl_type_calculate_reg_size(), hlsl_type_major_size(), hlsl_type_minor_size(), lower_index_loads(), lower_nonconstant_array_loads(), and traverse_path_from_component_index().
Definition at line 257 of file hlsl.c.
Referenced by hlsl_type_is_shader().
Definition at line 201 of file hlsl.c.
Referenced by append_output_copy(), hlsl_component_index_range_from_deref(), hlsl_regset_index_from_deref(), hlsl_type_element_count(), prepend_input_copy(), split_matrix_copies(), and validate_component_index_range_from_deref().
Definition at line 193 of file hlsl.c.
Referenced by append_output_copy(), prepend_input_copy(), and split_matrix_copies().
| struct vkd3d_string_buffer * hlsl_type_to_string | ( | struct hlsl_ctx * | ctx, |
| const struct hlsl_type * | type | ||
| ) |
Definition at line 2696 of file hlsl.c.
Referenced by allocate_register_reservations(), append_output_copy(), debug_hlsl_type(), dump_ir_call(), generate_vsir_signature_entry(), get_string_argument_value(), hlsl_type_to_string(), parse_numthreads_attribute(), parse_outputcontrolpoints_attribute(), prepend_input_copy(), and sm4_generate_vsir_block().
Definition at line 1095 of file hlsl.c.
Referenced by fold_redundant_casts(), func_decl_matches(), hlsl_add_conditional(), hlsl_new_func_decl(), hlsl_new_ternary_expr(), hlsl_types_are_equal(), and write_fx_4_state_assignment().
| void hlsl_warning | ( | struct hlsl_ctx * | ctx, |
| const struct vkd3d_shader_location * | loc, | ||
| enum vkd3d_shader_error | error, | ||
| const char * | fmt, | ||
| ... | |||
| ) |
Definition at line 48 of file hlsl.c.
Referenced by fold_div(), fold_log2(), fold_rcp(), fold_rsq(), fold_sqrt(), and parse_entry_function_attributes().
|
static |
Definition at line 692 of file hlsl.c.
Referenced by clone_deref(), hlsl_copy_deref(), hlsl_init_deref_from_index_chain(), hlsl_new_load_index(), hlsl_new_store_index(), and init_deref_from_component_index().
|
static |
Definition at line 801 of file hlsl.c.
Referenced by hlsl_new_load_component(), and hlsl_new_store_component().
|
static |
Definition at line 1430 of file hlsl.c.
Referenced by clone_load(), clone_resource_load(), clone_resource_store(), clone_store(), hlsl_new_call(), hlsl_new_compile(), hlsl_new_constant(), hlsl_new_expr(), hlsl_new_if(), hlsl_new_index(), hlsl_new_jump(), hlsl_new_load_component(), hlsl_new_load_index(), hlsl_new_loop(), hlsl_new_resource_load(), hlsl_new_resource_store(), hlsl_new_sampler_state(), hlsl_new_stateblock_constant(), hlsl_new_store_component(), hlsl_new_store_index(), hlsl_new_string_constant(), hlsl_new_switch(), hlsl_new_swizzle(), and hlsl_new_vsir_instruction_ref().
|
static |
Definition at line 2120 of file hlsl.c.
Referenced by clone_compile(), clone_deref(), clone_expr(), clone_if(), clone_index(), clone_jump(), clone_src(), clone_switch(), and clone_swizzle().
|
static |
Definition at line 540 of file hlsl.c.
Referenced by hlsl_component_to_string(), hlsl_type_get_component_offset(), hlsl_type_get_component_type(), init_deref_from_component_index(), and traverse_path_from_component_index().
|
static |
Definition at line 299 of file hlsl.c.
Referenced by hlsl_deref_get_regset(), hlsl_type_get_component_offset(), and type_get_regset().
Definition at line 493 of file hlsl.c.
Referenced by hlsl_component_to_string(), hlsl_type_get_component_offset(), hlsl_type_get_component_type(), init_deref_from_component_index(), and traverse_path_from_component_index().
Definition at line 1383 of file hlsl.c.
Referenced by hlsl_new_store_component(), and hlsl_new_store_index().