Difference between revisions of "NV2A/Pixel Combiner"

From xboxdevwiki
Jump to: navigation, search
(Table for texturemodes)
(Attempted to add D3D names)
Line 13: Line 13:
 
|-
 
|-
 
|0x00
 
|0x00
|PS_TEXTUREMODES_NONE
+
|PS_TEXTUREMODES_NONE<br>texcoord?{{citation needed}}
 
|*
 
|*
 
|*
 
|*
Line 21: Line 21:
 
|-
 
|-
 
|0x01
 
|0x01
|PS_TEXTUREMODES_PROJECT2D
+
|PS_TEXTUREMODES_PROJECT2D<br>tex
 
|*
 
|*
 
|*
 
|*
Line 45: Line 45:
 
|-
 
|-
 
|0x04
 
|0x04
|PS_TEXTUREMODES_PASSTHRU
+
|PS_TEXTUREMODES_PASSTHRU<br>texcoord?{{citation needed}}
 
|*
 
|*
 
|*
 
|*
Line 53: Line 53:
 
|-
 
|-
 
|0x05
 
|0x05
|PS_TEXTUREMODES_CLIPPLANE
+
|PS_TEXTUREMODES_CLIPPLANE<br>texkill
 
|*
 
|*
 
|*
 
|*
Line 61: Line 61:
 
|-
 
|-
 
|0x06
 
|0x06
|PS_TEXTUREMODES_BUMPENVMAP
+
|PS_TEXTUREMODES_BUMPENVMAP<br>texbem
 
|
 
|
 
|*
 
|*
Line 69: Line 69:
 
|-
 
|-
 
|0x07
 
|0x07
|PS_TEXTUREMODES_BUMPENVMAP_LUM
+
|PS_TEXTUREMODES_BUMPENVMAP_LUM<br>texbeml
 
|
 
|
 
|*
 
|*
Line 77: Line 77:
 
|-
 
|-
 
|0x08
 
|0x08
|PS_TEXTUREMODES_BRDF
+
|PS_TEXTUREMODES_BRDF<br>texm3x2tex
 
|
 
|
 
|
 
|
Line 85: Line 85:
 
|-
 
|-
 
|0x09
 
|0x09
|PS_TEXTUREMODES_DOT_ST
+
|PS_TEXTUREMODES_DOT_ST<br>texm3x2pad?{{citation needed}}
 
|
 
|
 
|
 
|
Line 93: Line 93:
 
|-
 
|-
 
|0x0A
 
|0x0A
|PS_TEXTUREMODES_DOT_ZW
+
|PS_TEXTUREMODES_DOT_ZW<br>texm3x2tex?{{citation needed}}
 
|
 
|
 
|
 
|
Line 133: Line 133:
 
|-
 
|-
 
|0x0F
 
|0x0F
|PS_TEXTUREMODES_DPNDNT_AR
+
|PS_TEXTUREMODES_DPNDNT_AR<br>texreg2ar
 
|
 
|
 
|*
 
|*
Line 141: Line 141:
 
|-
 
|-
 
|0x10
 
|0x10
|PS_TEXTUREMODES_DPNDNT_GB
+
|PS_TEXTUREMODES_DPNDNT_GB<br>texreg2gb
 
|
 
|
 
|*
 
|*
Line 164: Line 164:
 
|
 
|
 
|}
 
|}
 +
 +
Also known from nvidia docs:
 +
* texm3x3pad [stage 1, stage 2]
 +
* texm3x3spec [stage 3]
 +
* texm3x3vspec [stage 3]
 +
* texm3x3tex [stage 3]
  
 
== Debugging ==
 
== Debugging ==

Revision as of 23:59, 21 May 2017

The NV2A implements NV_register_combiners (and NV_register_combiners2?)

Texturing modes

ID Name Stage 1 Stage 2 Stage 3 Stage 4 Notes
0x00 PS_TEXTUREMODES_NONE
texcoord?[citation needed]
* * * *
0x01 PS_TEXTUREMODES_PROJECT2D
tex
* * * *
0x02 PS_TEXTUREMODES_PROJECT3D * * * *
0x03 PS_TEXTUREMODES_CUBEMAP * * * *
0x04 PS_TEXTUREMODES_PASSTHRU
texcoord?[citation needed]
* * * *
0x05 PS_TEXTUREMODES_CLIPPLANE
texkill
* * * *
0x06 PS_TEXTUREMODES_BUMPENVMAP
texbem
* * *
0x07 PS_TEXTUREMODES_BUMPENVMAP_LUM
texbeml
* * *
0x08 PS_TEXTUREMODES_BRDF
texm3x2tex
* *
0x09 PS_TEXTUREMODES_DOT_ST
texm3x2pad?[citation needed]
* *
0x0A PS_TEXTUREMODES_DOT_ZW
texm3x2tex?[citation needed]
* *
0x0B PS_TEXTUREMODES_DOT_RFLCT_DIFF *
0x0C PS_TEXTUREMODES_DOT_RFLCT_SPEC *
0x0D PS_TEXTUREMODES_DOT_STR_3D *
0x0E PS_TEXTUREMODES_DOT_STR_CUBE *
0x0F PS_TEXTUREMODES_DPNDNT_AR
texreg2ar
* * *
0x10 PS_TEXTUREMODES_DPNDNT_GB
texreg2gb
* * *
0x11 PS_TEXTUREMODES_DOTPRODUCT * *
0x12 PS_TEXTUREMODES_DOT_RFLCT_SPEC_CONST *

Also known from nvidia docs:

  • texm3x3pad [stage 1, stage 2]
  • texm3x3spec [stage 3]
  • texm3x3vspec [stage 3]
  • texm3x3tex [stage 3]

Debugging

PIX from the Microsoft XDK provides great debugging capabilities.

References and links