Mesa (master): glsl: remove placeholder comment

Timothy Arceri tarceri at kemper.freedesktop.org
Sun Jul 23 00:06:17 UTC 2017


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

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Fri Jul 21 11:09:33 2017 +1000

glsl: remove placeholder comment

This was added in 2d03f48a65a666 and seems like it was intended
as a TODO comment in a function stub rather than a useful
code comment.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

---

 src/compiler/glsl/ast_to_hir.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp
index c338ad79ca..7de164cebb 100644
--- a/src/compiler/glsl/ast_to_hir.cpp
+++ b/src/compiler/glsl/ast_to_hir.cpp
@@ -7677,10 +7677,6 @@ ast_interface_block::hir(exec_list *instructions,
                                "invalid qualifier for block",
                                this->block_name);
 
-   /* The ast_interface_block has a list of ast_declarator_lists.  We
-    * need to turn those into ir_variables with an association
-    * with this uniform block.
-    */
    enum glsl_interface_packing packing;
    if (this->layout.flags.q.shared) {
       packing = GLSL_INTERFACE_PACKING_SHARED;




More information about the mesa-commit mailing list