Skip to content

Commit

Permalink
[naga spv-in] Delete misplaced, outdated comment.
Browse files Browse the repository at this point in the history
This comment had become misplaced - it belongs on
`lookup_sampled_image` - but also, that table is no longer "storing
flags on how they are used". So the name of the field and type are
probably documentation enough.
  • Loading branch information
jimblandy authored and teoxoy committed May 22, 2024
1 parent ccccffd commit 7fc7f58
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion naga/src/front/spv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,6 @@ pub struct Frontend<I> {
lookup_type: FastHashMap<spirv::Word, LookupType>,
lookup_void_type: Option<spirv::Word>,
lookup_storage_buffer_types: FastHashMap<Handle<crate::Type>, crate::StorageAccess>,
// Lookup for samplers and sampled images, storing flags on how they are used.
lookup_constant: FastHashMap<spirv::Word, LookupConstant>,
lookup_variable: FastHashMap<spirv::Word, LookupVariable>,
lookup_expression: FastHashMap<spirv::Word, LookupExpression>,
Expand Down

0 comments on commit 7fc7f58

Please sign in to comment.