Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d508a855
Commit
d508a855
authored
Oct 20, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Recognize the SM4 sqrt opcode.
parent
58ecf706
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 @
d508a855
...
...
@@ -5007,6 +5007,7 @@ static const SHADER_HANDLER shader_arb_instruction_handler_table[WINED3DSIH_TABL
/* WINED3DSIH_SGN */
shader_hw_sgn
,
/* WINED3DSIH_SINCOS */
shader_hw_sincos
,
/* WINED3DSIH_SLT */
shader_hw_map2gl
,
/* WINED3DSIH_SQRT */
NULL
,
/* WINED3DSIH_SUB */
shader_hw_map2gl
,
/* WINED3DSIH_TEX */
pshader_hw_tex
,
/* WINED3DSIH_TEXBEM */
pshader_hw_texbem
,
...
...
dlls/wined3d/glsl_shader.c
View file @
d508a855
...
...
@@ -5065,6 +5065,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
/* WINED3DSIH_SGN */
shader_glsl_sgn
,
/* WINED3DSIH_SINCOS */
shader_glsl_sincos
,
/* WINED3DSIH_SLT */
shader_glsl_compare
,
/* WINED3DSIH_SQRT */
NULL
,
/* WINED3DSIH_SUB */
shader_glsl_arith
,
/* WINED3DSIH_TEX */
shader_glsl_tex
,
/* WINED3DSIH_TEXBEM */
shader_glsl_texbem
,
...
...
dlls/wined3d/shader.c
View file @
d508a855
...
...
@@ -111,6 +111,7 @@ static const char * const shader_opcode_names[] =
/* WINED3DSIH_SGN */
"sgn"
,
/* WINED3DSIH_SINCOS */
"sincos"
,
/* WINED3DSIH_SLT */
"slt"
,
/* WINED3DSIH_SQRT */
"sqrt"
,
/* WINED3DSIH_SUB */
"sub"
,
/* WINED3DSIH_TEX */
"texld"
,
/* WINED3DSIH_TEXBEM */
"texbem"
,
...
...
dlls/wined3d/shader_sm4.c
View file @
d508a855
...
...
@@ -87,6 +87,7 @@ enum wined3d_sm4_opcode
WINED3D_SM4_OP_SAMPLE
=
0x45
,
WINED3D_SM4_OP_SAMPLE_LOD
=
0x48
,
WINED3D_SM4_OP_SAMPLE_GRAD
=
0x49
,
WINED3D_SM4_OP_SQRT
=
0x4b
,
WINED3D_SM4_OP_SINCOS
=
0x4d
,
WINED3D_SM4_OP_UTOF
=
0x56
,
};
...
...
@@ -167,6 +168,7 @@ static const struct wined3d_sm4_opcode_info opcode_table[] =
{
WINED3D_SM4_OP_SAMPLE
,
WINED3DSIH_SAMPLE
,
1
,
3
},
{
WINED3D_SM4_OP_SAMPLE_LOD
,
WINED3DSIH_SAMPLE_LOD
,
1
,
4
},
{
WINED3D_SM4_OP_SAMPLE_GRAD
,
WINED3DSIH_SAMPLE_GRAD
,
1
,
5
},
{
WINED3D_SM4_OP_SQRT
,
WINED3DSIH_SQRT
,
1
,
1
},
{
WINED3D_SM4_OP_SINCOS
,
WINED3DSIH_SINCOS
,
2
,
1
},
{
WINED3D_SM4_OP_UTOF
,
WINED3DSIH_UTOF
,
1
,
1
},
};
...
...
dlls/wined3d/wined3d_private.h
View file @
d508a855
...
...
@@ -480,6 +480,7 @@ enum WINED3D_SHADER_INSTRUCTION_HANDLER
WINED3DSIH_SGN
,
WINED3DSIH_SINCOS
,
WINED3DSIH_SLT
,
WINED3DSIH_SQRT
,
WINED3DSIH_SUB
,
WINED3DSIH_TEX
,
WINED3DSIH_TEXBEM
,
...
...
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