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
621f075f
Commit
621f075f
authored
Jun 09, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
Jun 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Print out sampler state names.
parent
d44d0b5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
device.c
dlls/wined3d/device.c
+5
-4
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
No files found.
dlls/wined3d/device.c
View file @
621f075f
...
...
@@ -4397,13 +4397,14 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetSamplerState(IWineD3DDevice *iface, DWORD S
* Ok GForce say it's ok to use glTexParameter/glGetTexParameter(...).
******************/
/** NOTE: States are appled in IWineD3DBaseTextre ApplyStateChanges and IWineD3DDevice SetupTextureStates**/
TRACE
(
"(%p) Sampler(%ld), Type(%d) Value(%ld)
\n
"
,
This
,
Sampler
,
Type
,
Value
);
if
(
Sampler
>
GL_LIMITS
(
samplers
)
||
Sampler
<
0
||
Type
>
WINED3D_HIGHEST_SAMPLER_STATE
||
Type
<
0
)
{
FIXME
(
"out of range %d %d sampler %ld type %u
\n
"
,
GL_LIMITS
(
samplers
),
WINED3D_HIGHEST_SAMPLER_STATE
,
Sampler
,
Type
);
FIXME
(
"sampler %ld type %s(%u) is out of range [max_samplers=%d, highest_state=%d]
\n
"
,
Sampler
,
debug_d3dsamplerstate
(
Type
),
Type
,
GL_LIMITS
(
samplers
),
WINED3D_HIGHEST_SAMPLER_STATE
);
return
WINED3DERR_INVALIDCALL
;
}
TRACE
(
"Setting sampler %ld %d to %ld
\n
"
,
Sampler
,
Type
,
Value
);
TRACE
(
"(%p) : Sampler=%ld, Type=%s(%d), Value=%ld
\n
"
,
This
,
Sampler
,
debug_d3dsamplerstate
(
Type
),
Type
,
Value
);
This
->
updateStateBlock
->
samplerState
[
Sampler
][
Type
]
=
Value
;
This
->
updateStateBlock
->
set
.
samplerState
[
Sampler
][
Type
]
=
Value
;
This
->
updateStateBlock
->
changed
.
samplerState
[
Sampler
][
Type
]
=
Value
;
...
...
dlls/wined3d/wined3d_private.h
View file @
621f075f
...
...
@@ -1160,6 +1160,7 @@ const char* debug_d3dresourcetype(WINED3DRESOURCETYPE res);
const
char
*
debug_d3dusage
(
DWORD
usage
);
const
char
*
debug_d3dprimitivetype
(
D3DPRIMITIVETYPE
PrimitiveType
);
const
char
*
debug_d3drenderstate
(
DWORD
state
);
const
char
*
debug_d3dsamplerstate
(
DWORD
state
);
const
char
*
debug_d3dtexturestate
(
DWORD
state
);
const
char
*
debug_d3dpool
(
WINED3DPOOL
pool
);
...
...
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