Replace mip selection with sample idx when viewing Tex2DMS. Refs #79

* Also for float/unorm texture add an additional "resolved" option that
  just does an unweighted average of all samples, which is the behaviour
  from before (assuming that's what ResolveSubresource does).
This commit is contained in:
baldurk
2014-08-29 01:54:14 +01:00
parent d17314536a
commit 89e90f8c36
23 changed files with 220 additions and 108 deletions
+1
View File
@@ -239,6 +239,7 @@ void DisplayRendererPreview(ReplayRenderer *renderer)
TextureDisplay d;
d.texid = texs[i].ID;
d.mip = 0;
d.sampleIdx = ~0U;
d.overlay = eTexOverlay_None;
d.CustomShader = ResourceId();
d.HDRMul = -1.0f;