Home
last modified time | relevance | path

Searched refs:storeColorScale (Results 1 – 3 of 3) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp95 const float storeColorScale = computeStoreColorScale(caseDef.format, caseDef.texture.size()); in initPrograms() local
97 DE_ASSERT(colorScaleAndBiasAreValid(caseDef.format, storeColorScale, storeColorBias)); in initPrograms()
99 …const std::string colorScaleExpr = (storeColorScale == 1.0f ? "" : "*" + de::toString(storeColorS… in initPrograms()
DvktImageLoadStoreTests.cpp272 const float storeColorScale = computeStoreColorScale(imageFormat, imageSize); in generateReferenceImage() local
292 access.setPixel(color.asFloat()*storeColorScale + storeColorBias, x, y, z); in generateReferenceImage()
499 const float storeColorScale = computeStoreColorScale(m_format, m_texture.size()); in initPrograms() local
501 DE_ASSERT(colorScaleAndBiasAreValid(m_format, storeColorScale, storeColorBias)); in initPrograms()
556 …std::string colorExpr = colorBaseExpr + (storeColorScale == 1.0f ? "" : "*" + de::toString(storeCo… in initPrograms()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp1148 …const float storeColorScale = isFormatTypeUnorm(m_format.type) ? 1.0f / (float)(maxImageDime… in iterate() local
1182 …const string colorExpr = colorBaseExpr + (storeColorScale == 1.0f ? "" : "*" + toString(storeC… in iterate()
1255 DE_ASSERT(!isIntegerFormat || (storeColorScale == 1.0f && storeColorBias == 0.0f)); in iterate()
1266 reference.setPixel(x, y, z, color.asFloat()*storeColorScale + storeColorBias); in iterate()
1367 …const float storeColorScale = isFormatTypeUnorm(m_textureFormat.type) ? 1.0f / (float)(maxI… in iterate() local
1389 DE_ASSERT(!isIntegerTextureFormat || (storeColorScale == 1.0f && storeColorBias == 0.0f)); in iterate()
1400 reference.setPixel(x, y, z, color.asFloat()*storeColorScale + storeColorBias); in iterate()