projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tgsi/ureg: make the dst register match the src indirection
[mesa.git]
/
src
/
gallium
/
auxiliary
/
draw
/
draw_cliptest_tmp.h
diff --git
a/src/gallium/auxiliary/draw/draw_cliptest_tmp.h
b/src/gallium/auxiliary/draw/draw_cliptest_tmp.h
index 8b2dcdabe013fd395388165c6bbfcf6395233160..48f234931cdcd24fd1f97df0bfae3bf63b4b02ba 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_cliptest_tmp.h
+++ b/
src/gallium/auxiliary/draw/draw_cliptest_tmp.h
@@
-149,10
+149,11
@@
static boolean TAG(do_cliptest)( struct pt_post_vs *pvs,
* to NaN to help catch potential errors later.
*/
else {
+ float zero = 0.0f;
position[0] =
position[1] =
position[2] =
- position[3] =
0.0f / 0.0f;
+ position[3] =
zero / zero; /* MSVC doesn't accept 0.0 / 0.0 */
}
#endif