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
9cbd80bd
Commit
9cbd80bd
authored
Sep 26, 2012
by
Matteo Bruni
Committed by
Alexandre Julliard
Sep 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Store the pointer to the struct field in the dereference node.
parent
f2d2755e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
d3dcompiler_private.h
dlls/d3dcompiler_43/d3dcompiler_private.h
+1
-1
utils.c
dlls/d3dcompiler_43/utils.c
+1
-2
No files found.
dlls/d3dcompiler_43/d3dcompiler_private.h
View file @
9cbd80bd
...
...
@@ -903,7 +903,7 @@ struct hlsl_ir_deref
struct
{
struct
hlsl_ir_node
*
record
;
const
char
*
field
;
struct
hlsl_struct_field
*
field
;
}
record
;
}
v
;
};
...
...
dlls/d3dcompiler_43/utils.c
View file @
9cbd80bd
...
...
@@ -1912,7 +1912,7 @@ static void debug_dump_ir_deref(const struct hlsl_ir_deref *deref)
break
;
case
HLSL_IR_DEREF_RECORD
:
debug_dump_instr
(
deref
->
v
.
record
.
record
);
TRACE
(
".%s"
,
debugstr_a
(
deref
->
v
.
record
.
field
));
TRACE
(
".%s"
,
debugstr_a
(
deref
->
v
.
record
.
field
->
name
));
break
;
}
}
...
...
@@ -2261,7 +2261,6 @@ static void free_ir_deref(struct hlsl_ir_deref *deref)
break
;
case
HLSL_IR_DEREF_RECORD
:
free_instr
(
deref
->
v
.
record
.
record
);
d3dcompiler_free
((
void
*
)
deref
->
v
.
record
.
field
);
break
;
}
d3dcompiler_free
(
deref
);
...
...
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