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
d37f8ea8
Commit
d37f8ea8
authored
Aug 20, 2012
by
Matteo Bruni
Committed by
Alexandre Julliard
Aug 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use BOOL instead of char in shader_load_constants().
parent
7cc4f47a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+2
-2
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-1
shader.c
dlls/wined3d/shader.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/arb_program_shader.c
View file @
d37f8ea8
...
...
@@ -635,7 +635,7 @@ static void shader_arb_select(const struct wined3d_context *context, BOOL usePS,
*/
/* GL locking is done by the caller (state handler) */
static
void
shader_arb_load_constants_internal
(
const
struct
wined3d_context
*
context
,
char
usePixelShader
,
char
useVertexShader
,
BOOL
from_shader_select
)
BOOL
usePixelShader
,
BOOL
useVertexShader
,
BOOL
from_shader_select
)
{
struct
wined3d_device
*
device
=
context
->
swapchain
->
device
;
const
struct
wined3d_stateblock
*
stateblock
=
device
->
stateBlock
;
...
...
@@ -703,7 +703,7 @@ static void shader_arb_load_constants_internal(const struct wined3d_context *con
}
}
static
void
shader_arb_load_constants
(
const
struct
wined3d_context
*
context
,
char
ps
,
char
vs
)
static
void
shader_arb_load_constants
(
const
struct
wined3d_context
*
context
,
BOOL
ps
,
BOOL
vs
)
{
shader_arb_load_constants_internal
(
context
,
ps
,
vs
,
FALSE
);
}
...
...
dlls/wined3d/glsl_shader.c
View file @
d37f8ea8
...
...
@@ -712,7 +712,7 @@ static void shader_glsl_load_np2fixup_constants(void *shader_priv,
*/
/* GL locking is done by the caller (state handler) */
static
void
shader_glsl_load_constants
(
const
struct
wined3d_context
*
context
,
char
usePixelShader
,
char
useVertexShader
)
BOOL
usePixelShader
,
BOOL
useVertexShader
)
{
const
struct
wined3d_gl_info
*
gl_info
=
context
->
gl_info
;
struct
wined3d_device
*
device
=
context
->
swapchain
->
device
;
...
...
dlls/wined3d/shader.c
View file @
d37f8ea8
...
...
@@ -1487,7 +1487,7 @@ static void shader_none_select_depth_blt(void *shader_priv, const struct wined3d
static
void
shader_none_deselect_depth_blt
(
void
*
shader_priv
,
const
struct
wined3d_gl_info
*
gl_info
)
{}
static
void
shader_none_update_float_vertex_constants
(
struct
wined3d_device
*
device
,
UINT
start
,
UINT
count
)
{}
static
void
shader_none_update_float_pixel_constants
(
struct
wined3d_device
*
device
,
UINT
start
,
UINT
count
)
{}
static
void
shader_none_load_constants
(
const
struct
wined3d_context
*
context
,
char
usePS
,
char
useVS
)
{}
static
void
shader_none_load_constants
(
const
struct
wined3d_context
*
context
,
BOOL
usePS
,
BOOL
useVS
)
{}
static
void
shader_none_load_np2fixup_constants
(
void
*
shader_priv
,
const
struct
wined3d_gl_info
*
gl_info
,
const
struct
wined3d_state
*
state
)
{}
static
void
shader_none_destroy
(
struct
wined3d_shader
*
shader
)
{}
...
...
dlls/wined3d/wined3d_private.h
View file @
d37f8ea8
...
...
@@ -769,7 +769,7 @@ struct wined3d_shader_backend_ops
void
(
*
shader_deselect_depth_blt
)(
void
*
shader_priv
,
const
struct
wined3d_gl_info
*
gl_info
);
void
(
*
shader_update_float_vertex_constants
)(
struct
wined3d_device
*
device
,
UINT
start
,
UINT
count
);
void
(
*
shader_update_float_pixel_constants
)(
struct
wined3d_device
*
device
,
UINT
start
,
UINT
count
);
void
(
*
shader_load_constants
)(
const
struct
wined3d_context
*
context
,
char
usePS
,
char
useVS
);
void
(
*
shader_load_constants
)(
const
struct
wined3d_context
*
context
,
BOOL
usePS
,
BOOL
useVS
);
void
(
*
shader_load_np2fixup_constants
)(
void
*
shader_priv
,
const
struct
wined3d_gl_info
*
gl_info
,
const
struct
wined3d_state
*
state
);
void
(
*
shader_destroy
)(
struct
wined3d_shader
*
shader
);
...
...
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