Difference between revisions of "NV2A/Pixel Combiner"
From xboxdevwiki
(→References and links) |
(Table for texturemodes) |
||
Line 1: | Line 1: | ||
The NV2A implements [https://www.opengl.org/registry/specs/NV/register_combiners.txt NV_register_combiners] (and [https://www.opengl.org/registry/specs/NV/register_combiners2.txt NV_register_combiners2]?) | The NV2A implements [https://www.opengl.org/registry/specs/NV/register_combiners.txt NV_register_combiners] (and [https://www.opengl.org/registry/specs/NV/register_combiners2.txt NV_register_combiners2]?) | ||
+ | |||
+ | == Texturing modes == | ||
+ | |||
+ | {|class="wikitable" | ||
+ | !ID | ||
+ | !Name | ||
+ | !Stage 1 | ||
+ | !Stage 2 | ||
+ | !Stage 3 | ||
+ | !Stage 4 | ||
+ | !Notes | ||
+ | |- | ||
+ | |0x00 | ||
+ | |PS_TEXTUREMODES_NONE | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x01 | ||
+ | |PS_TEXTUREMODES_PROJECT2D | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x02 | ||
+ | |PS_TEXTUREMODES_PROJECT3D | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x03 | ||
+ | |PS_TEXTUREMODES_CUBEMAP | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x04 | ||
+ | |PS_TEXTUREMODES_PASSTHRU | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x05 | ||
+ | |PS_TEXTUREMODES_CLIPPLANE | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x06 | ||
+ | |PS_TEXTUREMODES_BUMPENVMAP | ||
+ | | | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x07 | ||
+ | |PS_TEXTUREMODES_BUMPENVMAP_LUM | ||
+ | | | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x08 | ||
+ | |PS_TEXTUREMODES_BRDF | ||
+ | | | ||
+ | | | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x09 | ||
+ | |PS_TEXTUREMODES_DOT_ST | ||
+ | | | ||
+ | | | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x0A | ||
+ | |PS_TEXTUREMODES_DOT_ZW | ||
+ | | | ||
+ | | | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |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 | ||
+ | | | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x10 | ||
+ | |PS_TEXTUREMODES_DPNDNT_GB | ||
+ | | | ||
+ | |* | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | |- | ||
+ | |0x11 | ||
+ | |PS_TEXTUREMODES_DOTPRODUCT | ||
+ | | | ||
+ | |* | ||
+ | |* | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | |0x12 | ||
+ | |PS_TEXTUREMODES_DOT_RFLCT_SPEC_CONST | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |* | ||
+ | | | ||
+ | |} | ||
== Debugging == | == Debugging == |
Revision as of 23:51, 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 | * | * | * | * | |
0x01 | PS_TEXTUREMODES_PROJECT2D | * | * | * | * | |
0x02 | PS_TEXTUREMODES_PROJECT3D | * | * | * | * | |
0x03 | PS_TEXTUREMODES_CUBEMAP | * | * | * | * | |
0x04 | PS_TEXTUREMODES_PASSTHRU | * | * | * | * | |
0x05 | PS_TEXTUREMODES_CLIPPLANE | * | * | * | * | |
0x06 | PS_TEXTUREMODES_BUMPENVMAP | * | * | * | ||
0x07 | PS_TEXTUREMODES_BUMPENVMAP_LUM | * | * | * | ||
0x08 | PS_TEXTUREMODES_BRDF | * | * | |||
0x09 | PS_TEXTUREMODES_DOT_ST | * | * | |||
0x0A | PS_TEXTUREMODES_DOT_ZW | * | * | |||
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 | * | * | * | ||
0x10 | PS_TEXTUREMODES_DPNDNT_GB | * | * | * | ||
0x11 | PS_TEXTUREMODES_DOTPRODUCT | * | * | |||
0x12 | PS_TEXTUREMODES_DOT_RFLCT_SPEC_CONST | * |
Debugging
PIX from the Microsoft XDK provides great debugging capabilities.