Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d695dd3a
Commit
d695dd3a
authored
Nov 21, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Recognize the SM4 ushr opcode.
parent
9afff037
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
0 deletions
+6
-0
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+1
-0
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-0
shader.c
dlls/wined3d/shader.c
+1
-0
shader_sm4.c
dlls/wined3d/shader_sm4.c
+2
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
No files found.
dlls/wined3d/arb_program_shader.c
View file @
d695dd3a
...
...
@@ -5128,6 +5128,7 @@ static const SHADER_HANDLER shader_arb_instruction_handler_table[WINED3DSIH_TABL
/* WINED3DSIH_TEXREG2GB */
pshader_hw_texreg2gb
,
/* WINED3DSIH_TEXREG2RGB */
pshader_hw_texreg2rgb
,
/* WINED3DSIH_UDIV */
NULL
,
/* WINED3DSIH_USHR */
NULL
,
/* WINED3DSIH_UTOF */
NULL
,
};
...
...
dlls/wined3d/glsl_shader.c
View file @
d695dd3a
...
...
@@ -5083,6 +5083,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
/* WINED3DSIH_TEXREG2GB */
shader_glsl_texreg2gb
,
/* WINED3DSIH_TEXREG2RGB */
shader_glsl_texreg2rgb
,
/* WINED3DSIH_UDIV */
NULL
,
/* WINED3DSIH_USHR */
NULL
,
/* WINED3DSIH_UTOF */
NULL
,
};
...
...
dlls/wined3d/shader.c
View file @
d695dd3a
...
...
@@ -139,6 +139,7 @@ static const char * const shader_opcode_names[] =
/* WINED3DSIH_TEXREG2GB */
"texreg2gb"
,
/* WINED3DSIH_TEXREG2RGB */
"texreg2rgb"
,
/* WINED3DSIH_UDIV */
"udiv"
,
/* WINED3DSIH_USHR */
"ushr"
,
/* WINED3DSIH_UTOF */
"utof"
,
};
...
...
dlls/wined3d/shader_sm4.c
View file @
d695dd3a
...
...
@@ -95,6 +95,7 @@ enum wined3d_sm4_opcode
WINED3D_SM4_OP_SQRT
=
0x4b
,
WINED3D_SM4_OP_SINCOS
=
0x4d
,
WINED3D_SM4_OP_UDIV
=
0x4e
,
WINED3D_SM4_OP_USHR
=
0x55
,
WINED3D_SM4_OP_UTOF
=
0x56
,
};
...
...
@@ -182,6 +183,7 @@ static const struct wined3d_sm4_opcode_info opcode_table[] =
{
WINED3D_SM4_OP_SQRT
,
WINED3DSIH_SQRT
,
1
,
1
},
{
WINED3D_SM4_OP_SINCOS
,
WINED3DSIH_SINCOS
,
2
,
1
},
{
WINED3D_SM4_OP_UDIV
,
WINED3DSIH_UDIV
,
2
,
2
},
{
WINED3D_SM4_OP_USHR
,
WINED3DSIH_USHR
,
1
,
2
},
{
WINED3D_SM4_OP_UTOF
,
WINED3DSIH_UTOF
,
1
,
1
},
};
...
...
dlls/wined3d/wined3d_private.h
View file @
d695dd3a
...
...
@@ -512,6 +512,7 @@ enum WINED3D_SHADER_INSTRUCTION_HANDLER
WINED3DSIH_TEXREG2GB
,
WINED3DSIH_TEXREG2RGB
,
WINED3DSIH_UDIV
,
WINED3DSIH_USHR
,
WINED3DSIH_UTOF
,
WINED3DSIH_TABLE_SIZE
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment