|
| WINE_DEFAULT_DEBUG_CHANNEL (asmshader) |
|
| WINE_DECLARE_DEBUG_CHANNEL (parsed_shader) |
|
static void | asmparser_end (struct asm_parser *This) |
|
static void | asmparser_constF (struct asm_parser *This, DWORD reg, float x, float y, float z, float w) |
|
static void | asmparser_constB (struct asm_parser *This, DWORD reg, BOOL x) |
|
static void | asmparser_constI (struct asm_parser *This, DWORD reg, INT x, INT y, INT z, INT w) |
|
static void | asmparser_dcl_output (struct asm_parser *This, DWORD usage, DWORD num, const struct shader_reg *reg) |
|
static void | asmparser_dcl_output_unsupported (struct asm_parser *This, DWORD usage, DWORD num, const struct shader_reg *reg) |
|
static void | asmparser_dcl_input (struct asm_parser *This, DWORD usage, DWORD num, DWORD mod, const struct shader_reg *reg) |
|
static void | asmparser_dcl_input_ps_2 (struct asm_parser *This, DWORD usage, DWORD num, DWORD mod, const struct shader_reg *reg) |
|
static void | asmparser_dcl_input_unsupported (struct asm_parser *This, DWORD usage, DWORD num, DWORD mod, const struct shader_reg *reg) |
|
static void | asmparser_dcl_sampler (struct asm_parser *This, DWORD samptype, DWORD mod, DWORD regnum, unsigned int line_no) |
|
static void | asmparser_dcl_sampler_unsupported (struct asm_parser *This, DWORD samptype, DWORD mod, DWORD regnum, unsigned int line_no) |
|
static void | asmparser_sincos (struct asm_parser *This, DWORD mod, DWORD shift, const struct shader_reg *dst, const struct src_regs *srcs) |
|
static struct shader_reg | map_oldps_register (const struct shader_reg *reg, BOOL tex_varying) |
|
static void | asmparser_texcoord (struct asm_parser *This, DWORD mod, DWORD shift, const struct shader_reg *dst, const struct src_regs *srcs) |
|
static void | asmparser_texcrd (struct asm_parser *This, DWORD mod, DWORD shift, const struct shader_reg *dst, const struct src_regs *srcs) |
|
static void | asmparser_texkill (struct asm_parser *This, const struct shader_reg *dst) |
|
static void | asmparser_texhelper (struct asm_parser *This, DWORD mod, DWORD shift, const struct shader_reg *dst, const struct shader_reg *src0) |
|
static void | asmparser_tex (struct asm_parser *This, DWORD mod, DWORD shift, const struct shader_reg *dst) |
|
static void | asmparser_texld14 (struct asm_parser *This, DWORD mod, DWORD shift, const struct shader_reg *dst, const struct src_regs *srcs) |
|
static void | asmparser_texreg2ar (struct asm_parser *This, DWORD mod, DWORD shift, const struct shader_reg *dst, const struct shader_reg *src0) |
|
static void | asmparser_texreg2gb (struct asm_parser *This, DWORD mod, DWORD shift, const struct shader_reg *dst, const struct shader_reg *src0) |
|
static void | asmparser_texreg2rgb (struct asm_parser *This, DWORD mod, DWORD shift, const struct shader_reg *dst, const struct shader_reg *src0) |
|
static void | asmparser_instr (struct asm_parser *This, DWORD opcode, DWORD mod, DWORD shift, enum bwriter_comparison_type comp, const struct shader_reg *dst, const struct src_regs *srcs, int expectednsrcs) |
|
static struct shader_reg | map_oldvs_register (const struct shader_reg *reg) |
|
static void | check_legacy_srcmod (struct asm_parser *This, DWORD srcmod) |
|
static void | check_abs_srcmod (struct asm_parser *This, DWORD srcmod) |
|
static void | check_loop_swizzle (struct asm_parser *This, const struct shader_reg *src) |
|
static void | check_shift_dstmod (struct asm_parser *This, DWORD shift) |
|
static void | check_ps_dstmod (struct asm_parser *This, DWORD dstmod) |
|
static BOOL | check_reg_type (const struct shader_reg *reg, const struct allowed_reg_type *allowed) |
|
static void | asmparser_srcreg_vs_1 (struct asm_parser *This, struct instruction *instr, int num, const struct shader_reg *src) |
|
static void | asmparser_srcreg_vs_2 (struct asm_parser *This, struct instruction *instr, int num, const struct shader_reg *src) |
|
static void | asmparser_srcreg_vs_3 (struct asm_parser *This, struct instruction *instr, int num, const struct shader_reg *src) |
|
static void | asmparser_srcreg_ps_1_0123 (struct asm_parser *This, struct instruction *instr, int num, const struct shader_reg *src) |
|
static void | asmparser_srcreg_ps_1_4 (struct asm_parser *This, struct instruction *instr, int num, const struct shader_reg *src) |
|
static void | asmparser_srcreg_ps_2 (struct asm_parser *This, struct instruction *instr, int num, const struct shader_reg *src) |
|
static void | asmparser_srcreg_ps_2_x (struct asm_parser *This, struct instruction *instr, int num, const struct shader_reg *src) |
|
static void | asmparser_srcreg_ps_3 (struct asm_parser *This, struct instruction *instr, int num, const struct shader_reg *src) |
|
static void | asmparser_dstreg_vs_1 (struct asm_parser *This, struct instruction *instr, const struct shader_reg *dst) |
|
static void | asmparser_dstreg_vs_2 (struct asm_parser *This, struct instruction *instr, const struct shader_reg *dst) |
|
static void | asmparser_dstreg_vs_3 (struct asm_parser *This, struct instruction *instr, const struct shader_reg *dst) |
|
static void | asmparser_dstreg_ps_1_0123 (struct asm_parser *This, struct instruction *instr, const struct shader_reg *dst) |
|
static void | asmparser_dstreg_ps_1_4 (struct asm_parser *This, struct instruction *instr, const struct shader_reg *dst) |
|
static void | asmparser_dstreg_ps_2 (struct asm_parser *This, struct instruction *instr, const struct shader_reg *dst) |
|
static void | asmparser_dstreg_ps_2_x (struct asm_parser *This, struct instruction *instr, const struct shader_reg *dst) |
|
static void | asmparser_dstreg_ps_3 (struct asm_parser *This, struct instruction *instr, const struct shader_reg *dst) |
|
static void | asmparser_predicate_supported (struct asm_parser *This, const struct shader_reg *predicate) |
|
static void | asmparser_predicate_unsupported (struct asm_parser *This, const struct shader_reg *predicate) |
|
static void | asmparser_coissue_supported (struct asm_parser *This) |
|
static void | asmparser_coissue_unsupported (struct asm_parser *This) |
|
static void | gen_oldvs_output (struct bwriter_shader *shader) |
|
static void | gen_oldps_input (struct bwriter_shader *shader, DWORD texcoords) |
|
void | create_vs10_parser (struct asm_parser *ret) |
|
void | create_vs11_parser (struct asm_parser *ret) |
|
void | create_vs20_parser (struct asm_parser *ret) |
|
void | create_vs2x_parser (struct asm_parser *ret) |
|
void | create_vs30_parser (struct asm_parser *ret) |
|
void | create_ps10_parser (struct asm_parser *ret) |
|
void | create_ps11_parser (struct asm_parser *ret) |
|
void | create_ps12_parser (struct asm_parser *ret) |
|
void | create_ps13_parser (struct asm_parser *ret) |
|
void | create_ps14_parser (struct asm_parser *ret) |
|
void | create_ps20_parser (struct asm_parser *ret) |
|
void | create_ps2x_parser (struct asm_parser *ret) |
|
void | create_ps30_parser (struct asm_parser *ret) |
|
Definition at line 723 of file asmparser.c.
727 while(allowed[
i].
type != ~0
U) {
728 if(
reg->type == allowed[
i].type) {
730 if(allowed[
i].reladdr)
736 if(
reg->regnum < allowed[
i].count)
return TRUE;
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLuint GLuint GLsizei GLenum type
Referenced by asmparser_dstreg_ps_1_0123(), asmparser_dstreg_ps_1_4(), asmparser_dstreg_ps_2(), asmparser_dstreg_ps_2_x(), asmparser_dstreg_ps_3(), asmparser_dstreg_vs_1(), asmparser_dstreg_vs_2(), asmparser_dstreg_vs_3(), asmparser_srcreg_ps_1_0123(), asmparser_srcreg_ps_1_4(), asmparser_srcreg_ps_2(), asmparser_srcreg_ps_2_x(), asmparser_srcreg_ps_3(), asmparser_srcreg_vs_1(), asmparser_srcreg_vs_2(), and asmparser_srcreg_vs_3().