Difference between revisions of "NV2A/Pixel Combiner"
From xboxdevwiki
(→Texturing modes) |
|||
Line 16: | Line 16: | ||
|PS_TEXTUREMODES_NONE<br>texcoord?{{citation needed}} | |PS_TEXTUREMODES_NONE<br>texcoord?{{citation needed}} | ||
|NONE | |NONE | ||
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 25: | Line 25: | ||
|PS_TEXTUREMODES_PROJECT2D<br>tex | |PS_TEXTUREMODES_PROJECT2D<br>tex | ||
|TEXTURE_2D | |TEXTURE_2D | ||
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 34: | Line 34: | ||
|PS_TEXTUREMODES_PROJECT3D | |PS_TEXTUREMODES_PROJECT3D | ||
|TEXTURE_3D | |TEXTURE_3D | ||
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 43: | Line 43: | ||
|PS_TEXTUREMODES_CUBEMAP | |PS_TEXTUREMODES_CUBEMAP | ||
|TEXTURE_CUBE_MAP_ARB | |TEXTURE_CUBE_MAP_ARB | ||
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 52: | Line 52: | ||
|PS_TEXTUREMODES_PASSTHRU<br>texcoord?{{citation needed}} | |PS_TEXTUREMODES_PASSTHRU<br>texcoord?{{citation needed}} | ||
|PASS_THROUGH_NV | |PASS_THROUGH_NV | ||
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 61: | Line 61: | ||
|PS_TEXTUREMODES_CLIPPLANE<br>texkill | |PS_TEXTUREMODES_CLIPPLANE<br>texkill | ||
|CULL_FRAGMENT_NV | |CULL_FRAGMENT_NV | ||
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 70: | Line 70: | ||
|PS_TEXTUREMODES_BUMPENVMAP<br>texbem | |PS_TEXTUREMODES_BUMPENVMAP<br>texbem | ||
|OFFSET_TEXTURE_2D_NV | |OFFSET_TEXTURE_2D_NV | ||
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 79: | Line 79: | ||
|PS_TEXTUREMODES_BUMPENVMAP_LUM<br>texbeml | |PS_TEXTUREMODES_BUMPENVMAP_LUM<br>texbeml | ||
|OFFSET_TEXTURE_2D_SCALE_NV | |OFFSET_TEXTURE_2D_SCALE_NV | ||
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 88: | Line 88: | ||
|PS_TEXTUREMODES_BRDF<br>texm3x2tex | |PS_TEXTUREMODES_BRDF<br>texm3x2tex | ||
| | | | ||
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 97: | Line 97: | ||
|PS_TEXTUREMODES_DOT_ST<br>texm3x2pad?{{citation needed}} | |PS_TEXTUREMODES_DOT_ST<br>texm3x2pad?{{citation needed}} | ||
|DOT_PRODUCT_NV{{citation needed}} | |DOT_PRODUCT_NV{{citation needed}} | ||
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 106: | Line 106: | ||
|PS_TEXTUREMODES_DOT_ZW<br>texm3x2tex?{{citation needed}} | |PS_TEXTUREMODES_DOT_ZW<br>texm3x2tex?{{citation needed}} | ||
|DOT_PRODUCT_NV{{citation needed}} | |DOT_PRODUCT_NV{{citation needed}} | ||
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 115: | Line 115: | ||
|PS_TEXTUREMODES_DOT_RFLCT_DIFF | |PS_TEXTUREMODES_DOT_RFLCT_DIFF | ||
|DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV{{citation needed}} | |DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV{{citation needed}} | ||
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
− | | | + | |{{no}} |
| | | | ||
|- | |- | ||
Line 124: | Line 124: | ||
|PS_TEXTUREMODES_DOT_RFLCT_SPEC | |PS_TEXTUREMODES_DOT_RFLCT_SPEC | ||
|DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV{{citation needed}} | |DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV{{citation needed}} | ||
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 133: | Line 133: | ||
|PS_TEXTUREMODES_DOT_STR_3D | |PS_TEXTUREMODES_DOT_STR_3D | ||
|DOT_PRODUCT_TEXTURE_3D_NV | |DOT_PRODUCT_TEXTURE_3D_NV | ||
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 142: | Line 142: | ||
|PS_TEXTUREMODES_DOT_STR_CUBE | |PS_TEXTUREMODES_DOT_STR_CUBE | ||
|DOT_PRODUCT_REFLECT_CUBE_MAP_NV | |DOT_PRODUCT_REFLECT_CUBE_MAP_NV | ||
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 151: | Line 151: | ||
|PS_TEXTUREMODES_DPNDNT_AR<br>texreg2ar | |PS_TEXTUREMODES_DPNDNT_AR<br>texreg2ar | ||
|DEPENDENT_AR_TEXTURE_2D_NV | |DEPENDENT_AR_TEXTURE_2D_NV | ||
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 160: | Line 160: | ||
|PS_TEXTUREMODES_DPNDNT_GB<br>texreg2gb | |PS_TEXTUREMODES_DPNDNT_GB<br>texreg2gb | ||
|DEPENDENT_GB_TEXTURE_2D_NV | |DEPENDENT_GB_TEXTURE_2D_NV | ||
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
| | | | ||
|- | |- | ||
Line 169: | Line 169: | ||
|PS_TEXTUREMODES_DOTPRODUCT | |PS_TEXTUREMODES_DOTPRODUCT | ||
|DOT_PRODUCT_NV | |DOT_PRODUCT_NV | ||
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
− | | | + | |{{yes}} |
− | | | + | |{{no}} |
| | | | ||
|- | |- | ||
Line 178: | Line 178: | ||
|PS_TEXTUREMODES_DOT_RFLCT_SPEC_CONST | |PS_TEXTUREMODES_DOT_RFLCT_SPEC_CONST | ||
|DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV | |DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV | ||
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{no}} |
− | | | + | |{{yes}} |
− | | | + | |{{no}} |
|} | |} | ||
− | Also known from nvidia docs: | + | Also known from nvidia docs: |
* texm3x3pad [stage 1, stage 2] | * texm3x3pad [stage 1, stage 2] | ||
* texm3x3spec [stage 3] | * texm3x3spec [stage 3] |
Revision as of 16:46, 25 May 2017
The NV2A implements NV_register_combiners (and NV_register_combiners2?)
Texturing modes
ID | Name | GL Name | Stage 1 | Stage 2 | Stage 3 | Stage 4 | Notes |
---|---|---|---|---|---|---|---|
0x00 | PS_TEXTUREMODES_NONE texcoord?[citation needed] |
NONE | ✔ | ✔ | ✔ | ✔ | |
0x01 | PS_TEXTUREMODES_PROJECT2D tex |
TEXTURE_2D | ✔ | ✔ | ✔ | ✔ | |
0x02 | PS_TEXTUREMODES_PROJECT3D | TEXTURE_3D | ✔ | ✔ | ✔ | ✔ | |
0x03 | PS_TEXTUREMODES_CUBEMAP | TEXTURE_CUBE_MAP_ARB | ✔ | ✔ | ✔ | ✔ | |
0x04 | PS_TEXTUREMODES_PASSTHRU texcoord?[citation needed] |
PASS_THROUGH_NV | ✔ | ✔ | ✔ | ✔ | |
0x05 | PS_TEXTUREMODES_CLIPPLANE texkill |
CULL_FRAGMENT_NV | ✔ | ✔ | ✔ | ✔ | |
0x06 | PS_TEXTUREMODES_BUMPENVMAP texbem |
OFFSET_TEXTURE_2D_NV | ✗ | ✔ | ✔ | ✔ | |
0x07 | PS_TEXTUREMODES_BUMPENVMAP_LUM texbeml |
OFFSET_TEXTURE_2D_SCALE_NV | ✗ | ✔ | ✔ | ✔ | |
0x08 | PS_TEXTUREMODES_BRDF texm3x2tex |
✗ | ✗ | ✔ | ✔ | ||
0x09 | PS_TEXTUREMODES_DOT_ST texm3x2pad?[citation needed] |
DOT_PRODUCT_NV[citation needed] | ✗ | ✗ | ✔ | ✔ | |
0x0A | PS_TEXTUREMODES_DOT_ZW texm3x2tex?[citation needed] |
DOT_PRODUCT_NV[citation needed] | ✗ | ✗ | ✔ | ✔ | |
0x0B | PS_TEXTUREMODES_DOT_RFLCT_DIFF | DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV[citation needed] | ✗ | ✗ | ✔ | ✗ | |
0x0C | PS_TEXTUREMODES_DOT_RFLCT_SPEC | DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV[citation needed] | ✗ | ✗ | ✗ | ✔ | |
0x0D | PS_TEXTUREMODES_DOT_STR_3D | DOT_PRODUCT_TEXTURE_3D_NV | ✗ | ✗ | ✗ | ✔ | |
0x0E | PS_TEXTUREMODES_DOT_STR_CUBE | DOT_PRODUCT_REFLECT_CUBE_MAP_NV | ✗ | ✗ | ✗ | ✔ | |
0x0F | PS_TEXTUREMODES_DPNDNT_AR texreg2ar |
DEPENDENT_AR_TEXTURE_2D_NV | ✗ | ✔ | ✔ | ✔ | |
0x10 | PS_TEXTUREMODES_DPNDNT_GB texreg2gb |
DEPENDENT_GB_TEXTURE_2D_NV | ✗ | ✔ | ✔ | ✔ | |
0x11 | PS_TEXTUREMODES_DOTPRODUCT | DOT_PRODUCT_NV | ✗ | ✔ | ✔ | ✗ | |
0x12 | PS_TEXTUREMODES_DOT_RFLCT_SPEC_CONST | DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV | ✗ | ✗ | ✗ | ✔ | ✗ |
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.