summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-11-12 11:14:35 -0800
committerKenneth Graunke <[email protected]>2012-11-12 11:24:38 -0800
commitdf3cecab7d04f73eb3b010a511a048c3b87694a5 (patch)
tree4375c83ed54bb6b57f01c7ef8936b94c5ff3e613 /src
parent21e23fbe2124aa591204ad77762adf6d9f37d062 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_surface_state.c11
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 25ee55731a2..a7866d583a5 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[] = {