aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrice Mandin2010-02-20 04:50:37 -0600
committerPatrice Mandin2010-02-20 04:50:37 -0600
commitbdcd12980b5560b32a006534a7451ed6e3502c33 (patch)
tree68853df274d6e9ee0bc83d77740a648dbdea8fcc /nouveau
parenta5c8f55397377994ceeb76ed0ff148ff89eb3a1b (diff)
downloadlibdrm-bdcd12980b5560b32a006534a7451ed6e3502c33.tar.gz
libdrm-bdcd12980b5560b32a006534a7451ed6e3502c33.tar.xz
libdrm-bdcd12980b5560b32a006534a7451ed6e3502c33.zip
nv30: update for front/back stencil inversion
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
Diffstat (limited to 'nouveau')
-rw-r--r--nouveau/nouveau_class.h96
1 files changed, 48 insertions, 48 deletions
diff --git a/nouveau/nouveau_class.h b/nouveau/nouveau_class.h
index 8e7d0ff8..9696b356 100644
--- a/nouveau/nouveau_class.h
+++ b/nouveau/nouveau_class.h
@@ -5217,49 +5217,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5217#define NV34TCL_COLOR_MASK_R_MASK 0x00ff0000 5217#define NV34TCL_COLOR_MASK_R_MASK 0x00ff0000
5218#define NV34TCL_COLOR_MASK_A_SHIFT 24 5218#define NV34TCL_COLOR_MASK_A_SHIFT 24
5219#define NV34TCL_COLOR_MASK_A_MASK 0xff000000 5219#define NV34TCL_COLOR_MASK_A_MASK 0xff000000
5220#define NV34TCL_STENCIL_BACK_ENABLE 0x00000328 5220#define NV34TCL_STENCIL_FRONT_ENABLE 0x00000328
5221#define NV34TCL_STENCIL_BACK_MASK 0x0000032c 5221#define NV34TCL_STENCIL_FRONT_MASK 0x0000032c
5222#define NV34TCL_STENCIL_BACK_FUNC_FUNC 0x00000330 5222#define NV34TCL_STENCIL_FRONT_FUNC_FUNC 0x00000330
5223#define NV34TCL_STENCIL_BACK_FUNC_FUNC_NEVER 0x00000200
5224#define NV34TCL_STENCIL_BACK_FUNC_FUNC_LESS 0x00000201
5225#define NV34TCL_STENCIL_BACK_FUNC_FUNC_EQUAL 0x00000202
5226#define NV34TCL_STENCIL_BACK_FUNC_FUNC_LEQUAL 0x00000203
5227#define NV34TCL_STENCIL_BACK_FUNC_FUNC_GREATER 0x00000204
5228#define NV34TCL_STENCIL_BACK_FUNC_FUNC_NOTEQUAL 0x00000205
5229#define NV34TCL_STENCIL_BACK_FUNC_FUNC_GEQUAL 0x00000206
5230#define NV34TCL_STENCIL_BACK_FUNC_FUNC_ALWAYS 0x00000207
5231#define NV34TCL_STENCIL_BACK_FUNC_REF 0x00000334
5232#define NV34TCL_STENCIL_BACK_FUNC_MASK 0x00000338
5233#define NV34TCL_STENCIL_BACK_OP_FAIL 0x0000033c
5234#define NV34TCL_STENCIL_BACK_OP_FAIL_ZERO 0x00000000
5235#define NV34TCL_STENCIL_BACK_OP_FAIL_INVERT 0x0000150a
5236#define NV34TCL_STENCIL_BACK_OP_FAIL_KEEP 0x00001e00
5237#define NV34TCL_STENCIL_BACK_OP_FAIL_REPLACE 0x00001e01
5238#define NV34TCL_STENCIL_BACK_OP_FAIL_INCR 0x00001e02
5239#define NV34TCL_STENCIL_BACK_OP_FAIL_DECR 0x00001e03
5240#define NV34TCL_STENCIL_BACK_OP_FAIL_INCR_WRAP 0x00008507
5241#define NV34TCL_STENCIL_BACK_OP_FAIL_DECR_WRAP 0x00008508
5242#define NV34TCL_STENCIL_BACK_OP_ZFAIL 0x00000340
5243#define NV34TCL_STENCIL_BACK_OP_ZFAIL_ZERO 0x00000000
5244#define NV34TCL_STENCIL_BACK_OP_ZFAIL_INVERT 0x0000150a
5245#define NV34TCL_STENCIL_BACK_OP_ZFAIL_KEEP 0x00001e00
5246#define NV34TCL_STENCIL_BACK_OP_ZFAIL_REPLACE 0x00001e01
5247#define NV34TCL_STENCIL_BACK_OP_ZFAIL_INCR 0x00001e02
5248#define NV34TCL_STENCIL_BACK_OP_ZFAIL_DECR 0x00001e03
5249#define NV34TCL_STENCIL_BACK_OP_ZFAIL_INCR_WRAP 0x00008507
5250#define NV34TCL_STENCIL_BACK_OP_ZFAIL_DECR_WRAP 0x00008508
5251#define NV34TCL_STENCIL_BACK_OP_ZPASS 0x00000344
5252#define NV34TCL_STENCIL_BACK_OP_ZPASS_ZERO 0x00000000
5253#define NV34TCL_STENCIL_BACK_OP_ZPASS_INVERT 0x0000150a
5254#define NV34TCL_STENCIL_BACK_OP_ZPASS_KEEP 0x00001e00
5255#define NV34TCL_STENCIL_BACK_OP_ZPASS_REPLACE 0x00001e01
5256#define NV34TCL_STENCIL_BACK_OP_ZPASS_INCR 0x00001e02
5257#define NV34TCL_STENCIL_BACK_OP_ZPASS_DECR 0x00001e03
5258#define NV34TCL_STENCIL_BACK_OP_ZPASS_INCR_WRAP 0x00008507
5259#define NV34TCL_STENCIL_BACK_OP_ZPASS_DECR_WRAP 0x00008508
5260#define NV34TCL_STENCIL_FRONT_ENABLE 0x00000348
5261#define NV34TCL_STENCIL_FRONT_MASK 0x0000034c
5262#define NV34TCL_STENCIL_FRONT_FUNC_FUNC 0x00000350
5263#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_NEVER 0x00000200 5223#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_NEVER 0x00000200
5264#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_LESS 0x00000201 5224#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_LESS 0x00000201
5265#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_EQUAL 0x00000202 5225#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_EQUAL 0x00000202
@@ -5268,9 +5228,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5268#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_NOTEQUAL 0x00000205 5228#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_NOTEQUAL 0x00000205
5269#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_GEQUAL 0x00000206 5229#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_GEQUAL 0x00000206
5270#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_ALWAYS 0x00000207 5230#define NV34TCL_STENCIL_FRONT_FUNC_FUNC_ALWAYS 0x00000207
5271#define NV34TCL_STENCIL_FRONT_FUNC_REF 0x00000354 5231#define NV34TCL_STENCIL_FRONT_FUNC_REF 0x00000334
5272#define NV34TCL_STENCIL_FRONT_FUNC_MASK 0x00000358 5232#define NV34TCL_STENCIL_FRONT_FUNC_MASK 0x00000338
5273#define NV34TCL_STENCIL_FRONT_OP_FAIL 0x0000035c 5233#define NV34TCL_STENCIL_FRONT_OP_FAIL 0x0000033c
5274#define NV34TCL_STENCIL_FRONT_OP_FAIL_ZERO 0x00000000 5234#define NV34TCL_STENCIL_FRONT_OP_FAIL_ZERO 0x00000000
5275#define NV34TCL_STENCIL_FRONT_OP_FAIL_INVERT 0x0000150a 5235#define NV34TCL_STENCIL_FRONT_OP_FAIL_INVERT 0x0000150a
5276#define NV34TCL_STENCIL_FRONT_OP_FAIL_KEEP 0x00001e00 5236#define NV34TCL_STENCIL_FRONT_OP_FAIL_KEEP 0x00001e00
@@ -5279,7 +5239,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5279#define NV34TCL_STENCIL_FRONT_OP_FAIL_DECR 0x00001e03 5239#define NV34TCL_STENCIL_FRONT_OP_FAIL_DECR 0x00001e03
5280#define NV34TCL_STENCIL_FRONT_OP_FAIL_INCR_WRAP 0x00008507 5240#define NV34TCL_STENCIL_FRONT_OP_FAIL_INCR_WRAP 0x00008507
5281#define NV34TCL_STENCIL_FRONT_OP_FAIL_DECR_WRAP 0x00008508 5241#define NV34TCL_STENCIL_FRONT_OP_FAIL_DECR_WRAP 0x00008508
5282#define NV34TCL_STENCIL_FRONT_OP_ZFAIL 0x00000360 5242#define NV34TCL_STENCIL_FRONT_OP_ZFAIL 0x00000340
5283#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_ZERO 0x00000000 5243#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_ZERO 0x00000000
5284#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_INVERT 0x0000150a 5244#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_INVERT 0x0000150a
5285#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_KEEP 0x00001e00 5245#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_KEEP 0x00001e00
@@ -5288,7 +5248,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5288#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_DECR 0x00001e03 5248#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_DECR 0x00001e03
5289#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_INCR_WRAP 0x00008507 5249#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_INCR_WRAP 0x00008507
5290#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_DECR_WRAP 0x00008508 5250#define NV34TCL_STENCIL_FRONT_OP_ZFAIL_DECR_WRAP 0x00008508
5291#define NV34TCL_STENCIL_FRONT_OP_ZPASS 0x00000364 5251#define NV34TCL_STENCIL_FRONT_OP_ZPASS 0x00000344
5292#define NV34TCL_STENCIL_FRONT_OP_ZPASS_ZERO 0x00000000 5252#define NV34TCL_STENCIL_FRONT_OP_ZPASS_ZERO 0x00000000
5293#define NV34TCL_STENCIL_FRONT_OP_ZPASS_INVERT 0x0000150a 5253#define NV34TCL_STENCIL_FRONT_OP_ZPASS_INVERT 0x0000150a
5294#define NV34TCL_STENCIL_FRONT_OP_ZPASS_KEEP 0x00001e00 5254#define NV34TCL_STENCIL_FRONT_OP_ZPASS_KEEP 0x00001e00
@@ -5297,6 +5257,46 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5297#define NV34TCL_STENCIL_FRONT_OP_ZPASS_DECR 0x00001e03 5257#define NV34TCL_STENCIL_FRONT_OP_ZPASS_DECR 0x00001e03
5298#define NV34TCL_STENCIL_FRONT_OP_ZPASS_INCR_WRAP 0x00008507 5258#define NV34TCL_STENCIL_FRONT_OP_ZPASS_INCR_WRAP 0x00008507
5299#define NV34TCL_STENCIL_FRONT_OP_ZPASS_DECR_WRAP 0x00008508 5259#define NV34TCL_STENCIL_FRONT_OP_ZPASS_DECR_WRAP 0x00008508
5260#define NV34TCL_STENCIL_BACK_ENABLE 0x00000348
5261#define NV34TCL_STENCIL_BACK_MASK 0x0000034c
5262#define NV34TCL_STENCIL_BACK_FUNC_FUNC 0x00000350
5263#define NV34TCL_STENCIL_BACK_FUNC_FUNC_NEVER 0x00000200
5264#define NV34TCL_STENCIL_BACK_FUNC_FUNC_LESS 0x00000201
5265#define NV34TCL_STENCIL_BACK_FUNC_FUNC_EQUAL 0x00000202
5266#define NV34TCL_STENCIL_BACK_FUNC_FUNC_LEQUAL 0x00000203
5267#define NV34TCL_STENCIL_BACK_FUNC_FUNC_GREATER 0x00000204
5268#define NV34TCL_STENCIL_BACK_FUNC_FUNC_NOTEQUAL 0x00000205
5269#define NV34TCL_STENCIL_BACK_FUNC_FUNC_GEQUAL 0x00000206
5270#define NV34TCL_STENCIL_BACK_FUNC_FUNC_ALWAYS 0x00000207
5271#define NV34TCL_STENCIL_BACK_FUNC_REF 0x00000354
5272#define NV34TCL_STENCIL_BACK_FUNC_MASK 0x00000358
5273#define NV34TCL_STENCIL_BACK_OP_FAIL 0x0000035c
5274#define NV34TCL_STENCIL_BACK_OP_FAIL_ZERO 0x00000000
5275#define NV34TCL_STENCIL_BACK_OP_FAIL_INVERT 0x0000150a
5276#define NV34TCL_STENCIL_BACK_OP_FAIL_KEEP 0x00001e00
5277#define NV34TCL_STENCIL_BACK_OP_FAIL_REPLACE 0x00001e01
5278#define NV34TCL_STENCIL_BACK_OP_FAIL_INCR 0x00001e02
5279#define NV34TCL_STENCIL_BACK_OP_FAIL_DECR 0x00001e03
5280#define NV34TCL_STENCIL_BACK_OP_FAIL_INCR_WRAP 0x00008507
5281#define NV34TCL_STENCIL_BACK_OP_FAIL_DECR_WRAP 0x00008508
5282#define NV34TCL_STENCIL_BACK_OP_ZFAIL 0x00000360
5283#define NV34TCL_STENCIL_BACK_OP_ZFAIL_ZERO 0x00000000
5284#define NV34TCL_STENCIL_BACK_OP_ZFAIL_INVERT 0x0000150a
5285#define NV34TCL_STENCIL_BACK_OP_ZFAIL_KEEP 0x00001e00
5286#define NV34TCL_STENCIL_BACK_OP_ZFAIL_REPLACE 0x00001e01
5287#define NV34TCL_STENCIL_BACK_OP_ZFAIL_INCR 0x00001e02
5288#define NV34TCL_STENCIL_BACK_OP_ZFAIL_DECR 0x00001e03
5289#define NV34TCL_STENCIL_BACK_OP_ZFAIL_INCR_WRAP 0x00008507
5290#define NV34TCL_STENCIL_BACK_OP_ZFAIL_DECR_WRAP 0x00008508
5291#define NV34TCL_STENCIL_BACK_OP_ZPASS 0x00000364
5292#define NV34TCL_STENCIL_BACK_OP_ZPASS_ZERO 0x00000000
5293#define NV34TCL_STENCIL_BACK_OP_ZPASS_INVERT 0x0000150a
5294#define NV34TCL_STENCIL_BACK_OP_ZPASS_KEEP 0x00001e00
5295#define NV34TCL_STENCIL_BACK_OP_ZPASS_REPLACE 0x00001e01
5296#define NV34TCL_STENCIL_BACK_OP_ZPASS_INCR 0x00001e02
5297#define NV34TCL_STENCIL_BACK_OP_ZPASS_DECR 0x00001e03
5298#define NV34TCL_STENCIL_BACK_OP_ZPASS_INCR_WRAP 0x00008507
5299#define NV34TCL_STENCIL_BACK_OP_ZPASS_DECR_WRAP 0x00008508
5300#define NV34TCL_SHADE_MODEL 0x00000368 5300#define NV34TCL_SHADE_MODEL 0x00000368
5301#define NV34TCL_SHADE_MODEL_FLAT 0x00001d00 5301#define NV34TCL_SHADE_MODEL_FLAT 0x00001d00
5302#define NV34TCL_SHADE_MODEL_SMOOTH 0x00001d01 5302#define NV34TCL_SHADE_MODEL_SMOOTH 0x00001d01