mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 12:51:03 +00:00
Display shader output as ints if that's the target format type
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user