Home
last modified time | relevance | path

Searched refs:shaderStage (Results 1 – 25 of 36) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsBuiltinMaskVarTests.cpp58 VkShaderStageFlags shaderStage; member
66 if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in subgroupComparison()
73 if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in subgroupComparison()
80 if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in subgroupComparison()
87 if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in subgroupComparison()
94 if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in subgroupComparison()
106 if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in varSubgroupMask()
113 if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in varSubgroupMask()
120 if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in varSubgroupMask()
127 if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in varSubgroupMask()
[all …]
DvktSubgroupsBallotTests.cpp53 VkShaderStageFlags shaderStage; member
64 if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
67 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
205 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
356 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
537 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
704 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
896 context, caseDef.shaderStage)) in noSSBOtest()
898 if (subgroups::areSubgroupOperationsRequiredForStage(caseDef.shaderStage)) in noSSBOtest()
902 subgroups::getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
[all …]
DvktSubgroupsBallotOtherTests.cpp90 VkShaderStageFlags shaderStage; member
243 if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
248 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
266 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
287 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
312 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
340 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
483 context, caseDef.shaderStage)) in noSSBOtest()
485 if (subgroups::areSubgroupOperationsRequiredForStage(caseDef.shaderStage)) in noSSBOtest()
489 subgroups::getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
[all …]
DvktSubgroupsShapeTests.cpp75 VkShaderStageFlags shaderStage; member
88 if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
144 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
162 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
184 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
209 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
295 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
466 context, caseDef.shaderStage)) in noSSBOtest()
469 caseDef.shaderStage)) in noSSBOtest()
473 subgroups::getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
[all …]
DvktSubgroupsBallotBroadcastTests.cpp75 VkShaderStageFlags shaderStage; member
145 if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
150 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
172 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
198 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
227 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
260 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
432 context, caseDef.shaderStage)) in noSSBOtest()
434 if (subgroups::areSubgroupOperationsRequiredForStage(caseDef.shaderStage)) in noSSBOtest()
438 subgroups::getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
[all …]
DvktSubgroupsBasicTests.cpp283 VkShaderStageFlags shaderStage; member
291 if(VK_SHADER_STAGE_FRAGMENT_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
330 if (VK_SHADER_STAGE_FRAGMENT_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
408 else if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
418 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
511 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
617 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
825 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
1056 …string color = (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) ? "out_color[gl_I… in initFrameBufferPrograms()
1095 if (VK_SHADER_STAGE_FRAGMENT_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
[all …]
DvktSubgroupsShuffleTests.cpp81 VkShaderStageFlags shaderStage; member
137 if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
147 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
174 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
205 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
240 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
287 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
459 context, caseDef.shaderStage)) in noSSBOtest()
462 caseDef.shaderStage)) in noSSBOtest()
466 subgroups::getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
[all …]
DvktSubgroupsVoteTests.cpp105 VkShaderStageFlags shaderStage; member
115 if (VK_SHADER_STAGE_FRAGMENT_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
118 if (VK_SHADER_STAGE_FRAGMENT_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
129 else if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
161 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
184 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
211 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
240 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
266 else if (VK_SHADER_STAGE_FRAGMENT_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
335 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
[all …]
DvktSubgroupsQuadTests.cpp81 VkShaderStageFlags shaderStage; member
93 if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
101 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
146 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
196 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
248 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
308 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
576 context, caseDef.shaderStage)) in noSSBOtest()
579 caseDef.shaderStage)) in noSSBOtest()
583 subgroups::getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
[all …]
DvktSubgroupsBuiltinVarTests.cpp318 VkShaderStageFlags shaderStage; member
369 if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
372 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
449 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
655 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
861 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
958 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
1523 context, caseDef.shaderStage)) in noSSBOtest()
1525 if (areSubgroupOperationsRequiredForStage(caseDef.shaderStage)) in noSSBOtest()
1528 "Shader stage " + getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
[all …]
DvktSubgroupsPartitionedTests.cpp397 VkShaderStageFlags shaderStage; member
495 if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
500 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
525 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
554 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
586 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
622 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
820 context, caseDef.shaderStage)) in noSSBOtest()
823 caseDef.shaderStage)) in noSSBOtest()
827 subgroups::getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
[all …]
DvktSubgroupsClusteredTests.cpp310 VkShaderStageFlags shaderStage; member
358 if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
363 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
387 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
415 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
446 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
482 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
674 context, caseDef.shaderStage)) in noSSBOtest()
677 caseDef.shaderStage)) in noSSBOtest()
681 subgroups::getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
[all …]
DvktSubgroupsArithmeticTests.cpp388 VkShaderStageFlags shaderStage; member
400 if (VK_SHADER_STAGE_VERTEX_BIT != caseDef.shaderStage) in initFrameBufferPrograms()
460 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
484 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
512 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
543 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in initFrameBufferPrograms()
633 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in initPrograms()
825 context, caseDef.shaderStage)) in noSSBOtest()
828 caseDef.shaderStage)) in noSSBOtest()
832 subgroups::getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
[all …]
DvktSubgroupsTestsUtils.hpp146 const vk::VkShaderStageFlags shaderStage = vk::VK_SHADER_STAGE_ALL_GRAPHICS);
155 const vk::VkShaderStageFlags shaderStage);
DvktSubgroupsTestsUtils.cpp1467 deUint32 getResultBinding (const VkShaderStageFlagBits shaderStage) in getResultBinding() argument
1469 switch(shaderStage) in getResultBinding()
1495 const VkShaderStageFlags shaderStage) in makeTessellationEvaluationFrameBufferTest() argument
1546 layoutBuilder.addBinding(inputBuffers[ndx]->getType(), 1u, shaderStage, DE_NULL); in makeTessellationEvaluationFrameBufferTest()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessBufferAccessTests.cpp79 VkShaderStageFlags shaderStage,
99 VkShaderStageFlags shaderStage,
115 VkShaderStageFlags shaderStage,
139 VkShaderStageFlags shaderStage,
161 VkShaderStageFlags shaderStage,
227 VkShaderStageFlags shaderStage,
244 VkShaderStageFlags shaderStage,
260 VkShaderStageFlags shaderStage, in RobustBufferAccessTest() argument
264 , m_shaderStage (shaderStage) in RobustBufferAccessTest()
478 VkShaderStageFlags shaderStage, in initBufferAccessPrograms() argument
[all …]
DvktRobustBufferAccessWithVariablePointersTests.cpp199 VkShaderStageFlags shaderStage,
219 VkShaderStageFlags shaderStage, in RobustAccessWithPointersTest() argument
223 , m_shaderStage(shaderStage) in RobustAccessWithPointersTest()
237 VkShaderStageFlags shaderStage,
259 VkShaderStageFlags shaderStage,
304 VkShaderStageFlags shaderStage,
366 VkShaderStageFlags shaderStage,
381 VkShaderStageFlags shaderStage,
816 std::string MakeShader(VkShaderStageFlags shaderStage, ShaderType shaderType, VkFormat bufferFormat… in MakeShader() argument
841 if (shaderStage == VK_SHADER_STAGE_COMPUTE_BIT) in MakeShader()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.hpp442 enum shaderStage enum in gl4cts::GPUShaderFP64Test2
476 glw::GLenum getCapturedPrimitiveType(shaderStage shader_stage) const;
477 glw::GLenum getDrawPrimitiveType(shaderStage shader_stage) const;
478 glw::GLuint getMaxUniformComponents(shaderStage shader_stage) const;
482 …glw::GLuint getAmountUniforms(shaderStage shader_stage, const uniformTypeDetails& uniform_type) co…
483 const glw::GLchar* getShaderStageName(shaderStage shader_stage) const;
492 void prepareProgram(shaderStage shader_stage, const uniformTypeDetails& uniform_type,
505 void prepareUniformDefinitions(shaderStage shader_stage, const uniformTypeDetails& uniform_type,
508 void prepareUniforms(shaderStage shader_stage, const uniformTypeDetails& uniform_type,
513 void prepareUniformVerification(shaderStage shader_stage, const uniformTypeDetails& uniform_type,
[all …]
Dgl4cGPUShaderFP64Tests.cpp3341 for (std::vector<shaderStage>::const_iterator shader_stage = m_shader_stages.begin(); in iterate()
3389 glw::GLenum GPUShaderFP64Test2::getCapturedPrimitiveType(shaderStage shader_stage) const in getCapturedPrimitiveType()
3412 glw::GLenum GPUShaderFP64Test2::getDrawPrimitiveType(shaderStage shader_stage) const in getDrawPrimitiveType()
3442 glw::GLuint GPUShaderFP64Test2::getMaxUniformComponents(shaderStage shader_stage) const in getMaxUniformComponents()
3536 glw::GLuint GPUShaderFP64Test2::getAmountUniforms(shaderStage shader_stage, in getAmountUniforms()
3555 const glw::GLchar* GPUShaderFP64Test2::getShaderStageName(shaderStage shader_stage) const in getShaderStageName()
3733 void GPUShaderFP64Test2::prepareProgram(shaderStage shader_stage, const uniformTypeDetails& uniform… in prepareProgram()
4106 void GPUShaderFP64Test2::prepareUniformDefinitions(shaderStage shader_stage, const uniformTypeDetai… in prepareUniformDefinitions()
4134 void GPUShaderFP64Test2::prepareUniforms(shaderStage shader_stage, const uniformTypeDetails& unifor… in prepareUniforms()
4219 void GPUShaderFP64Test2::prepareUniformVerification(shaderStage shader_stage, const uniformTypeDeta… in prepareUniformVerification()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp85 VkShaderStageFlags shaderStage; member
408 if (m_pushConstantRange[rangeNdx].range.shaderStage & VK_SHADER_STAGE_GEOMETRY_BIT) in init()
412 if (m_pushConstantRange[rangeNdx].range.shaderStage & VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT) in init()
416 … if (m_pushConstantRange[rangeNdx].range.shaderStage & VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT) in init()
555 …vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, m_pushConstantRange[0].range.shaderStage, m_p… in init()
691 m_pushConstantRange[rangeNdx].range.shaderStage, in getPushConstantRanges()
749 …vk.cmdPushConstants(cmdBuffer, pipelineLayout, m_pushConstantRange[rangeNdx].range.shaderStage, m_… in updatePushConstants()
754 …vk.cmdPushConstants(cmdBuffer, pipelineLayout, m_pushConstantRange[rangeNdx].range.shaderStage, m_… in updatePushConstants()
849 if (m_pushConstantRange[rangeNdx].range.shaderStage & shaderStages[stageNdx]) in getPushConstantRanges()
907 stageFlags |= m_pushConstantRange[rangeNdx].range.shaderStage; in getPushConstantUpdates()
[all …]
DvktPipelineSpecConstantTests.cpp732 …Group* createDefaultValueTests (tcu::TestContext& testCtx, const VkShaderStageFlagBits shaderStage) in createDefaultValueTests() argument
799 testGroup->addChild(new SpecConstantTest(testCtx, shaderStage, defs[defNdx])); in createDefaultValueTests()
805 …createBasicSpecializationTests (tcu::TestContext& testCtx, const VkShaderStageFlagBits shaderStage) in createBasicSpecializationTests() argument
896 testGroup->addChild(new SpecConstantTest(testCtx, shaderStage, defs[defNdx])); in createBasicSpecializationTests()
1011 …up* createBuiltInOverrideTests (tcu::TestContext& testCtx, const VkShaderStageFlagBits shaderStage) in createBuiltInOverrideTests() argument
1040 testGroup->addChild(new SpecConstantTest(testCtx, shaderStage, defs[defNdx])); in createBuiltInOverrideTests()
1046 …seGroup* createExpressionTests (tcu::TestContext& testCtx, const VkShaderStageFlagBits shaderStage) in createExpressionTests() argument
1196 testGroup->addChild(new SpecConstantTest(testCtx, shaderStage, defs[defNdx])); in createExpressionTests()
1522 …aseGroup* createCompositeTests (tcu::TestContext& testCtx, const VkShaderStageFlagBits shaderStage) in createCompositeTests() argument
1553 …group->addChild(new SpecConstantTest(testCtx, shaderStage, makeMatrixVectorCompositeCaseDefinition… in createCompositeTests()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkShaderToSpirV.cpp275 const EShLanguage shaderStage = getGlslangStage(glu::ShaderType(shaderType)); in compileShaderToSpirV() local
276 glslang::TShader shader (shaderStage); in compileShaderToSpirV()
332 const glslang::TIntermediate* const intermediate = glslangProgram.getIntermediate(shaderStage); in compileShaderToSpirV()
DvkPrograms.hpp218 glu::ShaderType getGluShaderType (VkShaderStageFlagBits shaderStage);
DvkPrograms.cpp855 glu::ShaderType getGluShaderType (VkShaderStageFlagBits shaderStage) in getGluShaderType() argument
857 switch (shaderStage) in getGluShaderType()
/external/mesa3d/src/amd/vulkan/
Dradv_shader.c695 VkShaderStageFlagBits shaderStage, in radv_GetShaderInfoAMD() argument
702 gl_shader_stage stage = vk_to_mesa_shader_stage(shaderStage); in radv_GetShaderInfoAMD()
721 statistics.shaderStageMask = shaderStage; in radv_GetShaderInfoAMD()

12