summaryrefslogtreecommitdiffstats
path: root/tools/render-test
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-02-17 15:09:09 -0800
committerGitHub <noreply@github.com>2021-02-17 15:09:09 -0800
commite59aee131b6d51236613bc374cfa2d5f3b54efe1 (patch)
tree1225fb886e6b280ca50d737c1769bb8465480692 /tools/render-test
parent39975b207e5db7de8feaaebfda2ae122c1850b26 (diff)
Add `SampleGrad` overload for lod clamp. (#1711)
* Add `SampleGrad` overload for lod clamp. * Fix gfx to run the test on vulkan. * Whitespace change to trigger CI build * remove presentFrame call in render-test Co-authored-by: Yong He <yhe@nvidia.com> Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'tools/render-test')
-rw-r--r--tools/render-test/render-test-main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/render-test/render-test-main.cpp b/tools/render-test/render-test-main.cpp
index 77708461c..e57e3917e 100644
--- a/tools/render-test/render-test-main.cpp
+++ b/tools/render-test/render-test-main.cpp
@@ -357,6 +357,7 @@ SlangResult _assignVarsFromLayout(
IResourceView::Desc viewDesc;
viewDesc.type = IResourceView::Type::ShaderResource;
+ viewDesc.format = texture->getDesc()->format;
auto textureView = renderer->createTextureView(
texture,
viewDesc);