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
48d755f6
Commit
48d755f6
authored
Feb 04, 2016
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make the "icb" field in struct wined3d_shader_instruction const.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fabd4001
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
shader_sm4.c
dlls/wined3d/shader_sm4.c
+2
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/shader_sm4.c
View file @
48d755f6
...
...
@@ -917,9 +917,9 @@ static void shader_sm4_read_instruction(void *data, const DWORD **ptr, struct wi
return
;
}
priv
->
icb
.
element_count
=
len
;
memcpy
(
priv
->
icb
.
data
,
p
,
sizeof
(
*
p
)
*
icb_size
);
ins
->
declaration
.
icb
=
&
priv
->
icb
;
ins
->
declaration
.
icb
->
element_count
=
len
;
memcpy
(
ins
->
declaration
.
icb
->
data
,
p
,
sizeof
(
*
p
)
*
icb_size
);
}
else
if
(
opcode
==
WINED3D_SM4_OP_DCL_RESOURCE
)
{
...
...
dlls/wined3d/wined3d_private.h
View file @
48d755f6
...
...
@@ -819,7 +819,7 @@ struct wined3d_shader_instruction
struct
wined3d_shader_dst_param
dst
;
struct
wined3d_shader_src_param
src
;
UINT
count
;
struct
wined3d_shader_immediate_constant_buffer
*
icb
;
const
struct
wined3d_shader_immediate_constant_buffer
*
icb
;
}
declaration
;
};
...
...
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