Mesa (master): i965: Remove comments about pre-965 hardware.

Kenneth Graunke kwg at kemper.freedesktop.org
Sun May 22 22:05:29 UTC 2011


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun May 22 07:09:53 2011 -0700

i965: Remove comments about pre-965 hardware.

They're irrelevant for this driver.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_tex_layout.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index 9ac0713..92e5d0f 100644
--- a/src/mesa/drivers/dri/i965/brw_tex_layout.c
+++ b/src/mesa/drivers/dri/i965/brw_tex_layout.c
@@ -152,9 +152,6 @@ GLboolean brw_miptree_layout(struct intel_context *intel,
        * in the texture surfaces run, so they may be "vertical" through
        * memory.  As a result, the docs say in Surface Padding Requirements:
        * Sampling Engine Surfaces that two extra rows of padding are required.
-       * We don't know of similar requirements for pre-965, but given that
-       * those docs are silent on padding requirements in general, let's play
-       * it safe.
        */
       if (mt->target == GL_TEXTURE_CUBE_MAP)
 	 mt->total_height += 2;




More information about the mesa-commit mailing list