Lines Matching defs:format
55 VkFormat format;
130 bool fmtIsBoolean (VkFormat format)
132 // For reasons unknown, the tests use R8_USCALED as the boolean format
133 return format == VK_FORMAT_R8_USCALED || format == VK_FORMAT_R8G8_USCALED ||
134 format == VK_FORMAT_R8G8B8_USCALED || format == VK_FORMAT_R8G8B8A8_USCALED;
146 const bool formatIsBoolean = fmtIsBoolean(caseDef.format);
148 const string fmt = subgroups::getFormatNameForGLSL(caseDef.format);
186 const string extensions = getExtensions(arbFunctions) + subgroups::getAdditionalExtensionForFormat(caseDef.format);
189 subgroups::initStdFrameBufferPrograms(programCollection, buildOptions, caseDef.shaderStage, caseDef.format, pointSize, extensions, getStageTestSource(caseDef), "");
194 const bool formatIsBoolean = fmtIsBoolean(caseDef.format);
196 const string fmt = subgroups::getFormatNameForGLSL(caseDef.format);
232 const string extensions = getExtensions(arbFunctions) + subgroups::getAdditionalExtensionForFormat(caseDef.format);
257 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
292 const string extensions = getExtensions(arbFunctions) + subgroups::getAdditionalExtensionForFormat(caseDef.format);
295 subgroups::initStdPrograms(programCollection, buildOptions, caseDef.shaderStage, caseDef.format, pointSize, extensions, getStageTestSource(caseDef), "");
308 if (!subgroups::isFormatSupportedForDevice(context, caseDef.format))
309 TCU_THROW(NotSupportedError, "Device does not support the specified format in subgroup operations");
315 TCU_THROW(NotSupportedError, "Device does not support the specified format in subgroup operations");
323 TCU_THROW(NotSupportedError, "Device does not support the specified format in subgroup operations");
393 caseDef.format, // vk::VkFormat format;
435 caseDef.format, // vk::VkFormat format;
476 caseDef.format, // vk::VkFormat format;
493 caseDef.format, // vk::VkFormat format;
555 const VkFormat format = formats[formatIndex];
556 const bool needs8BitUBOStorage = isFormat8bitTy(format);
557 const bool needs16BitUBOStorage = isFormat16BitTy(format);
558 const deBool formatIsNotVector = format == VK_FORMAT_R8_USCALED
559 || format == VK_FORMAT_R32_UINT
560 || format == VK_FORMAT_R32_SINT
561 || format == VK_FORMAT_R32_SFLOAT
562 || format == VK_FORMAT_R64_SFLOAT;
579 if (opType == OPTYPE_ALLEQUAL_ARB && format != VK_FORMAT_R8_USCALED)
583 if ((VK_FORMAT_R32_UINT != format) && (OPTYPE_ALLEQUAL != opType) && (OPTYPE_ALLEQUAL_ARB != opType))
589 const string name = op + "_" + subgroups::getFormatNameForGLSL(format);
607 format, // VkFormat format;
628 format, // VkFormat format;
645 format, // VkFormat format;
661 format, // VkFormat format;
677 format, // VkFormat format;
697 const VkFormat format = formats[formatIndex];
704 if ((VK_FORMAT_R32_UINT != format) && (OPTYPE_ALLEQUAL != opType))
710 const string name = op + "_" + subgroups::getFormatNameForGLSL(format);
715 format, // VkFormat format;