summaryrefslogtreecommitdiff
path: root/tools/render-test/shader-input-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/shader-input-layout.h')
-rw-r--r--tools/render-test/shader-input-layout.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h
index 2803d1915..de1da3da9 100644
--- a/tools/render-test/shader-input-layout.h
+++ b/tools/render-test/shader-input-layout.h
@@ -31,6 +31,16 @@ enum class InputTextureContent
Zero, One, ChessBoard, Gradient
};
+enum InputTextureSampleCount
+{
+ One = 1,
+ Two = 2,
+ Four = 4,
+ Eight = 8,
+ Sixteen = 16,
+ ThirtyTwo = 32,
+ SixtyFour = 64,
+};
struct InputTextureDesc
{
int dimension = 2;
@@ -41,6 +51,7 @@ struct InputTextureDesc
int size = 4;
int mipMapCount = 0; ///< 0 means the maximum number of mips will be bound
+ InputTextureSampleCount sampleCount = InputTextureSampleCount::One;
Format format = Format::R8G8B8A8_UNORM;
InputTextureContent content = InputTextureContent::One;