mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-13 10:11:02 +00:00
Set the correct type for i8 metadata constants in DXIL
This commit is contained in:
@@ -425,7 +425,7 @@ Metadata *ProgramEditor::CreateConstantMetadata(uint8_t val)
|
||||
Metadata *m = CreateMetadata();
|
||||
m->isConstant = true;
|
||||
m->type = m_Int8Type;
|
||||
m->value = CreateConstant(Constant(m_Int32Type, val));
|
||||
m->value = CreateConstant(Constant(m_Int8Type, val));
|
||||
return m;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user