ReactOS 0.4.17-dev-934-g091855f
vkd3d_shader_instruction Struct Reference

#include <vkd3d_shader_private.h>

Collaboration diagram for vkd3d_shader_instruction:

Public Attributes

struct vkd3d_shader_location location
 
enum vkd3d_shader_opcode opcode
 
uint32_t flags
 
unsigned int dst_count
 
unsigned int src_count
 
struct vkd3d_shader_dst_param * dst
 
struct vkd3d_shader_src_param * src
 
struct vkd3d_shader_texel_offset texel_offset
 
enum vkd3d_shader_resource_type resource_type
 
unsigned int resource_stride
 
enum vkd3d_data_type resource_data_type [VKD3D_VEC4_SIZE]
 
bool coissue
 
bool structured
 
bool raw
 
const struct vkd3d_shader_src_param * predicate
 
union {
   enum vsir_global_flags   global_flags
 
   struct vkd3d_shader_semantic   semantic
 
   struct vkd3d_shader_register_semantic   register_semantic
 
   struct vkd3d_shader_primitive_type   primitive_type
 
   struct vkd3d_shader_dst_param   dst
 
   struct vkd3d_shader_constant_buffer   cb
 
   struct vkd3d_shader_sampler   sampler
 
   unsigned int   count
 
   unsigned int   index
 
   const struct vkd3d_shader_immediate_constant_buffer *   icb
 
   struct vkd3d_shader_raw_resource   raw_resource
 
   struct vkd3d_shader_structured_resource   structured_resource
 
   struct vkd3d_shader_tgsm_raw   tgsm_raw
 
   struct vkd3d_shader_tgsm_structured   tgsm_structured
 
   struct vsir_thread_group_size   thread_group_size
 
   enum vkd3d_tessellator_domain   tessellator_domain
 
   enum vkd3d_shader_tessellator_output_primitive   tessellator_output_primitive
 
   enum vkd3d_shader_tessellator_partitioning   tessellator_partitioning
 
   float   max_tessellation_factor
 
   struct vkd3d_shader_index_range   index_range
 
   struct vkd3d_shader_indexable_temp   indexable_temp
 
   struct vkd3d_shader_function_table_pointer   fp
 
} declaration
 

Detailed Description

Definition at line 1237 of file vkd3d_shader_private.h.

Member Data Documentation

◆ cb

◆ coissue

bool vkd3d_shader_instruction::coissue

◆ count

◆ 

union { ... } vkd3d_shader_instruction::declaration

Referenced by control_point_normaliser_emit_hs_input(), d3dbc_write_vsir_dcl(), flattener_eliminate_phase_related_dcls(), instruction_array_normalise_hull_shader_control_point_io(), io_normaliser_add_index_range(), shader_dump_instruction(), shader_glsl_dcl_indexable_temp(), shader_instruction_normalise_io_params(), shader_sm1_read_instruction(), shader_sm4_read_dcl_constant_buffer(), shader_sm4_read_dcl_global_flags(), shader_sm4_read_dcl_index_range(), shader_sm4_read_dcl_indexable_temp(), shader_sm4_read_dcl_input_primitive(), shader_sm4_read_dcl_input_ps(), shader_sm4_read_dcl_input_ps_siv(), shader_sm4_read_dcl_output_topology(), shader_sm4_read_dcl_resource(), shader_sm4_read_dcl_sampler(), shader_sm4_read_declaration_count(), shader_sm4_read_declaration_dst(), shader_sm4_read_declaration_register_semantic(), shader_sm4_read_shader_data(), shader_sm5_read_control_point_count(), shader_sm5_read_dcl_function_body(), shader_sm5_read_dcl_function_table(), shader_sm5_read_dcl_hs_max_tessfactor(), shader_sm5_read_dcl_interface(), shader_sm5_read_dcl_resource_raw(), shader_sm5_read_dcl_resource_structured(), shader_sm5_read_dcl_tessellator_domain(), shader_sm5_read_dcl_tessellator_output_primitive(), shader_sm5_read_dcl_tessellator_partitioning(), shader_sm5_read_dcl_tgsm_raw(), shader_sm5_read_dcl_tgsm_structured(), shader_sm5_read_dcl_thread_group(), shader_sm5_read_dcl_uav_raw(), shader_sm5_read_dcl_uav_structured(), sm1_generate_vsir_sampler_dcls(), sm4_generate_vsir_instr_dcl_indexable_temp(), sm4_generate_vsir_instr_dcl_semantic(), sm4_generate_vsir_instr_dcl_temps(), sm6_parser_dcl_register_builtin(), sm6_parser_declare_icb(), sm6_parser_declare_indexable_temp(), sm6_parser_declare_tgsm_raw(), sm6_parser_declare_tgsm_structured(), sm6_parser_emit_dcl_count(), sm6_parser_emit_dcl_max_tessellation_factor(), sm6_parser_emit_dcl_primitive_topology(), sm6_parser_emit_dcl_tessellator_domain(), sm6_parser_emit_dcl_tessellator_output_primitive(), sm6_parser_emit_dcl_tessellator_partitioning(), sm6_parser_emit_global_flags(), sm6_parser_emit_thread_group(), sm6_parser_globals_init(), sm6_parser_resources_load_cbv(), sm6_parser_resources_load_common_info(), sm6_parser_resources_load_sampler(), sm6_parser_resources_load_srv(), sm6_parser_resources_load_uav(), tpf_handle_instruction(), and vsir_program_normalise_io_registers().

◆ dst [1/2]

struct vkd3d_shader_dst_param* vkd3d_shader_instruction::dst

Definition at line 1244 of file vkd3d_shader_private.h.

Referenced by control_point_normaliser_emit_hs_input(), d3dbc_write_vsir_def(), d3dbc_write_vsir_instruction(), d3dbc_write_vsir_simple_instruction(), flattener_eliminate_phase_related_dcls(), generate_vsir_instr_expr_single_instr_op(), generate_vsir_instr_swizzle(), insert_alpha_test_before_ret(), insert_clip_planes_before_ret(), insert_point_size_before_ret(), instruction_array_normalise_hull_shader_control_point_io(), instruction_dst_params_alloc(), msl_mov(), shader_dump_instruction(), shader_glsl_binop(), shader_glsl_cast(), shader_glsl_dot(), shader_glsl_intrinsic(), shader_glsl_ld(), shader_glsl_load_uav_typed(), shader_glsl_mov(), shader_glsl_movc(), shader_glsl_mul_extended(), shader_glsl_relop(), shader_glsl_sample(), shader_glsl_store_uav_typed(), shader_glsl_unary_op(), shader_instruction_array_clone_instruction(), shader_instruction_eliminate_phase_instance_id(), shader_instruction_normalise_io_params(), shader_sm1_read_instruction(), shader_sm4_read_dcl_input_ps(), shader_sm4_read_declaration_dst(), shader_sm4_read_instruction(), sm1_generate_vsir_constant_defs(), sm1_generate_vsir_instr_constant(), sm1_generate_vsir_instr_expr_per_component_instr_op(), sm1_generate_vsir_instr_expr_sincos(), 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_semantic(), sm4_generate_vsir_rasterizer_sample_count(), sm4_generate_vsir_rcp_using_div(), sm6_parser_dcl_register_builtin(), sm6_parser_emit_dx_get_dimensions(), sm6_parser_emit_dx_get_sample_count(), sm6_parser_emit_dx_saturate(), tpf_handle_instruction(), tpf_simple_instruction(), vsir_cfg_materialize_undominated_ssas_to_temps(), vsir_instruction_init_with_params(), vsir_program_ensure_diffuse(), vsir_program_insert_alpha_test(), vsir_program_insert_clip_planes(), vsir_program_insert_point_coord(), vsir_program_insert_point_size_clamp(), vsir_program_lower_ifc(), vsir_program_lower_precise_mad(), vsir_program_lower_sm1_sincos(), vsir_program_lower_texkill(), vsir_program_materialise_phi_ssas_to_temps(), vsir_program_normalise_flat_constants(), and vsir_program_remap_output_signature().

◆ dst [2/2]

struct vkd3d_shader_dst_param vkd3d_shader_instruction::dst

Definition at line 1258 of file vkd3d_shader_private.h.

◆ dst_count

◆ flags

uint32_t vkd3d_shader_instruction::flags

◆ fp

struct vkd3d_shader_function_table_pointer vkd3d_shader_instruction::fp

◆ global_flags

◆ icb

◆ index

unsigned int vkd3d_shader_instruction::index

◆ index_range

◆ indexable_temp

◆ location

◆ max_tessellation_factor

float vkd3d_shader_instruction::max_tessellation_factor

◆ opcode

enum vkd3d_shader_opcode vkd3d_shader_instruction::opcode

Definition at line 1240 of file vkd3d_shader_private.h.

Referenced by d3d_asm_compile(), d3dbc_parse(), d3dbc_write_vsir_instruction(), flattener_eliminate_phase_related_dcls(), generate_vsir_add_program_instruction(), generate_vsir_instr_expr_single_instr_op(), instruction_array_normalise_hull_shader_control_point_io(), msl_handle_instruction(), msl_unhandled(), shader_dump_instruction(), shader_dump_instruction_flags(), shader_glsl_ld(), shader_glsl_sample(), shader_glsl_unhandled(), shader_instruction_normalise_io_params(), shader_sm1_get_opcode_info_from_vsir_instruction(), shader_sm1_read_instruction(), shader_sm1_validate_instruction(), shader_sm4_read_instruction(), shader_sm4_read_shader_data(), sm1_generate_vsir_instr_expr_per_component_instr_op(), sm1_generate_vsir_instr_resource_load(), sm4_generate_vsir_expr_with_two_destinations(), sm4_generate_vsir_instr_dcl_semantic(), sm6_parser_emit_br(), sm6_parser_emit_cast(), sm6_parser_emit_cmp2(), sm6_parser_emit_dx_create_handle(), sm6_parser_emit_gep(), sm6_parser_emit_phi(), sm6_parser_emit_ret(), sm6_parser_emit_switch(), sm6_parser_emit_unhandled(), sm6_parser_function_init(), sm6_parser_globals_init(), sm6_parser_resources_load_common_info(), sm6_parser_resources_load_srv(), sm6_parser_resources_load_uav(), tpf_handle_instruction(), tpf_parse(), tpf_simple_instruction(), vkd3d_glsl_handle_instruction(), vsir_instruction_init(), vsir_program_ensure_diffuse(), vsir_program_insert_alpha_test(), vsir_program_insert_clip_planes(), vsir_program_insert_point_coord(), vsir_program_insert_point_size(), vsir_program_lower_ifc(), vsir_program_lower_instructions(), vsir_program_lower_precise_mad(), vsir_program_lower_switch_to_selection_ladder(), vsir_program_lower_tex(), vsir_program_lower_texldd(), vsir_program_materialise_phi_ssas_to_temps(), vsir_program_materialize_undominated_ssas_to_temps(), vsir_program_normalise_flat_constants(), vsir_program_normalise_io_registers(), vsir_program_remap_output_signature(), vsir_program_remove_dead_code(), and vsir_program_structurize().

◆ predicate

const struct vkd3d_shader_src_param* vkd3d_shader_instruction::predicate

◆ primitive_type

◆ raw

◆ raw_resource

◆ register_semantic

◆ resource_data_type

◆ resource_stride

◆ resource_type

◆ sampler

◆ semantic

◆ src

struct vkd3d_shader_src_param* vkd3d_shader_instruction::src

Definition at line 1245 of file vkd3d_shader_private.h.

Referenced by d3dbc_write_vsir_def(), d3dbc_write_vsir_simple_instruction(), generate_vsir_instr_expr_single_instr_op(), generate_vsir_instr_swizzle(), insert_alpha_test_before_ret(), insert_clip_planes_before_ret(), insert_point_size_before_ret(), instruction_src_params_alloc(), msl_mov(), shader_dump_instruction(), shader_glsl_binop(), shader_glsl_case(), shader_glsl_cast(), shader_glsl_dot(), shader_glsl_if(), shader_glsl_intrinsic(), shader_glsl_ld(), shader_glsl_load_uav_typed(), shader_glsl_mov(), shader_glsl_movc(), shader_glsl_mul_extended(), shader_glsl_relop(), shader_glsl_sample(), shader_glsl_store_uav_typed(), shader_glsl_switch(), shader_glsl_unary_op(), shader_instruction_array_clone_instruction(), shader_instruction_eliminate_phase_instance_id(), shader_instruction_normalise_io_params(), shader_sm1_read_instruction(), shader_sm4_read_case_condition(), shader_sm4_read_conditional_op(), shader_sm4_read_instruction(), shader_sm5_read_fcall(), sm1_generate_vsir_constant_defs(), 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_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_rasterizer_sample_count(), sm4_generate_vsir_rcp_using_div(), tpf_simple_instruction(), vsir_cfg_materialize_undominated_ssas_to_temps(), vsir_instruction_init_label(), vsir_instruction_init_with_params(), vsir_program_ensure_diffuse(), vsir_program_insert_point_coord(), vsir_program_insert_point_size_clamp(), vsir_program_lower_ifc(), vsir_program_lower_precise_mad(), vsir_program_lower_sm1_sincos(), vsir_program_lower_switch_to_selection_ladder(), vsir_program_lower_tex(), vsir_program_lower_texkill(), vsir_program_lower_texldd(), vsir_program_materialise_phi_ssas_to_temps(), vsir_program_normalise_flat_constants(), and vsir_program_remap_output_signature().

◆ src_count

◆ structured

◆ structured_resource

◆ tessellator_domain

◆ tessellator_output_primitive

◆ tessellator_partitioning

◆ texel_offset

◆ tgsm_raw

◆ tgsm_structured

◆ thread_group_size

struct vsir_thread_group_size vkd3d_shader_instruction::thread_group_size

The documentation for this struct was generated from the following file: