Functions |
| | WINE_DEFAULT_DEBUG_CHANNEL (d3d_shader) |
| | WINE_DECLARE_DEBUG_CHANNEL (d3d) |
| static const char * | shader_semantic_name_from_usage (WINED3DDECLUSAGE usage) |
| static WINED3DDECLUSAGE | shader_usage_from_semantic_name (const char *name) |
| BOOL | shader_match_semantic (const char *semantic_name, WINED3DDECLUSAGE usage) |
| static void | shader_signature_from_semantic (struct wined3d_shader_signature_element *e, const struct wined3d_shader_semantic *s) |
| static void | shader_signature_from_usage (struct wined3d_shader_signature_element *e, WINED3DDECLUSAGE usage, UINT usage_idx, UINT reg_idx, DWORD write_mask) |
static struct
wined3d_shader_frontend * | shader_select_frontend (DWORD version_token) |
| void | shader_buffer_clear (struct wined3d_shader_buffer *buffer) |
| BOOL | shader_buffer_init (struct wined3d_shader_buffer *buffer) |
| void | shader_buffer_free (struct wined3d_shader_buffer *buffer) |
| int | shader_vaddline (struct wined3d_shader_buffer *buffer, const char *format, va_list args) |
| int | shader_addline (struct wined3d_shader_buffer *buffer, const char *format,...) |
| static void | shader_init (struct wined3d_shader *shader, struct wined3d_device *device, void *parent, const struct wined3d_parent_ops *parent_ops) |
| static unsigned int | shader_get_float_offset (enum wined3d_shader_register_type register_type, UINT register_idx) |
| static void | shader_delete_constant_list (struct list *clist) |
| static void | set_bitmap_bit (DWORD *bitmap, DWORD bit) |
| static void | shader_record_register_usage (struct wined3d_shader *shader, struct wined3d_shader_reg_maps *reg_maps, const struct wined3d_shader_register *reg, enum wined3d_shader_type shader_type) |
| static unsigned int | get_instr_extra_regcount (enum WINED3D_SHADER_INSTRUCTION_HANDLER instr, unsigned int param) |
| static HRESULT | shader_get_registers_used (struct wined3d_shader *shader, const struct wined3d_shader_frontend *fe, struct wined3d_shader_reg_maps *reg_maps, struct wined3d_shader_signature_element *input_signature, struct wined3d_shader_signature_element *output_signature, const DWORD *byte_code, DWORD constf_size) |
| unsigned int | shader_find_free_input_register (const struct wined3d_shader_reg_maps *reg_maps, unsigned int max) |
| static void | shader_dump_decl_usage (const struct wined3d_shader_semantic *semantic, const struct wined3d_shader_version *shader_version) |
| static void | shader_dump_register (const struct wined3d_shader_register *reg, const struct wined3d_shader_version *shader_version) |
| void | shader_dump_dst_param (const struct wined3d_shader_dst_param *param, const struct wined3d_shader_version *shader_version) |
| void | shader_dump_src_param (const struct wined3d_shader_src_param *param, const struct wined3d_shader_version *shader_version) |
| void | shader_generate_main (const struct wined3d_shader *shader, struct wined3d_shader_buffer *buffer, const struct wined3d_shader_reg_maps *reg_maps, const DWORD *byte_code, void *backend_ctx) |
| static void | shader_dump_ins_modifiers (const struct wined3d_shader_dst_param *dst) |
| static void | shader_trace_init (const struct wined3d_shader_frontend *fe, void *fe_data, const DWORD *byte_code) |
| static void | shader_cleanup (struct wined3d_shader *shader) |
| static void | shader_none_handle_instruction (const struct wined3d_shader_instruction *ins) |
| static void | shader_none_select (const struct wined3d_context *context, BOOL usePS, BOOL useVS) |
| static void | shader_none_select_depth_blt (void *shader_priv, const struct wined3d_gl_info *gl_info, enum tex_types tex_type, const SIZE *ds_mask_size) |
| static void | shader_none_deselect_depth_blt (void *shader_priv, const struct wined3d_gl_info *gl_info) |
| static void | shader_none_update_float_vertex_constants (struct wined3d_device *device, UINT start, UINT count) |
| static void | shader_none_update_float_pixel_constants (struct wined3d_device *device, UINT start, UINT count) |
| static void | shader_none_load_constants (const struct wined3d_context *context, char usePS, char useVS) |
| static void | shader_none_load_np2fixup_constants (void *shader_priv, const struct wined3d_gl_info *gl_info, const struct wined3d_state *state) |
| static void | shader_none_destroy (struct wined3d_shader *shader) |
| static HRESULT | shader_none_alloc (struct wined3d_device *device) |
| static void | shader_none_free (struct wined3d_device *device) |
| static void | shader_none_context_destroyed (void *shader_priv, const struct wined3d_context *context) |
| static void | shader_none_get_caps (const struct wined3d_gl_info *gl_info, struct shader_caps *caps) |
| static BOOL | shader_none_color_fixup_supported (struct color_fixup_desc fixup) |
| static HRESULT | shader_set_function (struct wined3d_shader *shader, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, DWORD float_const_count, enum wined3d_shader_type type, unsigned int max_version) |
| ULONG CDECL | wined3d_shader_incref (struct wined3d_shader *shader) |
| ULONG CDECL | wined3d_shader_decref (struct wined3d_shader *shader) |
| void *CDECL | wined3d_shader_get_parent (const struct wined3d_shader *shader) |
| HRESULT CDECL | wined3d_shader_get_byte_code (const struct wined3d_shader *shader, void *byte_code, UINT *byte_code_size) |
| HRESULT CDECL | wined3d_shader_set_local_constants_float (struct wined3d_shader *shader, UINT start_idx, const float *src_data, UINT count) |
| void | find_vs_compile_args (const struct wined3d_state *state, const struct wined3d_shader *shader, struct vs_compile_args *args) |
| static BOOL | match_usage (BYTE usage1, BYTE usage_idx1, BYTE usage2, BYTE usage_idx2) |
| BOOL | vshader_get_input (const struct wined3d_shader *shader, BYTE usage_req, BYTE usage_idx_req, unsigned int *regnum) |
| static void | vertexshader_set_limits (struct wined3d_shader *shader) |
| static HRESULT | vertexshader_init (struct wined3d_shader *shader, struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, unsigned int max_version) |
| static HRESULT | geometryshader_init (struct wined3d_shader *shader, struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, unsigned int max_version) |
| void | find_ps_compile_args (const struct wined3d_state *state, const struct wined3d_shader *shader, struct ps_compile_args *args) |
| static void | pixelshader_set_limits (struct wined3d_shader *shader) |
| static HRESULT | pixelshader_init (struct wined3d_shader *shader, struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, unsigned int max_version) |
| void | pixelshader_update_samplers (struct wined3d_shader_reg_maps *reg_maps, struct wined3d_texture *const *textures) |
| HRESULT CDECL | wined3d_shader_create_gs (struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader, unsigned int max_version) |
| HRESULT CDECL | wined3d_shader_create_ps (struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader, unsigned int max_version) |
| HRESULT CDECL | wined3d_shader_create_vs (struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader, unsigned int max_version) |
Variables |
| static const char *const | shader_opcode_names [] |
| static const char *const | semantic_names [] |
| struct wined3d_shader_backend_ops | none_shader_backend |