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
d67d7ebb
Commit
d67d7ebb
authored
Jul 11, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make the shader parameter to shader_generate_main() const.
parent
48881c07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
shader.c
dlls/wined3d/shader.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-2
No files found.
dlls/wined3d/shader.c
View file @
d67d7ebb
...
...
@@ -1164,7 +1164,7 @@ void shader_dump_src_param(const struct wined3d_shader_src_param *param,
/* Shared code in order to generate the bulk of the shader string.
* NOTE: A description of how to parse tokens can be found on MSDN. */
void
shader_generate_main
(
struct
wined3d_shader
*
shader
,
struct
wined3d_shader_buffer
*
buffer
,
void
shader_generate_main
(
const
struct
wined3d_shader
*
shader
,
struct
wined3d_shader_buffer
*
buffer
,
const
struct
wined3d_shader_reg_maps
*
reg_maps
,
const
DWORD
*
byte_code
,
void
*
backend_ctx
)
{
struct
wined3d_device
*
device
=
shader
->
device
;
...
...
dlls/wined3d/wined3d_private.h
View file @
d67d7ebb
...
...
@@ -2633,8 +2633,8 @@ void shader_dump_dst_param(const struct wined3d_shader_dst_param *param,
const
struct
wined3d_shader_version
*
shader_version
)
DECLSPEC_HIDDEN
;
unsigned
int
shader_find_free_input_register
(
const
struct
wined3d_shader_reg_maps
*
reg_maps
,
unsigned
int
max
)
DECLSPEC_HIDDEN
;
void
shader_generate_main
(
struct
wined3d_shader
*
shader
,
struct
wined3d_shader_buffer
*
buffer
,
const
struct
wined3d_shader_reg_maps
*
reg_maps
,
const
DWORD
*
pFunction
,
void
*
backend_ctx
)
DECLSPEC_HIDDEN
;
void
shader_generate_main
(
const
struct
wined3d_shader
*
shader
,
struct
wined3d_shader_buffer
*
buffer
,
const
struct
wined3d_shader_reg_maps
*
reg_maps
,
const
DWORD
*
byte_code
,
void
*
backend_ctx
)
DECLSPEC_HIDDEN
;
BOOL
shader_match_semantic
(
const
char
*
semantic_name
,
WINED3DDECLUSAGE
usage
)
DECLSPEC_HIDDEN
;
static
inline
BOOL
shader_is_pshader_version
(
enum
wined3d_shader_type
type
)
...
...
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