diff options
| author | Chris Forbes <chrisforbes@google.com> | 2017-06-13 17:36:26 -0700 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2017-06-14 08:38:45 -0600 |
| commit | 7e0b3b3fc6d1054edaeef950cda9ee201648335e (patch) | |
| tree | efc86ca87f92caf248c9be597c728247a2860164 /layers/shader_validation.cpp | |
| parent | 59b00f19603b9284130694570aefc01264237245 (diff) | |
| download | usermoji-7e0b3b3fc6d1054edaeef950cda9ee201648335e.tar.xz | |
layers: Remove dead comment about interface block handling
Diffstat (limited to 'layers/shader_validation.cpp')
| -rw-r--r-- | layers/shader_validation.cpp | 7 |
1 files changed, 0 insertions, 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<location_t, interface_var> 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 |
