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
063d3d18
Commit
063d3d18
authored
Oct 07, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Get rid of the unused "return_data_buffer" in the stateblock tests.
parent
17909a0c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
28 deletions
+3
-28
stateblock.c
dlls/d3d9/tests/stateblock.c
+3
-28
No files found.
dlls/d3d9/tests/stateblock.c
View file @
063d3d18
...
@@ -437,11 +437,6 @@ struct shader_constant_arg
...
@@ -437,11 +437,6 @@ struct shader_constant_arg
BOOL
pshader
;
BOOL
pshader
;
};
};
struct
shader_constant_context
{
struct
shader_constant_data
return_data_buffer
;
};
static
const
struct
shader_constant_data
shader_constant_poison_data
=
static
const
struct
shader_constant_data
shader_constant_poison_data
=
{
{
{
0x1337c0de
,
0x1337c0de
,
0x1337c0de
,
0x1337c0de
},
{
0x1337c0de
,
0x1337c0de
,
0x1337c0de
,
0x1337c0de
},
...
@@ -548,10 +543,7 @@ static void shader_constant_check_data(IDirect3DDevice9 *device, unsigned int ch
...
@@ -548,10 +543,7 @@ static void shader_constant_check_data(IDirect3DDevice9 *device, unsigned int ch
static
HRESULT
shader_constant_setup_handler
(
struct
state_test
*
test
)
static
HRESULT
shader_constant_setup_handler
(
struct
state_test
*
test
)
{
{
struct
shader_constant_context
*
ctx
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
ctx
));
test
->
test_context
=
NULL
;
if
(
ctx
==
NULL
)
return
E_FAIL
;
test
->
test_context
=
ctx
;
test
->
test_data_in
=
&
shader_constant_test_data
;
test
->
test_data_in
=
&
shader_constant_test_data
;
test
->
test_data_out
=
&
shader_constant_test_data
;
test
->
test_data_out
=
&
shader_constant_test_data
;
test
->
default_data
=
&
shader_constant_default_data
;
test
->
default_data
=
&
shader_constant_default_data
;
...
@@ -590,11 +582,6 @@ struct light_arg
...
@@ -590,11 +582,6 @@ struct light_arg
unsigned
int
idx
;
unsigned
int
idx
;
};
};
struct
light_context
{
struct
light_data
return_data_buffer
;
};
static
const
struct
light_data
light_poison_data
=
static
const
struct
light_data
light_poison_data
=
{
{
{
{
...
@@ -771,10 +758,7 @@ static void light_check_data(IDirect3DDevice9 *device, unsigned int chain_stage,
...
@@ -771,10 +758,7 @@ static void light_check_data(IDirect3DDevice9 *device, unsigned int chain_stage,
static
HRESULT
light_setup_handler
(
struct
state_test
*
test
)
static
HRESULT
light_setup_handler
(
struct
state_test
*
test
)
{
{
struct
light_context
*
ctx
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
ctx
));
test
->
test_context
=
NULL
;
if
(
ctx
==
NULL
)
return
E_FAIL
;
test
->
test_context
=
ctx
;
test
->
test_data_in
=
&
light_test_data_in
;
test
->
test_data_in
=
&
light_test_data_in
;
test
->
test_data_out
=
&
light_test_data_out
;
test
->
test_data_out
=
&
light_test_data_out
;
test
->
default_data
=
&
light_default_data
;
test
->
default_data
=
&
light_default_data
;
...
@@ -810,11 +794,6 @@ struct transform_data
...
@@ -810,11 +794,6 @@ struct transform_data
D3DMATRIX
world255
;
D3DMATRIX
world255
;
};
};
struct
transform_context
{
struct
transform_data
return_data_buffer
;
};
static
const
struct
transform_data
transform_default_data
=
static
const
struct
transform_data
transform_default_data
=
{
{
{{{
{{{
...
@@ -1027,10 +1006,7 @@ static void transform_check_data(IDirect3DDevice9 *device, unsigned int chain_st
...
@@ -1027,10 +1006,7 @@ static void transform_check_data(IDirect3DDevice9 *device, unsigned int chain_st
static
HRESULT
transform_setup_handler
(
struct
state_test
*
test
)
static
HRESULT
transform_setup_handler
(
struct
state_test
*
test
)
{
{
struct
transform_context
*
ctx
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
ctx
));
test
->
test_context
=
NULL
;
if
(
ctx
==
NULL
)
return
E_FAIL
;
test
->
test_context
=
ctx
;
test
->
test_data_in
=
&
transform_test_data
;
test
->
test_data_in
=
&
transform_test_data
;
test
->
test_data_out
=
&
transform_test_data
;
test
->
test_data_out
=
&
transform_test_data
;
test
->
default_data
=
&
transform_default_data
;
test
->
default_data
=
&
transform_default_data
;
...
@@ -1178,7 +1154,6 @@ struct render_state_arg
...
@@ -1178,7 +1154,6 @@ struct render_state_arg
struct
render_state_context
struct
render_state_context
{
{
struct
render_state_data
return_data_buffer
;
struct
render_state_data
default_data_buffer
;
struct
render_state_data
default_data_buffer
;
struct
render_state_data
test_data_buffer
;
struct
render_state_data
test_data_buffer
;
struct
render_state_data
poison_data_buffer
;
struct
render_state_data
poison_data_buffer
;
...
...
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