From 5894c3b1a96e9db41f50b2b178f81568ff421776 Mon Sep 17 00:00:00 2001 From: "YONGH\\yongh" Date: Wed, 25 Oct 2017 16:33:18 -0400 Subject: finish up opengl renderer implementation for input resource binding. --- tools/render-test/shader-input-layout.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tools/render-test/shader-input-layout.h') diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h index f2258b7b9..9dae75270 100644 --- a/tools/render-test/shader-input-layout.h +++ b/tools/render-test/shader-input-layout.h @@ -49,6 +49,16 @@ namespace renderer_test int glslBinding = -1; int glslLocation = -1; }; + + struct TextureData + { + Slang::List> dataBuffer; + int textureSize; + int mipLevels; + int arraySize; + }; + void generateTextureData(TextureData & output, const InputTextureDesc & desc); + class ShaderInputLayout { public: -- cgit v1.2.3