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
59bdd6ae
Commit
59bdd6ae
authored
Oct 15, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Recognise the SM4 "primID" register type.
parent
347dda06
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
shader.c
dlls/wined3d/shader.c
+4
-0
shader_sm4.c
dlls/wined3d/shader_sm4.c
+2
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-0
No files found.
dlls/wined3d/shader.c
View file @
59bdd6ae
...
...
@@ -992,6 +992,10 @@ static void shader_dump_register(const struct wined3d_shader_register *reg,
TRACE
(
"cb"
);
break
;
case
WINED3DSPR_PRIMID
:
TRACE
(
"primID"
);
break
;
case
WINED3DSPR_NULL
:
TRACE
(
"null"
);
break
;
...
...
dlls/wined3d/shader_sm4.c
View file @
59bdd6ae
...
...
@@ -131,6 +131,7 @@ enum wined3d_sm4_register_type
WINED3D_SM4_RT_IMMCONST
=
0x4
,
WINED3D_SM4_RT_SAMPLER
=
0x6
,
WINED3D_SM4_RT_CONSTBUFFER
=
0x8
,
WINED3D_SM4_RT_PRIMID
=
0xb
,
WINED3D_SM4_RT_NULL
=
0xd
,
};
...
...
@@ -269,7 +270,7 @@ static const enum wined3d_shader_register_type register_type_table[] =
/* WINED3D_SM4_RT_CONSTBUFFER */
WINED3DSPR_CONSTBUFFER
,
/* UNKNOWN */
0
,
/* UNKNOWN */
0
,
/*
UNKNOWN */
0
,
/*
WINED3D_SM4_RT_PRIMID */
WINED3DSPR_PRIMID
,
/* UNKNOWN */
0
,
/* WINED3D_SM4_RT_NULL */
WINED3DSPR_NULL
,
};
...
...
dlls/wined3d/wined3d_private.h
View file @
59bdd6ae
...
...
@@ -320,6 +320,7 @@ enum wined3d_shader_register_type
WINED3DSPR_PREDICATE
=
19
,
WINED3DSPR_IMMCONST
,
WINED3DSPR_CONSTBUFFER
,
WINED3DSPR_PRIMID
,
WINED3DSPR_NULL
,
WINED3DSPR_RESOURCE
,
};
...
...
@@ -2678,6 +2679,7 @@ static inline BOOL shader_is_scalar(const struct wined3d_shader_register *reg)
case
WINED3DSPR_CONSTBOOL
:
/* b# */
case
WINED3DSPR_LOOP
:
/* aL */
case
WINED3DSPR_PREDICATE
:
/* p0 */
case
WINED3DSPR_PRIMID
:
/* primID */
return
TRUE
;
case
WINED3DSPR_MISCTYPE
:
...
...
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