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
c11c2e2d
Commit
c11c2e2d
authored
Jun 22, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the d3d_caps debug channel.
parent
b6c7b825
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
12 deletions
+8
-12
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+6
-7
directx.c
dlls/wined3d/directx.c
+0
-0
glsl_shader.c
dlls/wined3d/glsl_shader.c
+2
-5
No files found.
dlls/wined3d/arb_program_shader.c
View file @
c11c2e2d
...
@@ -37,7 +37,6 @@
...
@@ -37,7 +37,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_shader
);
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_shader
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d_constants
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d_constants
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d_caps
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d
);
/* Extract a line. Note that this modifies the source string. */
/* Extract a line. Note that this modifies the source string. */
...
@@ -4951,18 +4950,18 @@ static void shader_arb_get_caps(const struct wined3d_gl_info *gl_info, struct sh
...
@@ -4951,18 +4950,18 @@ static void shader_arb_get_caps(const struct wined3d_gl_info *gl_info, struct sh
if
(
gl_info
->
supported
[
NV_VERTEX_PROGRAM3
])
if
(
gl_info
->
supported
[
NV_VERTEX_PROGRAM3
])
{
{
caps
->
VertexShaderVersion
=
3
;
caps
->
VertexShaderVersion
=
3
;
TRACE
_
(
d3d_caps
)
(
"Hardware vertex shader version 3.0 enabled (NV_VERTEX_PROGRAM3)
\n
"
);
TRACE
(
"Hardware vertex shader version 3.0 enabled (NV_VERTEX_PROGRAM3)
\n
"
);
}
}
else
if
(
vs_consts
>=
256
)
else
if
(
vs_consts
>=
256
)
{
{
/* Shader Model 2.0 requires at least 256 vertex shader constants */
/* Shader Model 2.0 requires at least 256 vertex shader constants */
caps
->
VertexShaderVersion
=
2
;
caps
->
VertexShaderVersion
=
2
;
TRACE
_
(
d3d_caps
)
(
"Hardware vertex shader version 2.0 enabled (ARB_PROGRAM)
\n
"
);
TRACE
(
"Hardware vertex shader version 2.0 enabled (ARB_PROGRAM)
\n
"
);
}
}
else
else
{
{
caps
->
VertexShaderVersion
=
1
;
caps
->
VertexShaderVersion
=
1
;
TRACE
_
(
d3d_caps
)
(
"Hardware vertex shader version 1.1 enabled (ARB_PROGRAM)
\n
"
);
TRACE
(
"Hardware vertex shader version 1.1 enabled (ARB_PROGRAM)
\n
"
);
}
}
caps
->
MaxVertexShaderConst
=
vs_consts
;
caps
->
MaxVertexShaderConst
=
vs_consts
;
}
}
...
@@ -4986,18 +4985,18 @@ static void shader_arb_get_caps(const struct wined3d_gl_info *gl_info, struct sh
...
@@ -4986,18 +4985,18 @@ static void shader_arb_get_caps(const struct wined3d_gl_info *gl_info, struct sh
if
(
gl_info
->
supported
[
NV_FRAGMENT_PROGRAM2
])
if
(
gl_info
->
supported
[
NV_FRAGMENT_PROGRAM2
])
{
{
caps
->
PixelShaderVersion
=
3
;
caps
->
PixelShaderVersion
=
3
;
TRACE
_
(
d3d_caps
)
(
"Hardware pixel shader version 3.0 enabled (NV_FRAGMENT_PROGRAM2)
\n
"
);
TRACE
(
"Hardware pixel shader version 3.0 enabled (NV_FRAGMENT_PROGRAM2)
\n
"
);
}
}
else
if
(
ps_consts
>=
32
)
else
if
(
ps_consts
>=
32
)
{
{
/* Shader Model 2.0 requires at least 32 pixel shader constants */
/* Shader Model 2.0 requires at least 32 pixel shader constants */
caps
->
PixelShaderVersion
=
2
;
caps
->
PixelShaderVersion
=
2
;
TRACE
_
(
d3d_caps
)
(
"Hardware pixel shader version 2.0 enabled (ARB_PROGRAM)
\n
"
);
TRACE
(
"Hardware pixel shader version 2.0 enabled (ARB_PROGRAM)
\n
"
);
}
}
else
else
{
{
caps
->
PixelShaderVersion
=
1
;
caps
->
PixelShaderVersion
=
1
;
TRACE
_
(
d3d_caps
)
(
"Hardware pixel shader version 1.4 enabled (ARB_PROGRAM)
\n
"
);
TRACE
(
"Hardware pixel shader version 1.4 enabled (ARB_PROGRAM)
\n
"
);
}
}
caps
->
PixelShader1xMaxValue
=
8
.
0
f
;
caps
->
PixelShader1xMaxValue
=
8
.
0
f
;
caps
->
MaxPixelShaderConst
=
ps_consts
;
caps
->
MaxPixelShaderConst
=
ps_consts
;
...
...
dlls/wined3d/directx.c
View file @
c11c2e2d
This diff is collapsed.
Click to expand it.
dlls/wined3d/glsl_shader.c
View file @
c11c2e2d
...
@@ -39,7 +39,6 @@
...
@@ -39,7 +39,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_shader
);
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_shader
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d_constants
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d_constants
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d_caps
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d
);
WINE_DECLARE_DEBUG_CHANNEL
(
winediag
);
WINE_DECLARE_DEBUG_CHANNEL
(
winediag
);
...
@@ -4991,10 +4990,8 @@ static void shader_glsl_get_caps(const struct wined3d_gl_info *gl_info, struct s
...
@@ -4991,10 +4990,8 @@ static void shader_glsl_get_caps(const struct wined3d_gl_info *gl_info, struct s
caps
->
VSClipping
=
TRUE
;
caps
->
VSClipping
=
TRUE
;
TRACE_
(
d3d_caps
)(
"Hardware vertex shader version %u enabled (GLSL).
\n
"
,
TRACE
(
"Hardware vertex shader version %u enabled (GLSL).
\n
"
,
caps
->
VertexShaderVersion
);
caps
->
VertexShaderVersion
);
TRACE
(
"Hardware pixel shader version %u enabled (GLSL).
\n
"
,
caps
->
PixelShaderVersion
);
TRACE_
(
d3d_caps
)(
"Hardware pixel shader version %u enabled (GLSL).
\n
"
,
caps
->
PixelShaderVersion
);
}
}
static
BOOL
shader_glsl_color_fixup_supported
(
struct
color_fixup_desc
fixup
)
static
BOOL
shader_glsl_color_fixup_supported
(
struct
color_fixup_desc
fixup
)
...
...
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