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
a518e5c9
Commit
a518e5c9
authored
Jul 15, 2023
by
Matteo Bruni
Committed by
Alexandre Julliard
Apr 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Skip test_sample_attached_rendertarget() without pixel shaders support.
parent
07228191
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
visual.c
dlls/d3d9/tests/visual.c
+12
-0
No files found.
dlls/d3d9/tests/visual.c
View file @
a518e5c9
...
...
@@ -26877,6 +26877,7 @@ static void test_sample_attached_rendertarget(void)
unsigned
int
color
,
i
;
IDirect3D9
*
d3d
;
ULONG
refcount
;
D3DCAPS9
caps
;
BOOL
is_warp
;
HWND
window
;
HRESULT
hr
;
...
...
@@ -26926,6 +26927,17 @@ static void test_sample_attached_rendertarget(void)
return
;
}
hr
=
IDirect3DDevice9_GetDeviceCaps
(
device
,
&
caps
);
ok
(
hr
==
D3D_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
if
(
caps
.
PixelShaderVersion
<
D3DPS_VERSION
(
2
,
0
))
{
skip
(
"No shader model 2 support, skipping tests.
\n
"
);
IDirect3DDevice9_Release
(
device
);
IDirect3D9_Release
(
d3d
);
DestroyWindow
(
window
);
return
;
}
hr
=
IDirect3DDevice9_CreateQuery
(
device
,
D3DQUERYTYPE_EVENT
,
NULL
);
if
(
hr
==
D3DERR_NOTAVAILABLE
)
{
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