[Mesa-dev] [PATCH 1/2] glsl: remove placeholder comment

Timothy Arceri tarceri at itsqueeze.com
Fri Jul 21 04:30:57 UTC 2017


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.
---
 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 c338ad7..7de164c 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;
-- 
2.9.4



More information about the mesa-dev mailing list