From df3cecab7d04f73eb3b010a511a048c3b87694a5 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 12 Nov 2012 11:14:35 -0800 Subject: [PATCH] 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 file changed, 11 insertions(+) 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[] = { -- 2.30.2