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
6a646ac2
Commit
6a646ac2
authored
Dec 03, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: shader_get_registers_used() is only called during shader initialization.
parent
8c1e326e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
shader.c
dlls/wined3d/shader.c
+0
-7
No files found.
dlls/wined3d/shader.c
View file @
6a646ac2
...
@@ -461,13 +461,6 @@ static HRESULT shader_get_registers_used(IWineD3DBaseShader *iface, const struct
...
@@ -461,13 +461,6 @@ static HRESULT shader_get_registers_used(IWineD3DBaseShader *iface, const struct
memset
(
reg_maps
,
0
,
sizeof
(
*
reg_maps
));
memset
(
reg_maps
,
0
,
sizeof
(
*
reg_maps
));
reg_maps
->
min_rel_offset
=
~
0U
;
reg_maps
->
min_rel_offset
=
~
0U
;
/* get_registers_used() is called on every compile on some 1.x shaders,
* which can result in stacking up a collection of local constants.
* Delete the old constants if existing. */
shader_delete_constant_list
(
&
shader
->
baseShader
.
constantsF
);
shader_delete_constant_list
(
&
shader
->
baseShader
.
constantsB
);
shader_delete_constant_list
(
&
shader
->
baseShader
.
constantsI
);
fe
->
shader_read_header
(
fe_data
,
&
ptr
,
&
shader_version
);
fe
->
shader_read_header
(
fe_data
,
&
ptr
,
&
shader_version
);
reg_maps
->
shader_version
=
shader_version
;
reg_maps
->
shader_version
=
shader_version
;
...
...
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