Home
last modified time | relevance | path

Searched defs:TestParams (Results 1 – 25 of 232) sorted by relevance

12345678910

/third_party/vk-gl-cts/modules/glshared/
DglsShaderConstExprTests.hpp50 struct TestParams struct
52 const char* name;
53 const char* expression;
55 DataType inType;
56 int minComponents;
57 int maxComponents;
59 DataType outType;
60 float output;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktDynamicRenderingUnusedAttachmentsTests.cpp98 struct TestParams struct
100 …nt32_t kMaxFragAttachments = 8u; // Based on real-world maxFragmentOutputAttachments values.
101 …ebufferAttachments = 2u * kMaxFragAttachments; // Slightly arbitrary, based on the previous number.
103 … attachments specified in the pipeline and framebuffer (VUID-vkCmdDraw-colorAttachmentCount-06179).
104 const uint32_t fragAttachmentCount; // Frag shader outputs. Needs to be >= pipeFBAttachmentCount.
106 const uint32_t layerCount; // Image layers.
107 …t layerMask; // Which layers are going to be written to, either using viewMask or manual calls.
108 const bool multiView; // Manual or "automatic" layer handling.
110 …/ Which attachments will have VK_FORMAT_UNDEFINED in the pipeline (0 for undefined, 1 for defined).
111 … // Which attachments will be VK_NULL_HANDLE in the framebuffer (0 for null, 1 for valid handle).
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAttributeOffsetTests.cpp109 struct TestParams struct
111 const PipelineConstructionType constructionType;
112 const glu::DataType dataType; // vec2 or vec4.
113 const uint32_t bindingOffset; // When binding vertex buffer.
114 const StrideCase strideCase; // Pack all data or include some padding.
115 const bool useMemoryOffset; // Apply an offset when binding memory to the buffer.
116 const bool dynamic; // Use dynamic state or not.
118 uint32_t attributeSize (void) const in attributeSize()
123 bool isOverlapping (void) const in isOverlapping()
128 VkFormat attributeFormat (void) const in attributeFormat()
[all …]
DvktPipelineCreationCacheControlTests.cpp266 struct TestParams struct
268 enum CacheType
276 struct Iteration
298 static constexpr size_t MAX_ITERATIONS = 4;
299 using IterationArray = ConstexprVector<Iteration, MAX_ITERATIONS>;
301 const char* name;
302 CacheType cacheType;
303 IterationArray iterations;
304 bool useMaintenance5;
440 const TestParams&) in createPipelineLayout()
[all …]
DvktPipelineImageSlicedViewOf3DTests.cpp73 struct TestParams struct
75 TestType testType;
76 VkShaderStageFlagBits stage;
77 uint32_t width;
78 uint32_t height;
79 uint32_t depth;
80 uint32_t offset;
85 uint32_t range;
88 tcu::Maybe<uint32_t> mipLevel;
89 bool sampleImg;
[all …]
DvktPipelineLogicOpTests.cpp68 struct TestParams struct
70 VkLogicOp logicOp; // Operation.
71 PipelineConstructionType pipelineConstructionType; // Use monolithic pipeline or pipeline_library
72 tcu::UVec4 fbColor; // Framebuffer color.
73 tcu::UVec4 quadColor; // Geometry color.
74 VkFormat format; // Framebuffer format.
75 std::string name; // Logic operator test name.
DvktPipelineNoPositionTests.cpp78 struct TestParams struct
80 vk::PipelineConstructionType pipelineConstructionType; // The way pipeline is constructed
81 ShaderStageFlags selectedStages; // Stages that will be present in the pipeline.
82 …StageFlags writeStages; // Subset of selectedStages that will write to the Position built-in.
83 deUint32 numViews; // Number of views for multiview.
84 bool explicitDeclarations; // Explicitly declare the input and output blocks or not.
85 bool useSSBO; // Write to an SSBO from the selected stages.
86 …l useDeviceIndexAsViewIndex; // Treat gl_DeviceIndex shader input variable like gl_ViewIndex.
89 …ssellation (void) const { return (selectedStages & (STAGE_TESS_CONTROL | STAGE_TESS_EVALUATION)); } in tessellation()
90 bool geometry (void) const { return (selectedStages & STAGE_GEOMETRY); } in geometry()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderQueryTestsEXT.cpp165 struct TestParams struct
167 uint32_t randomSeed;
168 std::vector<QueryType> queryTypes;
169 std::vector<uint32_t> drawBlocks;
170 DrawCallType drawCall;
171 GeometryType geometry;
172 ResetCase resetType;
173 AccessMethod access;
174 bool use64Bits;
175 bool availabilityBit;
[all …]
DvktMeshShaderSyncTests.cpp349 struct TestParams struct
351 Stage fromStage;
352 Stage toStage;
353 ResourceType resourceType;
354 BarrierType barrierType;
355 WriteAccess writeAccess;
356 ReadAccess readAccess;
357 uint32_t testValue;
360 bool readsOrWritesIn (Stage stage) const in readsOrWritesIn()
367 bool needsTask () const in needsTask()
[all …]
DvktMeshShaderSyncTestsEXT.cpp375 struct TestParams struct
377 Stage fromStage;
378 Stage toStage;
379 ResourceType resourceType;
380 BarrierType barrierType;
381 WriteAccess writeAccess;
382 ReadAccess readAccess;
383 uint32_t testValue;
386 bool readsOrWritesIn (Stage stage) const in readsOrWritesIn()
393 bool needsTask () const in needsTask()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderQueryTestsEXT.cpp165 struct TestParams struct
167 uint32_t randomSeed;
168 std::vector<QueryType> queryTypes;
169 std::vector<uint32_t> drawBlocks;
170 DrawCallType drawCall;
171 GeometryType geometry;
172 ResetCase resetType;
173 AccessMethod access;
174 bool use64Bits;
175 bool availabilityBit;
[all …]
DvktMeshShaderSyncTests.cpp349 struct TestParams struct
351 Stage fromStage;
352 Stage toStage;
353 ResourceType resourceType;
354 BarrierType barrierType;
355 WriteAccess writeAccess;
356 ReadAccess readAccess;
357 uint32_t testValue;
360 bool readsOrWritesIn (Stage stage) const in readsOrWritesIn()
367 bool needsTask () const in needsTask()
[all …]
DvktMeshShaderSyncTestsEXT.cpp375 struct TestParams struct
377 Stage fromStage;
378 Stage toStage;
379 ResourceType resourceType;
380 BarrierType barrierType;
381 WriteAccess writeAccess;
382 ReadAccess readAccess;
383 uint32_t testValue;
386 bool readsOrWritesIn (Stage stage) const in readsOrWritesIn()
393 bool needsTask () const in needsTask()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
Des3cNumberParsingTests.cpp87 struct TestParams struct
89 TestType testType;
90 string name;
91 string description;
92 string testGlobals;
93 string testCode;
94 SetupUniformsFn setupUniformsFn;
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderConstExprTests.cpp42 struct TestParams struct
44 const char* name;
45 const char* expression;
47 glu::DataType inType;
48 int minComponents;
49 int maxComponents;
51 glu::DataType outType;
52 union {
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineCreationCacheControlTests.cpp266 struct TestParams struct
268 enum CacheType
276 struct Iteration
298 static constexpr size_t MAX_ITERATIONS = 4;
299 using IterationArray = ConstexprVector<Iteration, MAX_ITERATIONS>;
301 const char* name;
302 const char* description;
303 CacheType cacheType;
304 IterationArray iterations;
310 void checkSupport(Context& context, const TestParams&) in checkSupport()
[all …]
DvktPipelineLogicOpTests.cpp66 struct TestParams struct
68 VkLogicOp logicOp; // Operation.
69 PipelineConstructionType pipelineConstructionType; // Use monolithic pipeline or pipeline_library
70 tcu::UVec4 fbColor; // Framebuffer color.
71 tcu::UVec4 quadColor; // Geometry color.
72 VkFormat format; // Framebuffer format.
73 std::string name; // Logic operator test name.
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDirectionTests.cpp208 struct TestParams struct
210 SpaceObjects spaceObjects;
211 float directionScale;
212 float rotationX;
213 float rotationY;
214 VkShaderStageFlagBits testStage;
215 VkGeometryTypeKHR geometryType;
216 bool useArraysOfPointers;
217 bool updateMatrixAfterBuild;
218 RayOriginType rayOriginType;
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
DvktRayTracingDirectionTests.cpp208 struct TestParams struct
210 SpaceObjects spaceObjects;
211 float directionScale;
212 float rotationX;
213 float rotationY;
214 VkShaderStageFlagBits testStage;
215 VkGeometryTypeKHR geometryType;
216 bool useArraysOfPointers;
217 bool updateMatrixAfterBuild;
218 RayOriginType rayOriginType;
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultipleClearsWithinRenderPass.cpp169 struct TestParams struct
171 VkFormat colorFormat;
172 VkFormat depthFormat;
173 Topology topology;
174 Vec4 expectedColor;
175 float colorEpsilon;
176 float expectedDepth;
177 float depthEpsilon;
178 deUint32 repeatCount;
179 bool enableBlend;
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawMultipleClearsWithinRenderPass.cpp169 struct TestParams struct
171 VkFormat colorFormat;
172 VkFormat depthFormat;
173 Topology topology;
174 Vec4 expectedColor;
175 float colorEpsilon;
176 float expectedDepth;
177 float depthEpsilon;
178 deUint32 repeatCount;
179 bool enableBlend;
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesQueueBindSparseTests.cpp54 struct TestParams struct
56 deUint32 numQueues; //! use 2 or more to sync between different queues
57 deUint32 numWaitSemaphores;
58 deUint32 numSignalSemaphores;
59 bool emptySubmission; //! will make an empty bind sparse submission
60 bool bindSparseUseFence;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesQueueBindSparseTests.cpp54 struct TestParams struct
56 deUint32 numQueues; //! use 2 or more to sync between different queues
57 deUint32 numWaitSemaphores;
58 deUint32 numSignalSemaphores;
59 bool emptySubmission; //! will make an empty bind sparse submission
60 bool bindSparseUseFence;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktTextureConversionTests.cpp354 struct TestParams in populateSnormClampTests() struct
356 std::string testName; in populateSnormClampTests()
357 std::string amberFile; in populateSnormClampTests()
358 VkFormat format; in populateSnormClampTests()
389 struct TestParams in populateSnormLinearClampTests() struct
391 std::string testName; in populateSnormLinearClampTests()
392 VkFormat format; in populateSnormLinearClampTests()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureConversionTests.cpp353 struct TestParams in populateSnormClampTests() struct
355 std::string testName; in populateSnormClampTests()
356 std::string amberFile; in populateSnormClampTests()
357 VkFormat format; in populateSnormClampTests()
388 struct TestParams in populateSnormLinearClampTests() struct
390 std::string testName; in populateSnormLinearClampTests()
391 VkFormat format; in populateSnormLinearClampTests()

12345678910