Home
last modified time | relevance | path

Searched refs:bufferValue (Results 1 – 10 of 10) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSyncTests.cpp1082 uint32_t bufferValue; in iterate() local
1083 deMemcpy(&bufferValue, hostCoherentDataPtr, sizeof(bufferValue)); in iterate()
1085 if (bufferValue != m_params.testValue) in iterate()
1088 …msg << "Unexpected value in auxiliar host-coherent buffer: found " << bufferValue << " and expecte… in iterate()
1097 uint32_t bufferValue; in iterate() local
1100 deMemcpy(&bufferValue, resourceBufferDataPtr, sizeof(bufferValue)); in iterate()
1102 if (bufferValue != m_params.testValue) in iterate()
1105 …msg << "Unexpected value in resource buffer: found " << bufferValue << " and expected " << m_param… in iterate()
1112 uint32_t bufferValue; in iterate() local
1113 deMemcpy(&bufferValue, colorVerificationDataPtr, sizeof(bufferValue)); in iterate()
[all …]
DvktMeshShaderPropertyTests.cpp232 const auto& bufferValue = bufferData[idx]; in iterate() local
234 if (bufferValue != expected) in iterate()
235 …nexpected value found in buffer position " + de::toString(idx) + ": " + de::toString(bufferValue)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryDirectionTests.cpp466 float bufferValue = 0.0f; in iterate() local
468 deMemcpy(&bufferValue, bufferAlloc.getHostPtr(), sizeof(bufferValue)); in iterate()
473 if (de::abs(bufferValue - distanceToEdge) > kDefaultTolerance) in iterate()
476 …msg << "Result distance (" << bufferValue << ") differs from expected distance (" << distanceToEdg… in iterate()
483 if (bufferValue != 0.0f) in iterate()
486 msg << "Result distance nonzero (" << bufferValue << ")"; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDirectionTests.cpp600 float bufferValue = 0.0f; in iterate() local
602 deMemcpy(&bufferValue, bufferAlloc.getHostPtr(), sizeof(bufferValue)); in iterate()
607 if (de::abs(bufferValue - distanceToEdge) > kDefaultTolerance) in iterate()
610 …msg << "Result distance (" << bufferValue << ") differs from expected distance (" << distanceToEdg… in iterate()
617 if (bufferValue != 0.0f) in iterate()
620 msg << "Result distance nonzero (" << bufferValue << ")"; in iterate()
DvktRayTracingMiscTests.cpp8672 float bufferValue = 0.0f; in nullMissInstance() local
8674 deMemcpy(&bufferValue, bufferAlloc.getHostPtr(), sizeof(bufferValue)); in nullMissInstance()
8676 if (bufferValue != 0.0f) in nullMissInstance()
8677 TCU_FAIL("Unexpected value found in buffer: " + de::toString(bufferValue)); in nullMissInstance()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DPixelRoutine.hpp72 …void stencilOperation(Byte8 &newValue, Byte8 &bufferValue, StencilOperation stencilPassOperation, …
73 void stencilOperation(Byte8 &output, Byte8 &bufferValue, StencilOperation operation, bool CCW);
DPixelRoutine.cpp757 Byte8 bufferValue = *Pointer<Byte8>(buffer); in writeStencil() local
760 …stencilOperation(newValue, bufferValue, state.stencilPassOperation, state.stencilZFailOperation, s… in writeStencil()
764 Byte8 maskedValue = bufferValue; in writeStencil()
774 …stencilOperation(newValueCCW, bufferValue, state.stencilPassOperationCCW, state.stencilZFailOperat… in writeStencil()
778 Byte8 maskedValue = bufferValue; in writeStencil()
790 bufferValue &= *Pointer<Byte8>(constants + OFFSET(Constants,invMaskB4Q) + 8 * cMask); in writeStencil()
791 newValue |= bufferValue; in writeStencil()
796 …void PixelRoutine::stencilOperation(Byte8 &newValue, Byte8 &bufferValue, StencilOperation stencilP… in stencilOperation() argument
802 stencilOperation(pass, bufferValue, stencilPassOperation, CCW); in stencilOperation()
806 stencilOperation(zFail, bufferValue, stencilZFailOperation, CCW); in stencilOperation()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.hpp70 …void stencilOperation(Byte8 &newValue, const Byte8 &bufferValue, const PixelProcessor::States::Ste…
71 void stencilOperation(Byte8 &output, const Byte8 &bufferValue, VkStencilOp operation, bool isBack);
DPixelRoutine.cpp809 Byte8 bufferValue = *Pointer<Byte8>(buffer) & Byte8(-1, -1, 0, 0, 0, 0, 0, 0); in writeStencil() local
810bufferValue = bufferValue | (*Pointer<Byte8>(buffer + pitch - 2) & Byte8(0, 0, -1, -1, 0, 0, 0, 0)… in writeStencil()
812 stencilOperation(newValue, bufferValue, state.frontStencil, false, zMask[q], sMask[q]); in writeStencil()
816 Byte8 maskedValue = bufferValue; in writeStencil()
824 stencilOperation(newValueBack, bufferValue, state.backStencil, true, zMask[q], sMask[q]); in writeStencil()
828 Byte8 maskedValue = bufferValue; in writeStencil()
839 bufferValue &= *Pointer<Byte8>(constants + OFFSET(Constants, invMaskB4Q) + 8 * cMask[q]); in writeStencil()
840 newValue |= bufferValue; in writeStencil()
847 void PixelRoutine::stencilOperation(Byte8 &newValue, const Byte8 &bufferValue, const PixelProcessor… in stencilOperation() argument
853 stencilOperation(pass, bufferValue, ops.passOp, isBack); in stencilOperation()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorCopyTests.cpp609 } bufferValue; in init() local
611 bufferValue.uintValue = m_id + (arrayIdx * m_numDynamicAreas) + dynamicAreaIdx; in init()
614 bufferValue.floatValue = (float)bufferValue.uintValue; in init()
616 hostPtr[(256 / 4) * (m_numDynamicAreas * arrayIdx + dynamicAreaIdx)] = bufferValue.uintValue; in init()