summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/resolve-resource-tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/resolve-resource-tests.cpp')
-rw-r--r--tools/gfx-unit-test/resolve-resource-tests.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/gfx-unit-test/resolve-resource-tests.cpp b/tools/gfx-unit-test/resolve-resource-tests.cpp
index 7b125a17d..af2bf68e9 100644
--- a/tools/gfx-unit-test/resolve-resource-tests.cpp
+++ b/tools/gfx-unit-test/resolve-resource-tests.cpp
@@ -9,14 +9,6 @@
#include <d3d12.h>
#endif
-#if 0
-#include <stdlib.h>
-#include <stdio.h>
-
-#define STB_IMAGE_WRITE_IMPLEMENTATION
-#include "external/stb/stb_image_write.h"
-#endif
-
using namespace Slang;
using namespace gfx;
@@ -24,20 +16,6 @@ namespace
{
using namespace gfx_test;
-#if 0
- Slang::Result writeImage(
- const char* filename,
- ISlangBlob* pixels,
- uint32_t width,
- uint32_t height)
- {
- int stbResult =
- stbi_write_hdr(filename, width, height, 4, (float*)pixels->getBufferPointer());
-
- return stbResult ? SLANG_OK : SLANG_FAIL;
- }
-#endif
-
struct Vertex
{
float position[3];