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
916167e9
Commit
916167e9
authored
Oct 12, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Recognize the SM4 resource register type.
parent
6cbf1dd4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
shader.c
dlls/wined3d/shader.c
+4
-0
shader_sm4.c
dlls/wined3d/shader_sm4.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
No files found.
dlls/wined3d/shader.c
View file @
916167e9
...
@@ -1027,6 +1027,10 @@ static void shader_dump_register(const struct wined3d_shader_register *reg,
...
@@ -1027,6 +1027,10 @@ static void shader_dump_register(const struct wined3d_shader_register *reg,
TRACE
(
"null"
);
TRACE
(
"null"
);
break
;
break
;
case
WINED3DSPR_RESOURCE
:
TRACE
(
"t"
);
break
;
default:
default:
TRACE
(
"unhandled_rtype(%#x)"
,
reg
->
type
);
TRACE
(
"unhandled_rtype(%#x)"
,
reg
->
type
);
break
;
break
;
...
...
dlls/wined3d/shader_sm4.c
View file @
916167e9
...
@@ -166,7 +166,7 @@ static const WINED3DSHADER_PARAM_REGISTER_TYPE register_type_table[] =
...
@@ -166,7 +166,7 @@ static const WINED3DSHADER_PARAM_REGISTER_TYPE register_type_table[] =
/* WINED3D_SM4_RT_IMMCONST */
WINED3DSPR_IMMCONST
,
/* WINED3D_SM4_RT_IMMCONST */
WINED3DSPR_IMMCONST
,
/* UNKNOWN */
0
,
/* UNKNOWN */
0
,
/* WINED3D_SM4_RT_SAMPLER */
WINED3DSPR_SAMPLER
,
/* WINED3D_SM4_RT_SAMPLER */
WINED3DSPR_SAMPLER
,
/*
UNKNOWN */
0
,
/*
WINED3D_SM4_RT_RESOURCE */
WINED3DSPR_RESOURCE
,
/* WINED3D_SM4_RT_CONSTBUFFER */
WINED3DSPR_CONSTBUFFER
,
/* WINED3D_SM4_RT_CONSTBUFFER */
WINED3DSPR_CONSTBUFFER
,
/* UNKNOWN */
0
,
/* UNKNOWN */
0
,
/* UNKNOWN */
0
,
/* UNKNOWN */
0
,
...
...
dlls/wined3d/wined3d_private.h
View file @
916167e9
...
@@ -309,6 +309,7 @@ typedef enum _WINED3DSHADER_PARAM_REGISTER_TYPE
...
@@ -309,6 +309,7 @@ typedef enum _WINED3DSHADER_PARAM_REGISTER_TYPE
WINED3DSPR_IMMCONST
,
WINED3DSPR_IMMCONST
,
WINED3DSPR_CONSTBUFFER
,
WINED3DSPR_CONSTBUFFER
,
WINED3DSPR_NULL
,
WINED3DSPR_NULL
,
WINED3DSPR_RESOURCE
,
}
WINED3DSHADER_PARAM_REGISTER_TYPE
;
}
WINED3DSHADER_PARAM_REGISTER_TYPE
;
enum
wined3d_immconst_type
enum
wined3d_immconst_type
...
...
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