Display shader output as ints if that's the target format type

This commit is contained in:
baldurk
2014-08-24 12:38:44 +01:00
parent 461588ae1e
commit 497558f338
+1 -1
View File
@@ -244,7 +244,7 @@ namespace renderdocui.Windows
string name = String.Format("Primitive {0}\n", mod.primitiveID);
ResourceFormat fmt = new ResourceFormat(FormatComponentType.Float, 4, 4);
ResourceFormat fmt = new ResourceFormat(floatTex ? FormatComponentType.Float : texture.format.compType, 4, 4);
string shadOutVal = "Shader Out\n\n" + ModificationValueString(mod.shaderOut, fmt, depth);
string postModVal = "Tex After\n\n" + ModificationValueString(mod.postMod, texture.format, depth);