i965: Add comments for each of the surface state table's columns.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 12 Nov 2012 19:14:35 +0000 (11:14 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 12 Nov 2012 19:24:38 +0000 (11:24 -0800)
I can never remember what "AB" means, and having to constantly consult
the docs is annoying.  Just add comments to the top which explain each
of the abbreviations.

src/mesa/drivers/dri/i965/brw_wm_surface_state.c

index 25ee55731a28c6d37f2b9937254ce5d7aefa8708..a7866d583a53406ab4919bc52267dfeeec837dbf 100644 (file)
@@ -108,6 +108,17 @@ struct surface_format_info {
  * Y^: 60 (gen6)
  * Y#: 70 (gen7)
  *
+ * The abbreviations in the header below are:
+ * smpl  - Sampling Engine
+ * filt  - Sampling Engine Filtering
+ * shad  - Sampling Engine Shadow Map
+ * CK    - Sampling Engine Chroma Key
+ * RT    - Render Target
+ * AB    - Alpha Blend Render Target
+ * VB    - Input Vertex Buffer
+ * SO    - Steamed Output Vertex Buffers (transform feedback)
+ * color - Color Processing
+ *
  * See page 88 of the Sandybridge PRM VOL4_Part1 PDF.
  */
 const struct surface_format_info surface_formats[] = {