mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[dxbc] Add ostream operator for DxbcScalarType
This commit is contained in:
parent
89afd586ef
commit
2164a44887
@ -428,4 +428,18 @@ namespace dxvk {
|
||||
}
|
||||
}
|
||||
|
||||
std::ostream& operator << (std::ostream& os, dxvk::DxbcScalarType e) {
|
||||
switch (e) {
|
||||
ENUM_NAME(DxbcScalarType::Uint32);
|
||||
ENUM_NAME(DxbcScalarType::Uint64);
|
||||
ENUM_NAME(DxbcScalarType::Sint32);
|
||||
ENUM_NAME(DxbcScalarType::Sint64);
|
||||
ENUM_NAME(DxbcScalarType::Float32);
|
||||
ENUM_NAME(DxbcScalarType::Float64);
|
||||
ENUM_NAME(DxbcScalarType::Bool);
|
||||
ENUM_DEFAULT(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} //namespace dxvk
|
||||
|
@ -21,5 +21,6 @@ namespace dxvk {
|
||||
std::ostream& operator << (std::ostream& os, DxbcSystemValue e);
|
||||
std::ostream& operator << (std::ostream& os, DxbcProgramType e);
|
||||
std::ostream& operator << (std::ostream& os, DxbcCustomDataClass e);
|
||||
std::ostream& operator << (std::ostream& os, DxbcScalarType e);
|
||||
|
||||
} // namespace dxvk
|
||||
|
Loading…
x
Reference in New Issue
Block a user