ReactOS 0.4.16-dev-319-g6cf4263
|
Go to the source code of this file.
Classes | |
struct | op_info |
struct | d3dx_pres_reg |
struct | d3dx_pres_operand |
struct | d3dx_pres_ins |
struct | const_upload_info |
Macros | |
#define | PRES_OPCODE_MASK 0x7ff00000 |
#define | PRES_OPCODE_SHIFT 20 |
#define | PRES_SCALAR_FLAG 0x80000000 |
#define | PRES_NCOMP_MASK 0x0000ffff |
#define | FOURCC_PRES 0x53455250 |
#define | FOURCC_CLIT 0x54494c43 |
#define | FOURCC_FXLC 0x434c5846 |
#define | FOURCC_PRSI 0x49535250 |
#define | PRES_SIGN 0x46580000 |
#define | MAX_INPUTS_COUNT 8 |
#define | PRES_BITMASK_BLOCK_SIZE (sizeof(unsigned int) * 8) |
#define | INITIAL_CONST_SET_SIZE 16 |
#define | ARGS_ARRAY_SIZE 8 |
Typedefs | |
typedef double(* | pres_op_func) (double *args, int n) |
Variables | |
static const struct op_info | pres_op_info [] |
struct { | |
unsigned int component_size | |
enum pres_value_type type | |
} | table_info [] |
static const char * | table_symbol [] |
static enum pres_reg_tables | pres_regset2table [] |
static enum pres_reg_tables | shad_regset2table [] |
#define ARGS_ARRAY_SIZE 8 |
Definition at line 1658 of file preshader.c.
#define FOURCC_CLIT 0x54494c43 |
Definition at line 154 of file preshader.c.
#define FOURCC_FXLC 0x434c5846 |
Definition at line 155 of file preshader.c.
#define FOURCC_PRES 0x53455250 |
Definition at line 153 of file preshader.c.
#define FOURCC_PRSI 0x49535250 |
Definition at line 156 of file preshader.c.
#define INITIAL_CONST_SET_SIZE 16 |
Definition at line 593 of file preshader.c.
#define MAX_INPUTS_COUNT 8 |
Definition at line 257 of file preshader.c.
Definition at line 311 of file preshader.c.
#define PRES_NCOMP_MASK 0x0000ffff |
Definition at line 151 of file preshader.c.
#define PRES_OPCODE_MASK 0x7ff00000 |
Definition at line 148 of file preshader.c.
#define PRES_OPCODE_SHIFT 20 |
Definition at line 149 of file preshader.c.
#define PRES_SCALAR_FLAG 0x80000000 |
Definition at line 150 of file preshader.c.
#define PRES_SIGN 0x46580000 |
Definition at line 157 of file preshader.c.
Definition at line 38 of file preshader.c.
Enumerator | |
---|---|
PRES_VT_FLOAT | |
PRES_VT_DOUBLE | |
PRES_VT_INT | |
PRES_VT_BOOL | |
PRES_VT_COUNT |
Definition at line 197 of file preshader.c.
|
static |
Definition at line 595 of file preshader.c.
Referenced by append_pres_const_sets_for_shader_input(), and init_set_constants_param().
|
static |
Definition at line 630 of file preshader.c.
Referenced by get_constants_desc().
HRESULT d3dx_create_param_eval | ( | struct d3dx_effect * | effect, |
void * | byte_code, | ||
unsigned int | byte_code_size, | ||
D3DXPARAMETER_TYPE | type, | ||
struct d3dx_param_eval ** | peval_out, | ||
ULONG64 * | version_counter, | ||
const char ** | skip_constants, | ||
unsigned int | skip_constants_count | ||
) |
Definition at line 1233 of file preshader.c.
Referenced by d3dx_parse_array_selector(), and d3dx_parse_resource().
HRESULT d3dx_evaluate_parameter | ( | struct d3dx_param_eval * | peval, |
const struct d3dx_parameter * | param, | ||
void * | param_value | ||
) |
Definition at line 1723 of file preshader.c.
Referenced by d3dx9_get_param_value_ptr().
|
static |
Definition at line 1343 of file preshader.c.
Referenced by d3dx_free_param_eval(), and d3dx_free_preshader().
void d3dx_free_param_eval | ( | struct d3dx_param_eval * | peval | ) |
Definition at line 1358 of file preshader.c.
Referenced by d3dx_create_param_eval(), and free_parameter().
|
static |
Definition at line 1350 of file preshader.c.
Referenced by d3dx_free_param_eval().
HRESULT d3dx_param_eval_set_shader_constants | ( | ID3DXEffectStateManager * | manager, |
struct IDirect3DDevice9 * | device, | ||
struct d3dx_param_eval * | peval, | ||
BOOL | update_all | ||
) |
Definition at line 1752 of file preshader.c.
Referenced by d3dx_set_shader_constants().
|
static |
Definition at line 1029 of file preshader.c.
Referenced by dump_ins().
Definition at line 384 of file preshader.c.
Referenced by d3dx_create_param_eval().
|
static |
Definition at line 1075 of file preshader.c.
Referenced by dump_preshader().
|
static |
Definition at line 1089 of file preshader.c.
Referenced by d3dx_create_param_eval().
|
static |
Definition at line 1063 of file preshader.c.
Referenced by d3dx_create_param_eval(), and dump_preshader().
|
static |
Definition at line 1610 of file preshader.c.
Referenced by execute_preshader().
|
static |
Definition at line 1605 of file preshader.c.
Referenced by exec_get_arg().
|
static |
Definition at line 1652 of file preshader.c.
Referenced by execute_preshader().
|
static |
Definition at line 1659 of file preshader.c.
Referenced by d3dx_evaluate_parameter(), and d3dx_param_eval_set_shader_constants().
|
static |
Definition at line 401 of file preshader.c.
Referenced by d3dx_create_param_eval(), and parse_preshader().
|
static |
Definition at line 557 of file preshader.c.
Referenced by init_set_constants_param(), and set_constants().
|
static |
Definition at line 862 of file preshader.c.
Referenced by d3dx_create_param_eval(), and parse_preshader().
|
static |
Definition at line 539 of file preshader.c.
Referenced by get_constants_desc(), and init_set_constants_param().
Definition at line 301 of file preshader.c.
Referenced by d3dx_evaluate_parameter(), dump_arg(), exec_get_arg(), get_const_upload_info(), get_reg_components(), init_set_constants_param(), merge_const_set_entries(), regstore_alloc_table(), and set_constants().
Definition at line 306 of file preshader.c.
Referenced by exec_get_arg(), get_const_upload_info(), parse_preshader(), and set_constants().
Definition at line 296 of file preshader.c.
Referenced by append_pres_const_sets_for_shader_input(), dump_arg(), exec_get_arg(), merge_const_set_entries(), parse_pres_ins(), and parse_preshader().
|
static |
Definition at line 740 of file preshader.c.
Referenced by get_constants_desc(), and init_set_constants_param().
|
static |
Definition at line 1702 of file preshader.c.
Referenced by d3dx_evaluate_parameter(), d3dx_param_eval_set_shader_constants(), and is_param_eval_input_dirty().
BOOL is_param_eval_input_dirty | ( | struct d3dx_param_eval * | peval, |
ULONG64 | update_version | ||
) |
|
static |
Definition at line 663 of file preshader.c.
Referenced by init_set_constants_param().
|
static |
Definition at line 442 of file preshader.c.
Referenced by parse_pres_ins().
|
static |
Definition at line 474 of file preshader.c.
Referenced by parse_preshader().
Definition at line 423 of file preshader.c.
Referenced by parse_pres_arg().
|
static |
Definition at line 1113 of file preshader.c.
Referenced by d3dx_create_param_eval().
Definition at line 140 of file preshader.c.
Definition at line 85 of file preshader.c.
Definition at line 139 of file preshader.c.
Definition at line 141 of file preshader.c.
Definition at line 142 of file preshader.c.
Definition at line 115 of file preshader.c.
Definition at line 117 of file preshader.c.
Definition at line 146 of file preshader.c.
Definition at line 87 of file preshader.c.
Referenced by pres_dotswiz6(), and pres_dotswiz8().
Definition at line 98 of file preshader.c.
Definition at line 103 of file preshader.c.
Definition at line 128 of file preshader.c.
Definition at line 111 of file preshader.c.
Definition at line 129 of file preshader.c.
Definition at line 110 of file preshader.c.
Definition at line 114 of file preshader.c.
Definition at line 84 of file preshader.c.
Definition at line 86 of file preshader.c.
Definition at line 108 of file preshader.c.
Definition at line 109 of file preshader.c.
Definition at line 118 of file preshader.c.
Definition at line 116 of file preshader.c.
|
static |
Definition at line 313 of file preshader.c.
Referenced by d3dx_create_param_eval(), and parse_preshader().
|
static |
Definition at line 327 of file preshader.c.
Referenced by d3dx_free_preshader().
|
static |
Definition at line 350 of file preshader.c.
Referenced by exec_get_reg_value().
|
static |
Definition at line 1420 of file preshader.c.
Referenced by set_constants().
|
static |
Definition at line 367 of file preshader.c.
Referenced by exec_set_arg().
|
static |
Definition at line 337 of file preshader.c.
Referenced by parse_preshader(), regstore_set_data(), and set_constants().
|
static |
Definition at line 1483 of file preshader.c.
Referenced by d3dx_evaluate_parameter(), and d3dx_param_eval_set_shader_constants().
|
static |
Definition at line 1442 of file preshader.c.
Referenced by set_constants().
|
static |
Definition at line 280 of file preshader.c.
Referenced by init_set_constants_param(), merge_const_set_entries(), and set_constants().
Definition at line 69 of file preshader.c.
Referenced by pres_acos(), and pres_asin().
|
static |
Definition at line 1009 of file preshader.c.
Referenced by parse_preshader(), and update_table_sizes_consts().
|
static |
Definition at line 1015 of file preshader.c.
Referenced by d3dx_create_param_eval(), and parse_preshader().
WINE_DEFAULT_DEBUG_CHANNEL | ( | d3dx | ) |
Definition at line 208 of file preshader.c.
Definition at line 168 of file preshader.c.
Referenced by dump_ins(), execute_preshader(), parse_pres_ins(), and parse_preshader().
|
static |
Definition at line 227 of file preshader.c.
Referenced by parse_preshader().
|
static |
Definition at line 235 of file preshader.c.
Referenced by d3dx_create_param_eval(), and init_set_constants_param().
const struct { ... } table_info[] |
Referenced by FT_DEFINE_SERVICE(), init_set_constants_param(), regstore_alloc_table(), regstore_get_double(), regstore_set_data(), regstore_set_double(), regstore_set_values(), and set_constants().
Definition at line 222 of file preshader.c.
Referenced by dump_arg(), and dump_registers().
Definition at line 209 of file preshader.c.
Referenced by d3dx_create_param_eval().