reflect: fix CurrentSubFrame
being parsed as TotalSubFrames
This commit is contained in:
parent
81840a9e9c
commit
57f2dabf0c
|
@ -249,7 +249,6 @@ impl MemberOffset {
|
|||
/// Reflection information about a non-texture related uniform variable.
|
||||
#[derive(Debug)]
|
||||
pub struct VariableMeta {
|
||||
// this might bite us in the back because retroarch keeps separate UBO/push offsets.. eh
|
||||
/// The offset of this variable uniform.
|
||||
pub offset: MemberOffset,
|
||||
/// The size of the uniform.
|
||||
|
@ -424,7 +423,7 @@ impl UniqueSemanticMap for FastHashMap<ShortString, UniformSemantic> {
|
|||
index: (),
|
||||
}),
|
||||
"CurrentSubFrame" => Some(Semantic {
|
||||
semantics: UniqueSemantics::TotalSubFrames,
|
||||
semantics: UniqueSemantics::CurrentSubFrame,
|
||||
index: (),
|
||||
}),
|
||||
_ => None,
|
||||
|
|
Loading…
Reference in a new issue