Displaying 2 results from an estimated 2 matches for "nv10tcl_depth_range_near".
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...0.0f);
+/* Bind the combiner variable <input> to a constant 1. */
+#define RC_IN_ONE(input) \
+ (NV10TCL_RC_IN_RGB_##input##_INPUT_ZERO | \
+ NV10TCL_RC_IN_RGB_##input##_COMPONENT_USAGE_ALPHA | \
+ NV10TCL_RC_IN_RGB_##input##_MAPPING_UNSIGNED_INVERT_NV)
- BEGIN_RING(chan, celsius, NV10TCL_DEPTH_RANGE_NEAR, 2);
- OUT_RING (chan, 0);
-#if SCREEN_BPP == 32
- OUT_RINGf (chan, 16777216.0);
-#else
- OUT_RINGf (chan, 65536.0);
-#endif
- BEGIN_RING(chan, celsius, NV10TCL_VIEWPORT_SCALE_X, 4);
- OUT_RINGf (chan, -2048.0);
- OUT_RINGf (chan, -2048.0);
- OUT_RINGf (chan, 0);
- OUT_RING (chan, 0);
-}
+/* Bind...
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
- This avoids problematic "reloc'ed while mapped" messages and
some associated corruption as well.
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
---
src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++
src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++
src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++