mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Display multisample count for MSAA textures in states
This commit is contained in:
@@ -313,6 +313,12 @@ namespace renderdocui.Windows.PipelineState
|
||||
name = texs[t].name;
|
||||
typename = texs[t].resType.Str();
|
||||
|
||||
if (texs[t].resType == ShaderResourceType.Texture2DMS ||
|
||||
texs[t].resType == ShaderResourceType.Texture2DMSArray)
|
||||
{
|
||||
typename += String.Format(" {0}x", texs[t].msSamp);
|
||||
}
|
||||
|
||||
// if it's a typeless format, show the format of the view
|
||||
if (texs[t].format.compType == FormatComponentType.None)
|
||||
{
|
||||
@@ -1020,6 +1026,12 @@ namespace renderdocui.Windows.PipelineState
|
||||
name = texs[t].name;
|
||||
typename = texs[t].resType.Str();
|
||||
|
||||
if (texs[t].resType == ShaderResourceType.Texture2DMS ||
|
||||
texs[t].resType == ShaderResourceType.Texture2DMSArray)
|
||||
{
|
||||
typename += String.Format(" {0}x", texs[t].msSamp);
|
||||
}
|
||||
|
||||
// if it's a typeless format, show the format of the view
|
||||
if (texs[t].format.compType == FormatComponentType.None)
|
||||
{
|
||||
@@ -1277,6 +1289,12 @@ namespace renderdocui.Windows.PipelineState
|
||||
name = texs[t].name;
|
||||
typename = texs[t].resType.Str();
|
||||
|
||||
if (texs[t].resType == ShaderResourceType.Texture2DMS ||
|
||||
texs[t].resType == ShaderResourceType.Texture2DMSArray)
|
||||
{
|
||||
typename += String.Format(" {0}x", texs[t].msSamp);
|
||||
}
|
||||
|
||||
// if it's a typeless format, show the format of the view
|
||||
if (texs[t].format.compType == FormatComponentType.None)
|
||||
{
|
||||
@@ -1363,6 +1381,12 @@ namespace renderdocui.Windows.PipelineState
|
||||
name = texs[t].name;
|
||||
typename = texs[t].resType.Str();
|
||||
|
||||
if (texs[t].resType == ShaderResourceType.Texture2DMS ||
|
||||
texs[t].resType == ShaderResourceType.Texture2DMSArray)
|
||||
{
|
||||
typename += String.Format(" {0}x", texs[t].msSamp);
|
||||
}
|
||||
|
||||
// if it's a typeless format, show the format of the view
|
||||
if (texs[t].format.compType == FormatComponentType.None)
|
||||
{
|
||||
@@ -1461,6 +1485,12 @@ namespace renderdocui.Windows.PipelineState
|
||||
name = texs[t].name;
|
||||
typename = texs[t].resType.Str();
|
||||
|
||||
if (texs[t].resType == ShaderResourceType.Texture2DMS ||
|
||||
texs[t].resType == ShaderResourceType.Texture2DMSArray)
|
||||
{
|
||||
typename += String.Format(" {0}x", texs[t].msSamp);
|
||||
}
|
||||
|
||||
// if it's a typeless format, show the format of the view
|
||||
if (texs[t].format.compType == FormatComponentType.None)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user