Home
last modified time | relevance | path

Searched refs:numLocations (Results 1 - 7 of 7) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampleSampleLocationsExtTests.cpp334 const deUint32 numLocations = 1u << subPixelBits; in fillSampleLocationsPacked() local
342 const UVec2 baseLocationNdx (rng.getUint32() % numLocations, in fillSampleLocationsPacked()
343 rng.getUint32() % numLocations); in fillSampleLocationsPacked()
353 static_cast<float>(locationNdx.x()) / static_cast<float>(numLocations), // float x; in fillSampleLocationsPacked()
354 static_cast<float>(locationNdx.y()) / static_cast<float>(numLocations), // float y; in fillSampleLocationsPacked()
364 locationNdx.x() = static_cast<deUint32>(deClamp32(locationNdx.x() + offset[rng.getUint32() % DE_LENGTH_OF_ARRAY(offset)], 0u, numLocations - 1)); in fillSampleLocationsPacked()
365 locationNdx.y() = static_cast<deUint32>(deClamp32(locationNdx.y() + offset[rng.getUint32() % DE_LENGTH_OF_ARRAY(offset)], 0u, numLocations - 1)); in fillSampleLocationsPacked()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMultisampleSampleLocationsExtTests.cpp333 const deUint32 numLocations = 1u << subPixelBits; in fillSampleLocationsPacked() local
341 const UVec2 baseLocationNdx (rng.getUint32() % numLocations, in fillSampleLocationsPacked()
342 rng.getUint32() % numLocations); in fillSampleLocationsPacked()
352 static_cast<float>(locationNdx.x()) / static_cast<float>(numLocations), // float x; in fillSampleLocationsPacked()
353 static_cast<float>(locationNdx.y()) / static_cast<float>(numLocations), // float y; in fillSampleLocationsPacked()
363 locationNdx.x() = static_cast<deUint32>(deClamp32(locationNdx.x() + offset[rng.getUint32() % DE_LENGTH_OF_ARRAY(offset)], 0u, numLocations - 1)); in fillSampleLocationsPacked()
364 locationNdx.y() = static_cast<deUint32>(deClamp32(locationNdx.y() + offset[rng.getUint32() % DE_LENGTH_OF_ARRAY(offset)], 0u, numLocations - 1)); in fillSampleLocationsPacked()
/third_party/glslang/glslang/MachineIndependent/
H A Diomapper.cpp1188 int numLocations = TIntermediate::computeTypeUniformLocationSize(type); in reserverStorageSlot() local
1189 reserveSlot(storageKey, location, numLocations); in reserverStorageSlot()
1214 int numLocations = TIntermediate::computeTypeUniformLocationSize(type); in reserverStorageSlot() local
1215 reserveSlot(storageKey, location, numLocations); in reserverStorageSlot()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFragmentOutputTests.cpp1057 int numLocations = useArray ? arrayLen : 1; in createRandomCase()
1061 for (int ndx = 0; ndx < numLocations; ndx++) in createRandomCase()
1064 curLoc += numLocations; in createRandomCase()
/third_party/vk-gl-cts/modules/glshared/
H A DglsShaderExecUtil.cpp501 const int numLocations = glu::getDataTypeNumLocations(it->varType.getBasicType()); in computeFragmentOutputLayout() local
505 location += numLocations; in computeFragmentOutputLayout()
507 for (int ndx = 0; ndx < numLocations; ++ndx) in computeFragmentOutputLayout()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderExecutor.cpp618 const int numLocations = glu::getDataTypeNumLocations(it->varType.getBasicType()); in computeFragmentOutputLayout() local
622 location += numLocations; in computeFragmentOutputLayout()
624 for (int ndx = 0; ndx < numLocations; ++ndx) in computeFragmentOutputLayout()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderExecutor.cpp618 const int numLocations = glu::getDataTypeNumLocations(it->varType.getBasicType()); in computeFragmentOutputLayout() local
622 location += numLocations; in computeFragmentOutputLayout()
624 for (int ndx = 0; ndx < numLocations; ++ndx) in computeFragmentOutputLayout()

Completed in 30 milliseconds