Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c816f314
Commit
c816f314
authored
May 14, 2003
by
Raphael Junqueira
Committed by
Alexandre Julliard
May 14, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- new debug channel for shaders code 'd3d_shader'
- more debugging traces
parent
33859903
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
shader.c
dlls/d3d8/shader.c
+15
-2
No files found.
dlls/d3d8/shader.c
View file @
c816f314
...
...
@@ -30,7 +30,7 @@
#include "d3d8_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d
);
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d
_shader
);
/* Shader debugging - Change the following line to enable debugging of software
vertex shaders */
...
...
@@ -42,6 +42,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d);
# define TRACE_VECTOR(name)
#endif
/**
* DirectX9 SDK download
* http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp
...
...
@@ -582,12 +583,16 @@ HRESULT WINAPI IDirect3DVertexShaderImpl_ExecuteSW(IDirect3DVertexShaderImpl* vs
/* vshader_program_parse(vshader); */
#if 0
TRACE("Input:\n");
TRACE_VECTOR(vshader->data->C[0]);
TRACE_VECTOR(vshader->data->C[1]);
TRACE_VECTOR(vshader->data->C[2]);
TRACE_VECTOR(vshader->data->C[3]);
TRACE_VECTOR(vshader->data->C[4]);
TRACE_VECTOR(vshader->data->C[5]);
TRACE_VECTOR(vshader->data->C[6]);
TRACE_VECTOR(vshader->data->C[7]);
TRACE_VECTOR(vshader->data->C[8]);
TRACE_VECTOR(input->V[D3DVSDE_POSITION]);
TRACE_VECTOR(input->V[D3DVSDE_BLENDWEIGHT]);
TRACE_VECTOR(input->V[D3DVSDE_BLENDINDICES]);
...
...
@@ -762,8 +767,8 @@ HRESULT WINAPI IDirect3DVertexShaderImpl_ExecuteSW(IDirect3DVertexShaderImpl* vs
/* to next opcode token */
pToken
+=
curOpcode
->
num_params
;
}
#if 0
TRACE("End of current instruction:\n");
TRACE_VECTOR(output->oPos);
TRACE_VECTOR(output->oD[0]);
TRACE_VECTOR(output->oD[1]);
...
...
@@ -777,6 +782,14 @@ HRESULT WINAPI IDirect3DVertexShaderImpl_ExecuteSW(IDirect3DVertexShaderImpl* vs
TRACE_VECTOR(R[5]);
#endif
}
#if 0
TRACE("Output:\n");
TRACE_VECTOR(output->oPos);
TRACE_VECTOR(output->oD[0]);
TRACE_VECTOR(output->oD[1]);
TRACE_VECTOR(output->oT[0]);
TRACE_VECTOR(output->oT[1]);
#endif
return
D3D_OK
;
}
...
...
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