projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
750ee41
)
st/mesa: remove 'struct' keyword on function parameter
author
Brian Paul
<brianp@vmware.com>
Thu, 9 Nov 2017 17:48:42 +0000
(10:48 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 9 Nov 2017 21:13:59 +0000
(14:13 -0700)
st_src_reg is a class, not a struct. Simply remove 'struct' to silence
a MSVC compiler warning (class vs. struct mismatch).
Reviewed-by; Charmaine Lee <charmainel@vmware.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index fd9df61f4f79fd1aafef7f7a198c33020b3665aa..ef6ad39f03db14b485cc373ffb41e72a09d9c69e 100644
(file)
--- a/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@
-4588,8
+4588,7
@@
glsl_to_tgsi_visitor::simplify_cmp(void)
}
static void
-rename_temp_handle_src(struct rename_reg_pair *renames,
- struct st_src_reg *src)
+rename_temp_handle_src(struct rename_reg_pair *renames, st_src_reg *src)
{
if (src && src->file == PROGRAM_TEMPORARY) {
int old_idx = src->index;