mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 21:55:52 +00:00
For APIs with proper separate sampler objects use debug names. Refs #273
This commit is contained in:
@@ -409,6 +409,9 @@ namespace renderdocui.Windows.PipelineState
|
||||
if (shaderInput != null && shaderInput.name.Length > 0)
|
||||
slotname += ": " + shaderInput.name;
|
||||
|
||||
if (s.customSamplerName)
|
||||
slotname += "(" + s.SamplerName + ")";
|
||||
|
||||
string borderColor = s.BorderColor[0].ToString() + ", " +
|
||||
s.BorderColor[1].ToString() + ", " +
|
||||
s.BorderColor[2].ToString() + ", " +
|
||||
|
||||
@@ -308,7 +308,7 @@ namespace renderdocui.Windows.PipelineState
|
||||
lod += String.Format(" Bias {0}", descriptor.mipBias);
|
||||
|
||||
return new object[] {
|
||||
"", bindset, slotname, "Sampler", "Sampler " + descriptor.sampler.ToString(),
|
||||
"", bindset, slotname, "Sampler", descriptor.SamplerName,
|
||||
addressing,
|
||||
filter,
|
||||
lod
|
||||
|
||||
Reference in New Issue
Block a user