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
ff9c2fcd
Commit
ff9c2fcd
authored
Oct 11, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Recognize the SM4 utof opcode.
parent
18d7a73a
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 @
ff9c2fcd
...
...
@@ -5025,6 +5025,7 @@ static const SHADER_HANDLER shader_arb_instruction_handler_table[WINED3DSIH_TABL
/* WINED3DSIH_TEXREG2AR */
pshader_hw_texreg2ar
,
/* WINED3DSIH_TEXREG2GB */
pshader_hw_texreg2gb
,
/* WINED3DSIH_TEXREG2RGB */
pshader_hw_texreg2rgb
,
/* WINED3DSIH_UTOF */
NULL
,
};
static
inline
BOOL
get_bool_const
(
const
struct
wined3d_shader_instruction
*
ins
,
IWineD3DBaseShaderImpl
*
This
,
DWORD
idx
)
...
...
dlls/wined3d/glsl_shader.c
View file @
ff9c2fcd
...
...
@@ -5083,6 +5083,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
/* WINED3DSIH_TEXREG2AR */
shader_glsl_texreg2ar
,
/* WINED3DSIH_TEXREG2GB */
shader_glsl_texreg2gb
,
/* WINED3DSIH_TEXREG2RGB */
shader_glsl_texreg2rgb
,
/* WINED3DSIH_UTOF */
NULL
,
};
static
void
shader_glsl_handle_instruction
(
const
struct
wined3d_shader_instruction
*
ins
)
{
...
...
dlls/wined3d/shader.c
View file @
ff9c2fcd
...
...
@@ -129,6 +129,7 @@ static const char * const shader_opcode_names[] =
/* WINED3DSIH_TEXREG2AR */
"texreg2ar"
,
/* WINED3DSIH_TEXREG2GB */
"texreg2gb"
,
/* WINED3DSIH_TEXREG2RGB */
"texreg2rgb"
,
/* WINED3DSIH_UTOF */
"utof"
,
};
static
const
char
*
const
semantic_names
[]
=
...
...
dlls/wined3d/shader_sm4.c
View file @
ff9c2fcd
...
...
@@ -79,6 +79,7 @@ enum wined3d_sm4_opcode
WINED3D_SM4_OP_SAMPLE
=
0x45
,
WINED3D_SM4_OP_SAMPLE_LOD
=
0x48
,
WINED3D_SM4_OP_SINCOS
=
0x4d
,
WINED3D_SM4_OP_UTOF
=
0x56
,
};
enum
wined3d_sm4_register_type
...
...
@@ -152,6 +153,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_SINCOS
,
WINED3DSIH_SINCOS
,
2
,
1
},
{
WINED3D_SM4_OP_UTOF
,
WINED3DSIH_UTOF
,
1
,
1
},
};
static
const
WINED3DSHADER_PARAM_REGISTER_TYPE
register_type_table
[]
=
...
...
dlls/wined3d/wined3d_private.h
View file @
ff9c2fcd
...
...
@@ -497,6 +497,7 @@ enum WINED3D_SHADER_INSTRUCTION_HANDLER
WINED3DSIH_TEXREG2AR
,
WINED3DSIH_TEXREG2GB
,
WINED3DSIH_TEXREG2RGB
,
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