Disasm: Additional feedback and rename state object flags to match hlsl

This commit is contained in:
Tex Riddell 2018-10-23 17:51:25 -07:00
Родитель 262e94ee5a
Коммит c598a25429
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -592,9 +592,9 @@ static const char *SubobjectKindToString(DXIL::SubobjectKind kind) {
static const char *FlagToString(DXIL::StateObjectFlags Flag) {
switch (Flag) {
case DXIL::StateObjectFlags::AllowLocalDependenciesOnExternalDefinitions:
return "AllowLocalDependenciesOnExternalDefinitions";
return "STATE_OBJECT_FLAG_ALLOW_LOCAL_DEPENDENCIES_ON_EXTERNAL_DEFINITIONS";
case DXIL::StateObjectFlags::AllowExternalDependenciesOnLocalDefinitions:
return "AllowExternalDependenciesOnLocalDefinitions";
return "STATE_OBJECT_FLAG_ALLOW_EXTERNAL_DEPENDENCIES_ON_LOCAL_DEFINITIONS";
}
return "<invalid StateObjectFlag>";
}
@ -684,7 +684,7 @@ void PrintSubobjects(const DxilSubobjects &subobjects,
break;
}
OS << "MaxPayloadSizeInBytes = " << MaxPayloadSizeInBytes
<< "MaxAttributeSizeInBytes = " << MaxAttributeSizeInBytes;
<< ", MaxAttributeSizeInBytes = " << MaxAttributeSizeInBytes;
break;
}
case DXIL::SubobjectKind::RaytracingPipelineConfig: {