ReactOS 0.4.17-dev-934-g091855f
hlsl_ctx Struct Reference

#include <hlsl.h>

Collaboration diagram for hlsl_ctx:

Classes

struct  hlsl_constant_defs
 

Public Attributes

const struct hlsl_profile_info * profile
 
const char ** source_files
 
unsigned int source_files_count
 
struct vkd3d_shader_location location
 
struct vkd3d_shader_message_context * message_context
 
struct vkd3d_string_buffer_cache string_buffers
 
int result
 
void * scanner
 
struct hlsl_scope * cur_scope
 
struct hlsl_scope * globals
 
struct hlsl_scope * dummy_scope
 
struct list scopes
 
struct list extern_vars
 
struct list buffers
 
struct hlsl_buffer * cur_buffer
 
struct hlsl_buffer * globals_buffer
 
struct hlsl_buffer * params_buffer
 
struct list types
 
struct rb_tree functions
 
const struct hlsl_ir_function_decl * cur_function
 
unsigned int internal_name_counter
 
unsigned int matrix_majority
 
struct {
   struct hlsl_type *   scalar [HLSL_TYPE_LAST_SCALAR+1]
 
   struct hlsl_type *   vector [HLSL_TYPE_LAST_SCALAR+1][4]
 
   struct hlsl_type *   matrix [HLSL_TYPE_LAST_SCALAR+1][4][4]
 
   struct hlsl_type *   sampler [HLSL_SAMPLER_DIM_LAST_SAMPLER+1]
 
   struct hlsl_type *   string
 
   struct hlsl_type *   Void
 
   struct hlsl_type *   null
 
   struct hlsl_type *   error
 
} builtin_types
 
struct hlsl_ir_node * error_instr
 
struct hlsl_block static_initializers
 
struct hlsl_ctx::hlsl_constant_defs constant_defs
 
struct hlsl_reg d3dsincosconst1 d3dsincosconst2
 
uint32_t thread_count [3]
 
enum vkd3d_tessellator_domain domain
 
unsigned int output_control_point_count
 
enum vkd3d_shader_tessellator_output_primitive output_primitive
 
enum vkd3d_shader_tessellator_partitioning partitioning
 
struct hlsl_ir_function_decl * patch_constant_func
 
const char * internal_func_name
 
uint32_t in_state_block: 1
 
uint32_t found_numthreads: 1
 
bool semantic_compat_mapping
 
bool child_effect
 
bool include_empty_buffers
 
bool warn_implicit_truncation
 
bool double_as_float_alias
 

Detailed Description

Definition at line 1017 of file hlsl.h.

Member Data Documentation

◆ buffers

struct list hlsl_ctx::buffers

Definition at line 1059 of file hlsl.h.

◆ 

struct { ... } hlsl_ctx::builtin_types

◆ child_effect

bool hlsl_ctx::child_effect

Definition at line 1135 of file hlsl.h.

◆ constant_defs

struct hlsl_ctx::hlsl_constant_defs hlsl_ctx::constant_defs

◆ cur_buffer

struct hlsl_buffer* hlsl_ctx::cur_buffer

Definition at line 1062 of file hlsl.h.

◆ cur_function

const struct hlsl_ir_function_decl* hlsl_ctx::cur_function

Definition at line 1070 of file hlsl.h.

◆ cur_scope

struct hlsl_scope* hlsl_ctx::cur_scope

Definition at line 1043 of file hlsl.h.

◆ d3dsincosconst2

struct hlsl_reg d3dsincosconst1 hlsl_ctx::d3dsincosconst2

Definition at line 1111 of file hlsl.h.

◆ domain

enum vkd3d_tessellator_domain hlsl_ctx::domain

Definition at line 1117 of file hlsl.h.

◆ double_as_float_alias

bool hlsl_ctx::double_as_float_alias

Definition at line 1138 of file hlsl.h.

◆ dummy_scope

struct hlsl_scope* hlsl_ctx::dummy_scope

Definition at line 1047 of file hlsl.h.

◆ error

struct hlsl_type* hlsl_ctx::error

Definition at line 1089 of file hlsl.h.

◆ error_instr

struct hlsl_ir_node* hlsl_ctx::error_instr

Definition at line 1093 of file hlsl.h.

◆ extern_vars

struct list hlsl_ctx::extern_vars

Definition at line 1055 of file hlsl.h.

◆ found_numthreads

uint32_t hlsl_ctx::found_numthreads

Definition at line 1132 of file hlsl.h.

◆ functions

struct rb_tree hlsl_ctx::functions

Definition at line 1068 of file hlsl.h.

◆ globals

struct hlsl_scope* hlsl_ctx::globals

Definition at line 1045 of file hlsl.h.

◆ globals_buffer

struct hlsl_buffer * hlsl_ctx::globals_buffer

Definition at line 1062 of file hlsl.h.

◆ in_state_block

uint32_t hlsl_ctx::in_state_block

Definition at line 1130 of file hlsl.h.

◆ include_empty_buffers

bool hlsl_ctx::include_empty_buffers

Definition at line 1136 of file hlsl.h.

◆ internal_func_name

const char* hlsl_ctx::internal_func_name

Definition at line 1127 of file hlsl.h.

◆ internal_name_counter

unsigned int hlsl_ctx::internal_name_counter

Definition at line 1073 of file hlsl.h.

◆ location

struct vkd3d_shader_location hlsl_ctx::location

Definition at line 1024 of file hlsl.h.

◆ matrix

struct hlsl_type* hlsl_ctx::matrix[HLSL_TYPE_LAST_SCALAR+1][4][4]

Definition at line 1084 of file hlsl.h.

◆ matrix_majority

unsigned int hlsl_ctx::matrix_majority

Definition at line 1076 of file hlsl.h.

◆ message_context

struct vkd3d_shader_message_context* hlsl_ctx::message_context

Definition at line 1026 of file hlsl.h.

Referenced by hlsl_compile_shader().

◆ null

struct hlsl_type* hlsl_ctx::null

Definition at line 1088 of file hlsl.h.

◆ output_control_point_count

unsigned int hlsl_ctx::output_control_point_count

Definition at line 1118 of file hlsl.h.

◆ output_primitive

enum vkd3d_shader_tessellator_output_primitive hlsl_ctx::output_primitive

Definition at line 1119 of file hlsl.h.

◆ params_buffer

struct hlsl_buffer * hlsl_ctx::params_buffer

Definition at line 1062 of file hlsl.h.

◆ partitioning

Definition at line 1120 of file hlsl.h.

◆ patch_constant_func

struct hlsl_ir_function_decl* hlsl_ctx::patch_constant_func

Definition at line 1121 of file hlsl.h.

◆ profile

const struct hlsl_profile_info* hlsl_ctx::profile

Definition at line 1019 of file hlsl.h.

◆ result

int hlsl_ctx::result

Definition at line 1035 of file hlsl.h.

◆ sampler

Definition at line 1085 of file hlsl.h.

◆ scalar

struct hlsl_type* hlsl_ctx::scalar[HLSL_TYPE_LAST_SCALAR+1]

Definition at line 1081 of file hlsl.h.

◆ scanner

void* hlsl_ctx::scanner

Definition at line 1040 of file hlsl.h.

◆ scopes

struct list hlsl_ctx::scopes

Definition at line 1049 of file hlsl.h.

◆ semantic_compat_mapping

bool hlsl_ctx::semantic_compat_mapping

Definition at line 1134 of file hlsl.h.

◆ source_files

const char** hlsl_ctx::source_files

Definition at line 1021 of file hlsl.h.

◆ source_files_count

unsigned int hlsl_ctx::source_files_count

Definition at line 1022 of file hlsl.h.

◆ static_initializers

struct hlsl_block hlsl_ctx::static_initializers

Definition at line 1096 of file hlsl.h.

◆ string

struct hlsl_type* hlsl_ctx::string

Definition at line 1086 of file hlsl.h.

◆ string_buffers

struct vkd3d_string_buffer_cache hlsl_ctx::string_buffers

Definition at line 1028 of file hlsl.h.

◆ thread_count

uint32_t hlsl_ctx::thread_count[3]

Definition at line 1115 of file hlsl.h.

◆ types

struct list hlsl_ctx::types

Definition at line 1065 of file hlsl.h.

◆ vector

struct hlsl_type* hlsl_ctx::vector[HLSL_TYPE_LAST_SCALAR+1][4]

Definition at line 1082 of file hlsl.h.

◆ Void

struct hlsl_type* hlsl_ctx::Void

Definition at line 1087 of file hlsl.h.

◆ warn_implicit_truncation

bool hlsl_ctx::warn_implicit_truncation

Definition at line 1137 of file hlsl.h.


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