projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9de00e7
)
st/mesa: fix MSVC compile breakage
author
Brian Paul
<brianp@vmware.com>
Thu, 1 Aug 2019 15:07:19 +0000
(09:07 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 1 Aug 2019 15:07:21 +0000
(09:07 -0600)
Trivial.
src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c
b/src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c
index b89ee986d331ef3c81d0b4926472aaf94e2eda42..2b8ed079f8127705cdf309dbd6428bd1942bf28b 100644
(file)
--- a/
src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c
+++ b/
src/mesa/state_tracker/st_tgsi_lower_depth_clamp.c
@@
-351,7
+351,7
@@
st_tgsi_lower_depth_clamp(const struct tgsi_token *tokens,
int depth_range_const,
bool clip_negative_one_to_one)
{
- struct tgsi_depth_clamp_transform ctx = {};
+ struct tgsi_depth_clamp_transform ctx = {
0
};
struct tgsi_token *newtoks;
int newlen;
@@
-405,4
+405,4
@@
st_tgsi_lower_depth_clamp_fs(const struct tgsi_token *tokens,
int depth_range_const)
{
return st_tgsi_lower_depth_clamp(tokens, depth_range_const, false);
-}
\ No newline at end of file
+}