From: Kenneth Graunke Date: Mon, 12 Nov 2012 19:14:35 +0000 (-0800) Subject: i965: Add comments for each of the surface state table's columns. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df3cecab7d04f73eb3b010a511a048c3b87694a5;p=mesa.git 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. --- 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[] = {