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
f92a0667
Commit
f92a0667
authored
Dec 01, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove a unused parameter to shader_dirtifyable_constants().
parent
9d9ce298
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
+7
-5
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+2
-1
context.c
dlls/wined3d/context.c
+1
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+2
-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 @
f92a0667
...
...
@@ -4797,7 +4797,8 @@ static void shader_arb_free(IWineD3DDeviceImpl *device)
HeapFree
(
GetProcessHeap
(),
0
,
device
->
shader_priv
);
}
static
BOOL
shader_arb_dirty_const
(
IWineD3DDevice
*
iface
)
{
static
BOOL
shader_arb_dirty_const
(
void
)
{
return
TRUE
;
}
...
...
dlls/wined3d/context.c
View file @
f92a0667
...
...
@@ -1410,7 +1410,7 @@ struct wined3d_context *context_create(IWineD3DSwapChainImpl *swapchain,
ret
->
hdc
=
hdc
;
ret
->
pixel_format
=
pixel_format
;
if
(
device
->
shader_backend
->
shader_dirtifyable_constants
(
(
IWineD3DDevice
*
)
device
))
if
(
device
->
shader_backend
->
shader_dirtifyable_constants
())
{
/* Create the dirty constants array and initialize them to dirty */
ret
->
vshader_const_dirty
=
HeapAlloc
(
GetProcessHeap
(),
0
,
...
...
dlls/wined3d/glsl_shader.c
View file @
f92a0667
...
...
@@ -4901,7 +4901,8 @@ static void shader_glsl_free(IWineD3DDeviceImpl *device)
device
->
shader_priv
=
NULL
;
}
static
BOOL
shader_glsl_dirty_const
(
IWineD3DDevice
*
iface
)
{
static
BOOL
shader_glsl_dirty_const
(
void
)
{
/* TODO: GL_EXT_bindable_uniform can be used to share constants across shaders */
return
FALSE
;
}
...
...
dlls/wined3d/shader.c
View file @
f92a0667
...
...
@@ -1521,7 +1521,7 @@ static void shader_none_load_np2fixup_constants(void *shader_priv,
static
void
shader_none_destroy
(
IWineD3DBaseShader
*
iface
)
{}
static
HRESULT
shader_none_alloc
(
IWineD3DDeviceImpl
*
device
)
{
return
WINED3D_OK
;}
static
void
shader_none_free
(
IWineD3DDeviceImpl
*
device
)
{}
static
BOOL
shader_none_dirty_const
(
IWineD3DDevice
*
iface
)
{
return
FALSE
;}
static
BOOL
shader_none_dirty_const
(
void
)
{
return
FALSE
;}
static
void
shader_none_get_caps
(
const
struct
wined3d_gl_info
*
gl_info
,
struct
shader_caps
*
caps
)
{
...
...
dlls/wined3d/wined3d_private.h
View file @
f92a0667
...
...
@@ -761,7 +761,7 @@ typedef struct {
void
(
*
shader_destroy
)(
IWineD3DBaseShader
*
iface
);
HRESULT
(
*
shader_alloc_private
)(
IWineD3DDeviceImpl
*
device
);
void
(
*
shader_free_private
)(
IWineD3DDeviceImpl
*
device
);
BOOL
(
*
shader_dirtifyable_constants
)(
IWineD3DDevice
*
iface
);
BOOL
(
*
shader_dirtifyable_constants
)(
void
);
void
(
*
shader_get_caps
)(
const
struct
wined3d_gl_info
*
gl_info
,
struct
shader_caps
*
caps
);
BOOL
(
*
shader_color_fixup_supported
)(
struct
color_fixup_desc
fixup
);
void
(
*
shader_add_instruction_modifiers
)(
const
struct
wined3d_shader_instruction
*
ins
);
...
...
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