Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
d9vk
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Joshua Ashton
d9vk
Commits
3be8016f
Commit
3be8016f
authored
Nov 29, 2019
by
Joshua Ashton
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[d3d9] Add padding to shared stage info
parent
2805ffe4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/d3d9/d3d9_fixed_function.cpp
src/d3d9/d3d9_fixed_function.cpp
+3
-0
src/d3d9/d3d9_state.h
src/d3d9/d3d9_state.h
+1
-0
No files found.
src/d3d9/d3d9_fixed_function.cpp
View file @
3be8016f
...
...
@@ -399,6 +399,9 @@ namespace dxvk {
spvModule
.
memberDecorateOffset
(
structType
,
stage
*
D3D9SharedPSStages_Count
+
D3D9SharedPSStages_Constant
,
offset
);
offset
+=
sizeof
(
float
)
*
4
;
// Padding...
offset
+=
sizeof
(
float
)
*
2
;
}
uint32_t
sharedState
=
spvModule
.
newVar
(
...
...
src/d3d9/d3d9_state.h
View file @
3be8016f
...
...
@@ -145,6 +145,7 @@ namespace dxvk {
float
BumpEnvMat
[
2
][
2
];
float
BumpEnvLScale
;
float
BumpEnvLOffset
;
float
Padding
[
2
];
}
Stages
[
8
];
};
...
...
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