Mesa (master): i965: Add comments for each of the surface state table' s columns.

Kenneth Graunke kwg at kemper.freedesktop.org
Mon Nov 12 19:34:32 UTC 2012


Module: Mesa
Branch: master
Commit: df3cecab7d04f73eb3b010a511a048c3b87694a5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df3cecab7d04f73eb3b010a511a048c3b87694a5

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Nov 12 11:14:35 2012 -0800

i965: Add comments for each of the surface state table's columns.

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 |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index 25ee557..a7866d5 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -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[] = {




More information about the mesa-commit mailing list