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
9aac2d95
Commit
9aac2d95
authored
May 09, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
May 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Do not declare resources as multisampled if the sample count is 1.
Based on vkd3d commit d8ef0c69a817d059b1d4fc62520131eed80aba29.
parent
d53fd401
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
shader.c
dlls/wined3d/shader.c
+4
-0
No files found.
dlls/wined3d/shader.c
View file @
9aac2d95
...
...
@@ -1070,6 +1070,10 @@ static HRESULT shader_get_registers_used(struct wined3d_shader *shader, DWORD co
break
;
}
reg_maps
->
resource_info
[
reg_idx
].
type
=
semantic
->
resource_type
;
if
(
semantic
->
resource_type
==
WINED3D_SHADER_RESOURCE_TEXTURE_2DMS
&&
semantic
->
sample_count
==
1
)
reg_maps
->
resource_info
[
reg_idx
].
type
=
WINED3D_SHADER_RESOURCE_TEXTURE_2D
;
if
(
semantic
->
resource_type
==
WINED3D_SHADER_RESOURCE_TEXTURE_2DMSARRAY
&&
semantic
->
sample_count
==
1
)
reg_maps
->
resource_info
[
reg_idx
].
type
=
WINED3D_SHADER_RESOURCE_TEXTURE_2DARRAY
;
reg_maps
->
resource_info
[
reg_idx
].
data_type
=
semantic
->
resource_data_type
;
wined3d_bitmap_set
(
reg_maps
->
resource_map
,
reg_idx
);
break
;
...
...
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