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
66cb4a8c
Commit
66cb4a8c
authored
Nov 13, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the WINED3DSHADER_PARAM_REGISTER_TYPE typedef.
parent
13efdc6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
shader.c
dlls/wined3d/shader.c
+1
-1
shader_sm4.c
dlls/wined3d/shader_sm4.c
+2
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+3
-3
No files found.
dlls/wined3d/shader.c
View file @
66cb4a8c
...
...
@@ -311,7 +311,7 @@ static void shader_init(struct wined3d_shader *shader, struct wined3d_device *de
/* Convert floating point offset relative to a register file to an absolute
* offset for float constants. */
static
unsigned
int
shader_get_float_offset
(
WINED3DSHADER_PARAM_REGISTER_TYPE
register_type
,
UINT
register_idx
)
static
unsigned
int
shader_get_float_offset
(
enum
wined3d_shader_register_type
register_type
,
UINT
register_idx
)
{
switch
(
register_type
)
{
...
...
dlls/wined3d/shader_sm4.c
View file @
66cb4a8c
...
...
@@ -127,7 +127,7 @@ struct wined3d_sm4_opcode_info
struct
sysval_map
{
enum
wined3d_sysval_semantic
sysval
;
WINED3DSHADER_PARAM_REGISTER_TYPE
register_type
;
enum
wined3d_shader_register_type
register_type
;
UINT
register_idx
;
};
...
...
@@ -173,7 +173,7 @@ static const struct wined3d_sm4_opcode_info opcode_table[] =
{
WINED3D_SM4_OP_UTOF
,
WINED3DSIH_UTOF
,
1
,
1
},
};
static
const
WINED3DSHADER_PARAM_REGISTER_TYPE
register_type_table
[]
=
static
const
enum
wined3d_shader_register_type
register_type_table
[]
=
{
/* WINED3D_SM4_RT_TEMP */
WINED3DSPR_TEMP
,
/* WINED3D_SM4_RT_INPUT */
WINED3DSPR_INPUT
,
...
...
dlls/wined3d/wined3d_private.h
View file @
66cb4a8c
...
...
@@ -286,7 +286,7 @@ enum wined3d_sampler_texture_type
WINED3DSTT_VOLUME
=
4
,
};
typedef
enum
_WINED3DSHADER_PARAM_REGISTER_TYPE
enum
wined3d_shader_register_type
{
WINED3DSPR_TEMP
=
0
,
WINED3DSPR_INPUT
=
1
,
...
...
@@ -314,7 +314,7 @@ typedef enum _WINED3DSHADER_PARAM_REGISTER_TYPE
WINED3DSPR_CONSTBUFFER
,
WINED3DSPR_NULL
,
WINED3DSPR_RESOURCE
,
}
WINED3DSHADER_PARAM_REGISTER_TYPE
;
};
enum
wined3d_immconst_type
{
...
...
@@ -597,7 +597,7 @@ struct wined3d_shader_context
struct
wined3d_shader_register
{
WINED3DSHADER_PARAM_REGISTER_TYPE
type
;
enum
wined3d_shader_register_type
type
;
UINT
idx
;
UINT
array_idx
;
const
struct
wined3d_shader_src_param
*
rel_addr
;
...
...
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