From 7e0b3b3fc6d1054edaeef950cda9ee201648335e Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 13 Jun 2017 17:36:26 -0700 Subject: [PATCH] layers: Remove dead comment about interface block handling --- layers/shader_validation.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/layers/shader_validation.cpp b/layers/shader_validation.cpp index 27190564..282f7660 100644 --- a/layers/shader_validation.cpp +++ b/layers/shader_validation.cpp @@ -590,13 +590,6 @@ static std::map collect_interface_by_location(shader_ bool is_patch = var_patch.find(id) != var_patch.end(); bool is_relaxed_precision = var_relaxed_precision.find(id) != var_relaxed_precision.end(); - // All variables and interface block members in the Input or Output storage classes must be decorated with either - // a builtin or an explicit location. - // - // TODO: integrate the interface block support here. For now, don't complain -- a valid SPIRV module will only hit - // this path for the interface block case, as the individual members of the type are decorated, rather than - // variable declarations. - if (builtin != -1) continue; else if (!collect_interface_block_members(src, &out, blocks, is_array_of_verts, id, type, is_patch, location)) { // A user-defined interface variable, with a location. Where a variable occupied multiple locations, emit -- 2.34.1