r300: Explain the R300_VAP_OUTPUT_VTX_FMT_1 register.
authorOliver McFadden <z3ro.geek@gmail.com>
Thu, 7 Jun 2007 13:20:08 +0000 (13:20 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Thu, 7 Jun 2007 13:20:08 +0000 (13:20 +0000)
src/mesa/drivers/dri/r300/r300_reg.h

index 6f0ed4d74eeec65a15dc19be9d4dd8baa10109b6..c1897784e2df7ae849d02597af4e4be739fa7b40 100644 (file)
@@ -116,6 +116,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 #       define R300_VAP_OUTPUT_VTX_FMT_0__PT_SIZE_PRESENT (1<<16) /* GUESS */
 
 #define R300_VAP_OUTPUT_VTX_FMT_1           0x2094
+       /* each of the following is 3 bits wide, specifies number
+          of components */
 #       define R300_VAP_OUTPUT_VTX_FMT_1__TEX_0_COMP_CNT_SHIFT 0
 #       define R300_VAP_OUTPUT_VTX_FMT_1__TEX_1_COMP_CNT_SHIFT 3
 #       define R300_VAP_OUTPUT_VTX_FMT_1__TEX_2_COMP_CNT_SHIFT 6