name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
tcu::is2DTrilinearFilterResultValid(tcu::LookupPrecision const&, tcu::ColorQuad const&, tcu::ColorQuad const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, float, tcu::Vector<float, 4> const&) | static bool is2DTrilinearFilterResultValid (const LookupPrecision& prec,
const ColorQuad& quad0,
const ColorQuad& quad1,
const Vec2& xBounds0,
const Vec2& yBounds0,
const Vec2& xBounds1,
const Vec2& yBounds1,
const Vec2& zBoun... | pushq %rbp
movq %rsp, %rbp
subq $0x1e0, %rsp # imm = 0x1E0
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movss %xmm0, -0x3c(%rbp)
movq -0x10(%rbp), %rdi
... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp |
bool tcu::isNearestSampleResultValid<tcu::LookupPrecision, float>(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::LookupPrecision const&, float, int, tcu::Vector<float, 4> const&) | static bool isNearestSampleResultValid (const ConstPixelBufferAccess& level,
const Sampler& sampler,
const PrecType& prec,
const float coordX,
const int coordY,
const Vector<ScalarType, 4>& result)
{
DE_ASSERT(level.getDepth() == 1);
const Vec... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movss %xmm0, -0x24(%rbp)
movl %ecx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movb 0x18(%rax), %al
movb %al, -0x59(%rbp)
movq -0x10(%rbp), %rdi
callq 0x64b040
movl %eax, -0x68(%rbp)
movss -0x2... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp |
tcu::isLinearMipmapLinearSampleResultValid(tcu::ConstPixelBufferAccess const&, tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::LookupPrecision const&, float, int, tcu::Vector<float, 2> const&, tcu::Vector<float, 4> const&) | static bool isLinearMipmapLinearSampleResultValid (const ConstPixelBufferAccess& level0,
const ConstPixelBufferAccess& level1,
const Sampler& sampler,
const LookupPrecision& prec,
const float coordX,
const int coordY,
... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movss %xmm0, -0x2c(%rbp)
movl %r8d, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movq -0x10(%rbp), %rdi
callq 0x64b040
movl %eax, -0x3c(%rbp)
movq ... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp |
tcu::is1DTrilinearFilterResultValid(tcu::LookupPrecision const&, tcu::ColorLine const&, tcu::ColorLine const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, float, tcu::Vector<float, 4> const&) | static bool is1DTrilinearFilterResultValid (const LookupPrecision& prec,
const ColorLine& line0,
const ColorLine& line1,
const Vec2& xBounds0,
const Vec2& xBounds1,
const Vec2& zBounds,
const float searchStep,
const Vec4& resu... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movss %xmm0, -0x3c(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movq 0x10(%rbp), %rcx
ca... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp |
tcu::isSeamplessLinearMipmapLinearSampleResultValid(tcu::ConstPixelBufferAccess const (&) [6], tcu::ConstPixelBufferAccess const (&) [6], tcu::Sampler const&, tcu::LookupPrecision const&, tcu::CubeFaceCoords<float> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 4> const&) | static bool isSeamplessLinearMipmapLinearSampleResultValid (const ConstPixelBufferAccess (&faces0)[CUBEFACE_LAST],
const ConstPixelBufferAccess (&faces1)[CUBEFACE_LAST],
const Sampler& sampler,
const LookupPrecision& prec,
const CubeFaceFloatCoords& coo... | pushq %rbp
movq %rsp, %rbp
subq $0x4c0, %rsp # imm = 0x4C0
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rax
movl (%rax), %eax
imulq $0x28, %rax, %rax
addq... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp |
tcu::isLinearSampleResultValid(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::LookupPrecision const&, tcu::Vector<float, 3> const&, tcu::Vector<float, 4> const&) | static bool isLinearSampleResultValid (const ConstPixelBufferAccess& level,
const Sampler& sampler,
const LookupPrecision& prec,
const Vec3& coord,
const Vec4& result)
{
const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoo... | pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp # imm = 0x1A0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movb 0x18(%rax), %al
movb %al, -0x169(%rbp)
movq -0x10(%rbp), %rdi
callq 0x64b040
movl %eax, -0x178(%rbp)
movq -0... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp |
tcu::isTrilinearRangeValid(tcu::LookupPrecision const&, tcu::ColorQuad const&, tcu::ColorQuad const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, float, tcu::Vector<float, 4> const&) | static bool isTrilinearRangeValid (const LookupPrecision& prec,
const ColorQuad& quad0,
const ColorQuad& quad1,
const Vec2& xBounds,
const Vec2& yBounds,
const Vec2& zBounds,
const float searchStep,
const Vec4& result)
{
DE... | pushq %rbp
movq %rsp, %rbp
subq $0x1c0, %rsp # imm = 0x1C0
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movss %xmm0, -0x3c(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rd... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp |
tcu::isGatherOffsetsCompareResultValid(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::TexComparePrecision const&, tcu::Vector<float, 2> const&, int, tcu::Vector<int, 2> const (&) [4], float, tcu::Vector<float, 4> const&) | static bool isGatherOffsetsCompareResultValid (const ConstPixelBufferAccess& texture,
const Sampler& sampler,
const TexComparePrecision& prec,
const Vec2& coord,
int coordZ,
const IVec2 (&offsets)[4],
float c... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
movq %r9, -0x38(%rbp)
movss %xmm0, -0x3c(%rbp)
movq -0x10(%rbp), %rdi
callq 0x64b030
movq %rax, %rdi
callq 0xdb3be0
andb $0x1, %al
movb %al... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::isGatherOffsetsCompareResultValid(tcu::Texture2DArrayView const&, tcu::Sampler const&, tcu::TexComparePrecision const&, tcu::Vector<float, 3> const&, tcu::Vector<int, 2> const (&) [4], float, tcu::Vector<float, 4> const&) | bool isGatherOffsetsCompareResultValid (const Texture2DArrayView& texture,
const Sampler& sampler,
const TexComparePrecision& prec,
const Vec3& coord,
const IVec2 (&offsets)[4],
float cmpReference,
const Vec4& result)
{
const float depthE... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movss %xmm0, -0x34(%rbp)
movq %r9, -0x40(%rbp)
movq -0x28(%rbp), %rdi
callq 0x5c7ca0
movss %xmm0, -0x70(%rbp)
movq -0x20(%rbp), %rdi
callq 0x53e880
movss -0x70(%r... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::isGatherCompareResultValid(tcu::TextureCubeView const&, tcu::Sampler const&, tcu::TexComparePrecision const&, tcu::CubeFaceCoords<float> const&, float, tcu::Vector<float, 4> const&) | static bool isGatherCompareResultValid (const TextureCubeView& texture,
const Sampler& sampler,
const TexComparePrecision& prec,
const CubeFaceFloatCoords& coords,
float cmpReference,
const Vec4& result)
{
const bool isFixedPointDepth = isFixedPointDepthTe... | pushq %rbp
movq %rsp, %rbp
subq $0x210, %rsp # imm = 0x210
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movss %xmm0, -0x2c(%rbp)
movq %r8, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rax
movl (%rax), %edx
xorl %esi, %esi
callq 0x9049d0
movq %rax, %rdi
... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::isLinearCompareResultValid(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::TexComparePrecision const&, tcu::Vector<float, 2> const&, int, float, float) | static bool isLinearCompareResultValid (const ConstPixelBufferAccess& level,
const Sampler& sampler,
const TexComparePrecision& prec,
const Vec2& coord,
const int coordZ,
const float cmpReference,
const float result)
{
const bo... | pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
movss %xmm0, -0x30(%rbp)
movss %xmm1, -0x34(%rbp)
movq -0x10(%rbp), %rdi
callq 0x64b030
movq %rax, %rdi
callq 0xdb3be0
andb $0x1, %al
movb %al, -0x35(%rbp)
movq ... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::isBilinearAnyCompareValid(tcu::Sampler::CompareMode, tcu::TexComparePrecision const&, tcu::Vector<float, 4> const&, float, float, bool) | static bool isBilinearAnyCompareValid (const Sampler::CompareMode compareMode,
const TexComparePrecision& prec,
const Vec4& depths,
const float cmpReference,
const float result,
const bool isFixedPointDepth)
{
DE_ASSERT(prec.pcfBits == 0);
c... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %cl, %al
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movss %xmm0, -0x1c(%rbp)
movss %xmm1, -0x20(%rbp)
andb $0x1, %al
movb %al, -0x21(%rbp)
movq -0x18(%rbp), %rdi
xorl %esi, %esi
callq 0x53b940
movss (%rax), %xmm0
movss %xmm0, -0x28(%rbp)
movq -0x... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::execCompare(tcu::Sampler::CompareMode, float, float, int, bool) | static CmpResultSet execCompare (const Sampler::CompareMode compareMode,
const float cmpValue_,
const float cmpReference_,
const int referenceBits,
const bool isFixedPoint)
{
const bool clampValues = isFixedPoint; // if comparing against a floating point texture, ref... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movb %dl, %al
movl %edi, -0x8(%rbp)
movss %xmm0, -0xc(%rbp)
movss %xmm1, -0x10(%rbp)
movl %esi, -0x14(%rbp)
andb $0x1, %al
movb %al, -0x15(%rbp)
movb -0x15(%rbp), %al
andb $0x1, %al
movb %al, -0x16(%rbp)
testb $0x1, -0x16(%rbp)
je 0xdb44b9
movss -0xc(%rbp), %xmm0
xorps %xmm1,... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::isResultInSet(tcu::CmpResultSet, float, int) | static inline bool isResultInSet (const CmpResultSet resultSet, const float result, const int resultBits)
{
const float err = computeFixedPointError(resultBits);
const float minR = result-err;
const float maxR = result+err;
return (resultSet.isTrue && de::inRange(1.0f, minR, maxR)) ||
(resultSet.isFalse && d... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movw %di, %ax
movw %ax, -0x2(%rbp)
movss %xmm0, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl -0xc(%rbp), %edi
callq 0xdb8100
movss %xmm0, -0x10(%rbp)
movss -0x8(%rbp), %xmm0
subss -0x10(%rbp), %xmm0
movss %xmm0, -0x14(%rbp)
movss -0x8(%rbp), %xmm0
addss -0x10(%rbp), %xmm0
movss %xmm... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::isLinearMipmapLinearCompareResultValid(tcu::ConstPixelBufferAccess const&, tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::TexComparePrecision const&, tcu::Vector<float, 2> const&, int, tcu::Vector<float, 2> const&, float, float) | static bool isLinearMipmapLinearCompareResultValid (const ConstPixelBufferAccess& level0,
const ConstPixelBufferAccess& level1,
const Sampler& sampler,
const TexComparePrecision& prec,
const Vec2& coord,
const int coordZ,
const... | pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x1b8, %rsp # imm = 0x1B8
movq 0x10(%rbp), %rax
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movl %r9d, -0x3c(%rbp)
movss %xmm0, -0x40(%rbp)
movss %xmm1, -0x44(%rbp)
movq -0x18(%rbp), %rdi
callq 0... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::isNearestMipmapLinearCompareResultValid(tcu::ConstPixelBufferAccess const&, tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::TexComparePrecision const&, tcu::Vector<float, 2> const&, int, tcu::Vector<float, 2> const&, float, float) | static bool isNearestMipmapLinearCompareResultValid (const ConstPixelBufferAccess& level0,
const ConstPixelBufferAccess& level1,
const Sampler& sampler,
const TexComparePrecision& prec,
const Vec2& coord,
const int coordZ,
... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movl %r9d, -0x34(%rbp)
movss %xmm0, -0x38(%rbp)
movss %xmm1, -0x3c(%rbp)
movq -0x10(%rbp), %rdi
callq 0x64b030
mov... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::isTrilinearAnyCompareValid(tcu::Sampler::CompareMode, tcu::TexComparePrecision const&, tcu::Vector<float, 4> const&, tcu::Vector<float, 4> const&, float, float, bool) | static bool isTrilinearAnyCompareValid (const Sampler::CompareMode compareMode,
const TexComparePrecision& prec,
const Vec4& depths0,
const Vec4& depths1,
const float cmpReference,
const float result,
const bool isFixedPointDepth)
{
DE_ASS... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movb %r8b, %al
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movss %xmm0, -0x24(%rbp)
movss %xmm1, -0x28(%rbp)
andb $0x1, %al
movb %al, -0x29(%rbp)
movl -0x4(%rbp), %eax
movl %eax, -0x6c(%rbp)
movq -0x18(%rbp), %rdi
xorl %esi, %esi... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::isLinearCompareValid(tcu::Sampler::CompareMode, tcu::TexComparePrecision const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, float, float, bool) | static bool isLinearCompareValid (const Sampler::CompareMode compareMode,
const TexComparePrecision& prec,
const Vec2& depths,
const Vec2& fBounds,
const float cmpReference,
const float result,
const bool isFixedPointDepth)
{
DE_ASSERT(0.0... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movb %r8b, %al
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movss %xmm0, -0x24(%rbp)
movss %xmm1, -0x28(%rbp)
andb $0x1, %al
movb %al, -0x29(%rbp)
movq -0x18(%rbp), %rdi
xorl %esi, %esi
callq 0x5d15f0
movss (%rax), %xmm0
movss %xm... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexCompareVerifier.cpp |
tcu::TexVerifierUtil::computeNonNormalizedCoordBounds(bool, int, float, int, int) | Vec2 computeNonNormalizedCoordBounds (const bool normalizedCoords, const int dim, const float coord, const int coordBits, const int uvBits)
{
const float coordErr = computeFloatingPointError(coord, coordBits);
const float minN = coord - coordErr;
const float maxN = coord + coordErr;
const float minA = no... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x48(%rbp)
movb %sil, %al
movq %rdi, %rsi
movq %rsi, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movl %edx, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movl %r8d, -0x1c(%rbp)
movss -0x14(%rbp), %xmm0
movl -0x18(%rbp), %edi... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexVerifierUtil.cpp |
tcu::TexVerifierUtil::getPossibleCubeFaces(tcu::Vector<float, 3> const&, tcu::Vector<int, 3> const&, tcu::CubeFace*, int&) | void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces)
{
const float x = coord.x();
const float y = coord.y();
const float z = coord.z();
const float ax = de::abs(x);
const float ay = de::abs(y);
const float az = de::abs(z);
const float ex = computeFloatingPointError(x, ... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
callq 0x5c7c60
movss %xmm0, -0x24(%rbp)
movq -0x8(%rbp), %rdi
callq 0x5c7c80
movss %xmm0, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x5c7ca0
movss %xmm0, -0x2c(%rbp)... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexVerifierUtil.cpp |
tcu::TexVerifierUtil::wrap(tcu::Sampler::WrapMode, int, int) | int wrap (Sampler::WrapMode mode, int c, int size)
{
switch (mode)
{
// \note CL and GL modes are handled identically here, as verification process accounts for
// accuracy differences caused by different methods (wrapping vs. denormalizing first).
case tcu::Sampler::CLAMP_TO_BORDER:
return deClamp32(c, -1... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl -0x8(%rbp), %eax
movq %rax, -0x18(%rbp)
subq $0x6, %rax
ja 0xdb868f
movq -0x18(%rbp), %rax
leaq 0xf6373(%rip), %rcx # 0xeae980
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0xc(%rbp), %e... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTexVerifierUtil.cpp |
tcu::operator<<(tcu::SeedBuilder&, int) | SeedBuilder& operator<< (SeedBuilder& builder, deInt32 value)
{
const deInt32 val = value ^ 53054741;
const deUint8 data[] =
{
(deUint8)(((deUint32)val) & 0xFFu),
(deUint8)((((deUint32)val) >> 8) & 0xFFu),
(deUint8)((((deUint32)val) >> 16) & 0xFFu),
(deUint8)((((deUint32)val) >> 24) & 0xFFu),
};
builder.... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl -0xc(%rbp), %eax
xorl $0x3298d15, %eax # imm = 0x3298D15
movl %eax, -0x10(%rbp)
movl -0x10(%rbp), %eax
andl $0xff, %eax
movb %al, -0x14(%rbp)
movl -0x10(%rbp), %eax
shrl $0x8, %eax
andl $0xff, %eax
movb %al, -0x13(%rbp)
... | /kaydenl[P]VK-GL-CTS/framework/common/tcuSeedBuilder.cpp |
tcu::operator<<(tcu::SeedBuilder&, unsigned long) | SeedBuilder& operator<< (SeedBuilder& builder, deUint64 value)
{
const deUint64 val = value ^ 4664937258000467599ull;
const deUint8 data[] =
{
(deUint8)(val & 0xFFu),
(deUint8)((val >> 8) & 0xFFu),
(deUint8)((val >> 16) & 0xFFu),
(deUint8)((val >> 24) & 0xFFu),
(deUint8)((val >> 32) & 0xFFu),
(deUint8)... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movabsq $0x40bd2fb8629a468f, %rax # imm = 0x40BD2FB8629A468F
xorq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
andq $0xff, %rax
movb %al, -0x20(%rbp)
movq -0x18(%rbp), %rax
shrq $0x8, %rax
andq $0xff, %rax
movb %... | /kaydenl[P]VK-GL-CTS/framework/common/tcuSeedBuilder.cpp |
tcu::operator<<(tcu::SeedBuilder&, double) | SeedBuilder& operator<< (SeedBuilder& builder, double value)
{
// \note Assume that double has same endianess as uint64.
deUint64 val;
deMemcpy(&val, &value, sizeof(deUint64));
const deUint8 data[] =
{
(deUint8)(val & 0xFFu),
(deUint8)((val >> 8) & 0xFFu),
(deUint8)((val >> 16) & 0xFFu),
(deUint8)((val >... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movsd %xmm0, -0x10(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x10(%rbp), %rsi
movl $0x8, %edx
callq 0xdb9bf0
movq -0x18(%rbp), %rax
andq $0xff, %rax
movb %al, -0x20(%rbp)
movq -0x18(%rbp), %rax
shrq $0x8, %rax
andq $0xff, %rax
movb %al, -0x1f(%rbp)
movq -0x18(%... | /kaydenl[P]VK-GL-CTS/framework/common/tcuSeedBuilder.cpp |
tcu::DefaultHierarchyInflater::enterTestPackage(tcu::TestPackage*, std::vector<tcu::TestNode*, std::allocator<tcu::TestNode*>>&) | void DefaultHierarchyInflater::enterTestPackage (TestPackage* testPackage, vector<TestNode*>& children)
{
{
Archive* const pkgArchive = testPackage->getArchive();
if (pkgArchive)
m_testCtx.setCurrentArchive(*pkgArchive);
else
m_testCtx.setCurrentArchive(m_testCtx.getRootArchive());
}
testPackage->init(... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movq (%rdi), %rax
callq *0x30(%rax)
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0xdb9e24
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rdi
mo... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTestHierarchyIterator.cpp |
tcu::TestHierarchyIterator::~TestHierarchyIterator() | TestHierarchyIterator::~TestHierarchyIterator (void)
{
// Tear down inflated nodes in m_sessionStack
for (vector<NodeIter>::reverse_iterator iter = m_sessionStack.rbegin(); iter != m_sessionStack.rend(); ++iter)
{
TestNode* const node = iter->node;
const TestNodeType nodeType = node->getNodeType();
switch (... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rsi
movq %rsi, -0x30(%rbp)
addq $0x10, %rsi
leaq -0x10(%rbp), %rdi
callq 0xdba850
movq -0x30(%rbp), %rsi
addq $0x10, %rsi
leaq -0x18(%rbp), %rdi
movq %rdi, -0x40(%rbp)
callq 0xdba8d0
movq -0x40(%rbp), %rsi
leaq -0x10(%rbp), %rdi
callq 0... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTestHierarchyIterator.cpp |
tcu::writeXmlCaselist(tcu::TestHierarchyIterator&, qpXmlWriter_s*) | static void writeXmlCaselist (TestHierarchyIterator& iter, qpXmlWriter* writer)
{
DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE &&
iter.getNode()->getNodeType() == NODETYPE_PACKAGE);
{
const TestNode* node = iter.getNode();
qpXmlAttribute attribs[2];
int numAttribs = 0;
attrib... | pushq %rbp
movq %rsp, %rbp
subq $0x2f0, %rsp # imm = 0x2F0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0xdba580
movq %rax, -0x18(%rbp)
movl $0x0, -0x64(%rbp)
movq -0x18(%rbp), %rdi
callq 0x524760
movq %rax, %rdx
leaq -0x88(%rbp), %rdi
leaq 0xf2251(%rip), %rsi # 0xeaeaa2
callq... | /kaydenl[P]VK-GL-CTS/framework/common/tcuTestHierarchyUtil.cpp |
tcu::astc::(anonymous namespace)::NormalBlockParams::NormalBlockParams() | NormalBlockParams (void)
: weightGridWidth (-1)
, weightGridHeight (-1)
, weightISEParams (ISEMODE_LAST, -1)
, isDualPlane (true)
, ccs ((deUint32)-1)
, numPartitions (-1)
, isMultiPartSingleCemMode (false)
, partitionSeed ((deUint32)-1)
{
colorEndpointModes[0] = 0;
colorEndpoin... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
movl $0xffffffff, (%rdi) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x4(%rdi) # imm = 0xFFFFFFFF
addq $0x8, %rdi
movl $0x3, %esi
movl $0xffffffff, %edx # imm = 0xFFFFFFFF
callq 0xdbd740
movq -0x10(%rbp), ... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::generateDefaultISEInputs(tcu::astc::(anonymous namespace)::NormalBlockParams const&) | static NormalBlockISEInputs generateDefaultISEInputs (const NormalBlockParams& blockParams)
{
NormalBlockISEInputs result;
{
result.weight.isGivenInBlockForm = false;
const int numWeights = computeNumWeights(blockParams);
const int weightRangeMax = computeISERangeMax(blockParams.weightISEParams);
if (bloc... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x48(%rbp)
movq %rdi, %rax
movq %rax, -0x50(%rbp)
movq %rsi, -0x8(%rbp)
callq 0xdbf590
movq -0x48(%rbp), %rdi
movb $0x0, (%rdi)
movq -0x8(%rbp), %rdi
callq 0xdbfad0
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rdi
addq $0x8, %rdi
callq 0xdbfb10
movl %eax, -0x10(%rbp)
m... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::generateRandomBlock(unsigned char*, tcu::Vector<int, 3> const&, de::Random&) | void generateRandomBlock (deUint8* dst, const IVec3& blockSize, de::Random& rnd)
{
DE_ASSERT(blockSize.z() == 1);
if (rnd.getFloat() < 0.1f)
{
// Void extent block.
const bool isVoidExtentHDR = rnd.getBool();
const deUint16 r = isVoidExtentHDR ? deFloat32To16(rnd.getFloat(0.0f, 1.0f)) : (deUint16)rnd.ge... | pushq %rbp
movq %rsp, %rbp
subq $0xd30, %rsp # imm = 0xD30
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x53f4f0
movaps %xmm0, %xmm1
movss 0x4e269(%rip), %xmm0 # 0xe0e1f4
ucomiss %xmm1, %xmm0
jbe 0xdc011d
movq -0x18(%rbp), %rdi
callq 0x524f10
andb $0x1, ... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::isValidBlock(unsigned char const*, tcu::CompressedTexFormat, tcu::TexDecompressionParams::AstcMode) | bool isValidBlock (const deUint8* data, CompressedTexFormat format, TexDecompressionParams::AstcMode mode)
{
const tcu::IVec3 blockPixelSize = getBlockPixelSize(format);
const bool isSRGB = isAstcSRGBFormat(format);
const bool isLDR = isSRGB || mode == TexDecompressionParams::ASTCMODE_LDR;
// sRGB is no... | pushq %rbp
movq %rsp, %rbp
subq $0x950, %rsp # imm = 0x950
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl -0xc(%rbp), %esi
leaq -0x1c(%rbp), %rdi
callq 0xd6a9a0
movl -0xc(%rbp), %edi
callq 0xd6ad40
andb $0x1, %al
movb %al, -0x1d(%rbp)
movb $0x1, %al
testb $0x1, -0x1d(%rbp)
movb %al, ... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::generateDummyNormalBlocks(unsigned char*, unsigned long, int, int) | void generateDummyNormalBlocks (deUint8* dst, size_t numBlocks, int blockWidth, int blockHeight)
{
NormalBlockParams blockParams;
blockParams.weightGridWidth = 3;
blockParams.weightGridHeight = 3;
blockParams.weightISEParams = ISEParams(ISEMODE_PLAIN_BIT, 5);
blockParams.isDualPlane = false;
blockParams.... | pushq %rbp
movq %rsp, %rbp
subq $0xc90, %rsp # imm = 0xC90
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
leaq -0x4c(%rbp), %rdi
callq 0xdbf510
movl $0x3, -0x4c(%rbp)
movl $0x3, -0x48(%rbp)
leaq -0x54(%rbp), %rdi
movl $0x2, %esi
movl $0x5, %edx
callq 0xdbd740
movq ... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::Block128::Block128(unsigned char const*) | Block128 (const deUint8* src)
{
for (int wordNdx = 0; wordNdx < NUM_WORDS; wordNdx++)
{
m_words[wordNdx] = 0;
for (int byteNdx = 0; byteNdx < WORD_BYTES; byteNdx++)
m_words[wordNdx] |= (Word)src[wordNdx*WORD_BYTES + byteNdx] << (8*byteNdx);
}
} | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movl $0x0, -0x14(%rbp)
cmpl $0x2, -0x14(%rbp)
jge 0xdc0b67
movq -0x20(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq $0x0, (%rax,%rcx,8)
movl $0x0, -0x18(%rbp)
cmpl $0x8, -0x18(%rbp)
jge 0xdc0b5a
movq -0x20(%... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::decompressBlock(void*, tcu::astc::(anonymous namespace)::Block128 const&, int, int, bool, bool) | DecompressResult decompressBlock (void* dst, const Block128& blockData, int blockWidth, int blockHeight, bool isSRGB, bool isLDR)
{
DE_ASSERT(isLDR || !isSRGB);
// Decode block mode.
const ASTCBlockMode blockMode = getASTCBlockMode(blockData.getBits(0, 10));
// Check for block mode errors.
if (blockMode.isErro... | pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x640, %rsp # imm = 0x640
movl %r8d, -0x5bc(%rbp)
movl %ecx, %eax
movl -0x5bc(%rbp), %ecx
movl %eax, -0x5b8(%rbp)
movl %edx, %eax
movl -0x5b8(%rbp), %edx
movl %eax, -0x5b4(%rbp)
movq %rsi, %rax
movl -0x5b4(%rbp), %esi
movq %rax, -0x5b0(%rbp)
movq %rdi, %... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::getBlockTestTypeName(tcu::astc::BlockTestType) | const char* getBlockTestTypeName (BlockTestType testType)
{
switch (testType)
{
case BLOCK_TEST_TYPE_VOID_EXTENT_LDR: return "void_extent_ldr";
case BLOCK_TEST_TYPE_VOID_EXTENT_HDR: return "void_extent_hdr";
case BLOCK_TEST_TYPE_WEIGHT_GRID: return "weight_grid";
case BLOCK_TEST_TYPE_WEIGHT_ISE: ret... | pushq %rbp
movq %rsp, %rbp
movl %edi, -0xc(%rbp)
movl -0xc(%rbp), %eax
movq %rax, -0x18(%rbp)
subq $0xb, %rax
ja 0xdc14ae
movq -0x18(%rbp), %rax
leaq 0xed7bd(%rip), %rcx # 0xeaebc0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0xf0111(%rip), %rax # 0xeb1524
movq %rax, -0x8(%rbp)
jmp 0xdc14b6
leaq 0... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::writeBlockMode(tcu::astc::(anonymous namespace)::AssignBlock128&, tcu::astc::(anonymous namespace)::NormalBlockParams const&) | static void writeBlockMode (AssignBlock128& dst, const NormalBlockParams& blockParams)
{
const deUint32 d = blockParams.isDualPlane != 0;
// r and h initialized in switch below.
deUint32 r;
deUint32 h;
// a, b and blockModeLayoutNdx initialized in block mode layout index detecting loop below.
deUint32 a = (deU... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movzbl 0x10(%rax), %eax
andl $0x1, %eax
movl %eax, -0x14(%rbp)
movl $0xffffffff, -0x20(%rbp) # imm = 0xFFFFFFFF
movl $0xffffffff, -0x24(%rbp) # imm = 0xFFFFFFFF
movq -0x10(%rbp), %rdi
addq $0x8, %rdi
callq 0x... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::encodeISE(tcu::astc::(anonymous namespace)::BitAssignAccessStream&, tcu::astc::(anonymous namespace)::ISEParams const&, tcu::astc::(anonymous namespace)::ISEInput const&, int) | static void encodeISE (BitAssignAccessStream& dst, const ISEParams& params, const ISEInput& input, int numValues)
{
if (params.mode == ISEMODE_TRIT)
{
const int numBlocks = deDivRoundUp32(numValues, 5);
for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++)
{
const int numValuesInBlock = blockNdx == numBlo... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, (%rax)
jne 0xdc2932
movl -0x1c(%rbp), %edi
movl $0x5, %esi
callq 0xdbfb90
movl %eax, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::encodeISETritBlock(tcu::astc::(anonymous namespace)::BitAssignAccessStream&, int, bool, tcu::astc::(anonymous namespace)::ISEInput::Block const&, unsigned int const*, int) | static void encodeISETritBlock (BitAssignAccessStream& dst, int numBits, bool fromExplicitInputBlock, const ISEInput::Block& blockInput, const deUint32* nonBlockInput, int numValues)
{
// tritBlockTValue[t0][t1][t2][t3][t4] is a value of T (not necessarily the only one) that will yield the given trits when decoded.
s... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movb %dl, %al
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
andb $0x1, %al
movb %al, -0xd(%rbp)
movq %rcx, -0x18(%rbp)
movq %r8, -0x20(%rbp)
movl %r9d, -0x24(%rbp)
movl $0x0, -0x64(%rbp)
cmpl $0x5, -0x64(%rbp)
jge 0xdc2bef
movl -0x64(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0xdc2... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::setASTCErrorColorBlock(void*, int, int, bool) | inline void setASTCErrorColorBlock (void* dst, int blockWidth, int blockHeight, bool isSRGB)
{
if (isSRGB)
{
deUint8* const dstU = (deUint8*)dst;
for (int i = 0; i < blockWidth*blockHeight; i++)
{
dstU[4*i + 0] = 0xff;
dstU[4*i + 1] = 0;
dstU[4*i + 2] = 0xff;
dstU[4*i + 3] = 0xff;
}
}
else
{
... | pushq %rbp
movq %rsp, %rbp
movb %cl, %al
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
testb $0x1, -0x11(%rbp)
je 0xdc3868
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
movl -0xc(%rbp), %ecx
imull -0x10(%rbp), %ecx
cm... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::computeColorEndpoints(tcu::astc::(anonymous namespace)::ColorEndpointPair*, tcu::astc::(anonymous namespace)::Block128 const&, unsigned int const*, int, int, tcu::astc::(anonymous namespace)::ISEParams const&, int) | void computeColorEndpoints (ColorEndpointPair* dst, const Block128& blockData, const deUint32* endpointModes, int numPartitions, int numColorEndpointValues, const ISEParams& iseParams, int numBitsAvailable)
{
const int colorEndpointDataStart = numPartitions == 1 ? 17 : 29;
ISEDecodedResult colorEndpointData[18];
... | pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp # imm = 0x170
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl %r8d, -0x20(%rbp)
movq %r9, -0x28(%rbp)
movl -0x1c(%rbp), %edx
movl $0x1d, %eax
movl $0x11, %ecx
cmpl $0x1, %edx
cmovel %ecx, %eax
m... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::decodeISE(tcu::astc::(anonymous namespace)::ISEDecodedResult*, int, tcu::astc::(anonymous namespace)::BitAccessStream&, tcu::astc::(anonymous namespace)::ISEParams const&) | void decodeISE (ISEDecodedResult* dst, int numValues, BitAccessStream& data, const ISEParams& params)
{
if (params.mode == ISEMODE_TRIT)
{
const int numBlocks = deDivRoundUp32(numValues, 5);
for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++)
{
const int numValuesInBlock = blockNdx == numBlocks-1 ? numV... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpl $0x0, (%rax)
jne 0xdc4997
movl -0xc(%rbp), %edi
movl $0x5, %esi
callq 0xdbfb90
movl %eax, -0x24(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x24... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::decodeISETritBlock(tcu::astc::(anonymous namespace)::ISEDecodedResult*, int, tcu::astc::(anonymous namespace)::BitAccessStream&, int) | void decodeISETritBlock (ISEDecodedResult* dst, int numValues, BitAccessStream& data, int numBits)
{
DE_ASSERT(de::inRange(numValues, 1, 5));
deUint32 m[5];
m[0] = data.getNext(numBits);
deUint32 T01 = data.getNext(2);
m[1] = data.getNext(numBits);
deUint32 T23 = data.getNext(2);
m[2] = data.getNext(numB... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x18(%rbp), %rdi
movl -0x1c(%rbp), %esi
callq 0xdc6210
movl %eax, -0x30(%rbp)
movq -0x18(%rbp), %rdi
movl $0x2, %esi
movl %esi, -0x68(%rbp)
callq 0xdc6210
movl %eax, -0x34(%rbp)
mo... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::decodeHDREndpointMode11(tcu::Vector<unsigned int, 4>&, tcu::Vector<unsigned int, 4>&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) | void decodeHDREndpointMode11 (UVec4& e0, UVec4& e1, deUint32 v0, deUint32 v1, deUint32 v2, deUint32 v3, deUint32 v4, deUint32 v5)
{
const deUint32 major = (getBit(v5, 7) << 1) | getBit(v4, 7);
if (major == 3)
{
e0 = UVec4(v0<<4, v2<<4, getBits(v4,0,6)<<5, 0x780);
e1 = UVec4(v1<<4, v3<<4, getBits(v5,0,6)<<5, 0x7... | pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp # imm = 0x110
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movl %r8d, -0x1c(%rbp)
movl %r9d, -0x20(%rbp)
movl 0x18(%rbp), %edi
movl $0x7, %esi
callq 0xdc2780
shll %eax
movl %... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::interpolateWeights(tcu::astc::(anonymous namespace)::TexelWeightPair*, unsigned int const (&) [64], int, int, tcu::astc::(anonymous namespace)::ASTCBlockMode const&) | void interpolateWeights (TexelWeightPair* dst, const deUint32 (&unquantizedWeights) [64], int blockWidth, int blockHeight, const ASTCBlockMode& blockMode)
{
const int numWeightsPerTexel = blockMode.isDualPlane ? 2 : 1;
const deUint32 scaleX = (1024 + blockWidth/2) / (blockWidth-1);
const deUint32 scaleY = (10... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq %r8, -0x20(%rbp)
movq -0x20(%rbp), %rax
movb 0x2(%rax), %dl
movl $0x1, %eax
movl $0x2, %ecx
testb $0x1, %dl
cmovnel %ecx, %eax
movl %eax, -0x24(%rbp)
movl -0x14(%rbp), %eax
movl $0x2, %ecx
cltd
idi... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::isColorEndpointModeHDR(unsigned int) | inline bool isColorEndpointModeHDR (deUint32 mode)
{
return mode == 2 ||
mode == 3 ||
mode == 7 ||
mode == 11 ||
mode == 14 ||
mode == 15;
} | pushq %rbp
movq %rsp, %rbp
movl %edi, -0x4(%rbp)
movb $0x1, %al
cmpl $0x2, -0x4(%rbp)
movb %al, -0x5(%rbp)
je 0xdc79b8
movb $0x1, %al
cmpl $0x3, -0x4(%rbp)
movb %al, -0x5(%rbp)
je 0xdc79b8
movb $0x1, %al
cmpl $0x7, -0x4(%rbp)
movb %al, -0x5(%rbp)
je 0xdc79b8
movb $0x1, %al
cmpl $0xb, -0x4(%rbp)
movb %al, -0x5(%rbp)
je ... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::astc::(anonymous namespace)::computeTexelPartition(unsigned int, unsigned int, unsigned int, unsigned int, int, bool) | int computeTexelPartition (deUint32 seedIn, deUint32 xIn, deUint32 yIn, deUint32 zIn, int numPartitions, bool smallBlock)
{
DE_ASSERT(zIn == 0);
const deUint32 x = smallBlock ? xIn << 1 : xIn;
const deUint32 y = smallBlock ? yIn << 1 : yIn;
const deUint32 z = smallBlock ? zIn << 1 : zIn;
const deUint32 seed = s... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movb %r9b, %al
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl %edx, -0xc(%rbp)
movl %ecx, -0x10(%rbp)
movl %r8d, -0x14(%rbp)
andb $0x1, %al
movb %al, -0x15(%rbp)
testb $0x1, -0x15(%rbp)
je 0xdc79f3
movl -0x8(%rbp), %eax
shll %eax
movl %eax, -0x60(%rbp)
jmp 0xdc79f9
movl -0x... | /kaydenl[P]VK-GL-CTS/framework/common/tcuAstcUtil.cpp |
tcu::(anonymous namespace)::lineLineIntersect(tcu::Vector<long, 2> const&, tcu::Vector<long, 2> const&, tcu::Vector<long, 2> const&, tcu::Vector<long, 2> const&) | bool lineLineIntersect (const tcu::Vector<deInt64, 2>& line0Beg, const tcu::Vector<deInt64, 2>& line0End, const tcu::Vector<deInt64, 2>& line1Beg, const tcu::Vector<deInt64, 2>& line1End)
{
typedef tcu::Vector<deInt64, 2> I64Vec2;
// Lines do not intersect if the other line's endpoints are on the same side
// other... | pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp # imm = 0x110
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x18(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq -0x38(%rbp), %rdi
callq 0xd55990
movq -0x20(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq -0x48(%rbp), %rdi
callq... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::verifyTriangleGroupRasterization(tcu::Surface const&, tcu::TriangleSceneSpec const&, tcu::RasterizationArguments const&, tcu::TestLog&, tcu::VerificationMode) | bool verifyTriangleGroupRasterization (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, VerificationMode mode)
{
DE_ASSERT(mode < VERIFICATIONMODE_LAST);
const tcu::RGBA backGroundColor = tcu::RGBA(0, 0, 0, 255);
const tcu::RGBA triangleColor ... | pushq %rbp
movq %rsp, %rbp
subq $0xf80, %rsp # imm = 0xF80
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
leaq -0x30(%rbp), %rdi
xorl %ecx, %ecx
movl %ecx, -0xdd8(%rbp)
movl $0xff, %r8d
movl %r8d, -0xde0(%rbp)
movl %ecx, %esi
movl %ecx, %edx... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::verifyMultisampleLineGroupRasterization(tcu::Surface const&, tcu::LineSceneSpec const&, tcu::RasterizationArguments const&, tcu::TestLog&, tcu::(anonymous namespace)::ClipMode) | bool verifyMultisampleLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, ClipMode clipMode)
{
// Multisampled line == 2 triangles
const tcu::Vec2 viewportSize = tcu::Vec2((float)surface.getWidth(), (float)surface.getHeight());
con... | pushq %rbp
movq %rsp, %rbp
subq $0x300, %rsp # imm = 0x300
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq -0x8(%rbp), %rdi
callq 0x53bd90
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x1fc(%rbp)
movq -0x8(%rbp), %rdi
callq 0x53bda0
movss -0x1fc(%r... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::verifySinglesampleLineGroupRasterization(tcu::Surface const&, tcu::LineSceneSpec const&, tcu::RasterizationArguments const&, tcu::TestLog&) | bool verifySinglesampleLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log)
{
DE_ASSERT(deFloatFrac(scene.lineWidth) != 0.5f); // rounding direction is not defined, disallow undefined cases
DE_ASSERT(scene.lines.size() < 255); // indic... | pushq %rbp
movq %rsp, %rbp
subq $0x29e0, %rsp # imm = 0x29E0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movb $0x1, -0x21(%rbp)
movb $0x0, -0x22(%rbp)
movl $0x0, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movss 0x18(%rax), %xmm0
movss 0x413f2(%rip)... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::verifyMultisamplePointGroupRasterization(tcu::Surface const&, tcu::PointSceneSpec const&, tcu::RasterizationArguments const&, tcu::TestLog&) | bool verifyMultisamplePointGroupRasterization (const tcu::Surface& surface, const PointSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log)
{
// Multisampled point == 2 triangles
const tcu::Vec2 viewportSize = tcu::Vec2((float)surface.getWidth(), (float)surface.getHeight());
TriangleSceneSpec t... | pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp # imm = 0x240
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
callq 0x53bd90
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x1ac(%rbp)
movq -0x8(%rbp), %rdi
callq 0x53bda0
movss -0x1ac(%rbp), %xmm0
cvtsi2ss %ea... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
bool tcu::(anonymous namespace)::verifyTriangleGroupInterpolationWithInterpolator<tcu::(anonymous namespace)::TriangleInterpolator>(tcu::Surface const&, tcu::TriangleSceneSpec const&, tcu::RasterizationArguments const&, tcu::TestLog&, tcu::(anonymous namespace)::TriangleInterpolator const&) | bool verifyTriangleGroupInterpolationWithInterpolator (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, const Interpolator& interpolator)
{
const tcu::RGBA invalidPixelColor = tcu::RGBA(255, 0, 0, 255);
const bool multisampled = (args.numSamples !... | pushq %rbp
movq %rsp, %rbp
subq $0x18c0, %rsp # imm = 0x18C0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
leaq -0x34(%rbp), %rdi
xorl %ecx, %ecx
movl $0xff, %r8d
movl %r8d, %esi
movl %ecx, %edx
callq 0x53ce10
movq -0x20(%rbp), %rax
movl (%ra... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::verifyMultisampleLineGroupInterpolation(tcu::Surface const&, tcu::LineSceneSpec const&, tcu::RasterizationArguments const&, tcu::TestLog&) | bool verifyMultisampleLineGroupInterpolation (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log)
{
// Multisampled line == 2 triangles
const tcu::Vec2 viewportSize = tcu::Vec2((float)surface.getWidth(), (float)surface.getHeight());
const float halfLine... | pushq %rbp
movq %rsp, %rbp
subq $0x340, %rsp # imm = 0x340
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
callq 0x53bd90
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x204(%rbp)
movq -0x8(%rbp), %rdi
callq 0x53bda0
movss -0x204(%rbp), %xmm0
cvtsi2ss %ea... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::pixelNearLineSegment(tcu::Vector<int, 2> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&) | bool pixelNearLineSegment (const tcu::IVec2& pixel, const tcu::Vec2& p0, const tcu::Vec2& p1)
{
const tcu::Vec2 pixelCenterPosition = tcu::Vec2((float)pixel.x() + 0.5f, (float)pixel.y() + 0.5f);
// "Near" = Distance from the line to the pixel is less than 2 * pixel_max_radius. (pixel_max_radius = sqrt(2) / 2)
const... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x5711c0
cvtsi2ss %eax, %xmm0
movss 0x380b8(%rip), %xmm1 # 0xe0e204
addss %xmm1, %xmm0
movss %xmm0, -0x74(%rbp)
movq -0x10(%rbp), %rdi
callq 0x5711d0
movss -0x74(%rbp), %xmm0
... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::applyClippingBox(tcu::Vector<float, 2>*, float) | void applyClippingBox (tcu::Vec2 line[2], float w)
{
for (int side = 0; side < 4; ++side)
{
const int sign = ((side / 2) * -2) + 1;
const int component = side % 2;
const float t = calculateIntersectionParameter(line, w * (float)sign, component);
if ((t > 0) && (t < 1))
{
const float newCoord = t * li... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movss %xmm0, -0xc(%rbp)
movl $0x0, -0x10(%rbp)
cmpl $0x4, -0x10(%rbp)
jge 0xdd655a
movl -0x10(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
imull $-0x2, %eax, %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
movl -0x10(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ec... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::genScreenSpaceLines(std::vector<tcu::Vector<float, 4>, std::allocator<tcu::Vector<float, 4>>>&, std::vector<tcu::LineSceneSpec::SceneLine, std::allocator<tcu::LineSceneSpec::SceneLine>> const&, tcu::Vector<int, 2> const&) | void genScreenSpaceLines (std::vector<tcu::Vec4>& screenspaceLines, const std::vector<LineSceneSpec::SceneLine>& lines, const tcu::IVec2& viewportSize)
{
DE_ASSERT(screenspaceLines.size() == lines.size());
for (int lineNdx = 0; lineNdx < (int)lines.size(); ++lineNdx)
{
const tcu::Vec2 lineNormalizedDeviceSpace[2]... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, -0x64(%rbp)
movq -0x10(%rbp), %rdi
callq 0xddf8e0
movq %rax, %rcx
movl -0x64(%rbp), %eax
cmpl %ecx, %eax
jge 0xdd6991
movq -0x10(%rbp), %rdi
movslq -0x... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::convertRGB8ToNativeFormat(tcu::RGBA const&, tcu::RasterizationArguments const&) | tcu::IVec3 convertRGB8ToNativeFormat (const tcu::RGBA& color, const RasterizationArguments& args)
{
tcu::IVec3 pixelNativeColor;
for (int channelNdx = 0; channelNdx < 3; ++channelNdx)
{
const int channelBitCount = (channelNdx == 0) ? (args.redBits) : (channelNdx == 1) ? (args.greenBits) : (args.blueBits);
const... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x38(%rbp)
movq %rdi, %rax
movq %rax, -0x30(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
callq 0x53ea70
movl $0x0, -0x1c(%rbp)
cmpl $0x3, -0x1c(%rbp)
jge 0xdd9538
cmpl $0x0, -0x1c(%rbp)
jne 0xdd9457
movq -0x18(%rbp), %rax
movl 0x8(%rax... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::calcLineInterpolationWeights(tcu::Vector<float, 2> const&, float, tcu::Vector<float, 2> const&, float, tcu::Vector<float, 2> const&) | LineInterpolationRange calcLineInterpolationWeights (const tcu::Vec2& pa, float wa, const tcu::Vec2& pb, float wb, const tcu::Vec2& pr)
{
const int roundError = 1;
const int divError = 3;
// calc weights:
// (1-t) / wa t / wb
// ------------------- , -------------------
// (1-t) / wa + t / wb (1-t) / w... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0xa0(%rbp)
movq %rdi, %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movss %xmm1, -0x24(%rbp)
movq %rcx, -0x30(%rbp)
movl $0x1, -0x34(%rbp)
movl $0x3, -0x38(%rbp)
movq -0x30(%rbp), %rsi
movq... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::maximalRangeDivision(float, float, float, float) | float maximalRangeDivision (float minDividend, float maxDividend, float minDivisor, float maxDivisor)
{
DE_ASSERT(minDividend <= maxDividend);
DE_ASSERT(minDivisor <= maxDivisor);
// special cases
if (minDividend == 0.0f && maxDividend == 0.0f)
return 0.0f;
if (minDivisor <= 0.0f && maxDivisor >= 0.0f)
return... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movss %xmm0, -0x8(%rbp)
movss %xmm1, -0xc(%rbp)
movss %xmm2, -0x10(%rbp)
movss %xmm3, -0x14(%rbp)
movss -0x8(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0xdd9a84
jp 0xdd9a84
movss -0xc(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0xdd9a84
jp 0xdd9a84
... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::verifyLineGroupPixelIndependentInterpolation(tcu::Surface const&, tcu::LineSceneSpec const&, tcu::RasterizationArguments const&, tcu::TestLog&, tcu::LineInterpolationMethod) | bool verifyLineGroupPixelIndependentInterpolation (const tcu::Surface& surface,
const LineSceneSpec& scene,
const RasterizationArguments& args,
tcu::TestLog& log,
LineInterpolationMethod interpolationMethod)
{
DE_ASSERT(scene.lines.size() < 8); //... | pushq %rbp
movq %rsp, %rbp
subq $0x15b0, %rsp # imm = 0x15B0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
leaq -0x30(%rbp), %rdi
xorl %ecx, %ecx
movl $0xff, %r8d
movl %r8d, %esi
movl %ecx, %edx
callq 0x53ce10
movq -0x10(%rbp), %rdi
callq 0x... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::setMaskMapCoverageBitForLine(int, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, float, tcu::PixelBufferAccess) | void setMaskMapCoverageBitForLine (int bitNdx, const tcu::Vec2& screenSpaceP0, const tcu::Vec2& screenSpaceP1, float lineWidth, tcu::PixelBufferAccess maskMap)
{
enum
{
MAX_PACKETS = 32,
};
rr::SingleSampleLineRasterizer rasterizer (tcu::IVec4(0, 0, maskMap.getWidth(), maskMap.getHeight()));
int numRa... | pushq %rbp
movq %rsp, %rbp
subq $0x960, %rsp # imm = 0x960
movq %rcx, -0x928(%rbp)
movl %edi, %eax
movq -0x928(%rbp), %rdi
movq %rdi, -0x920(%rbp)
movl %eax, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movss %xmm0, -0x1c(%rbp)
movq %rdi, -0x28(%rbp)
callq 0x64b040
movq -0x920(%rbp), %rdi
movl %e... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::LineInterpolationRange tcu::(anonymous namespace)::calcSingleSampleLineInterpolationRangeWithWeightEquation<tcu::(anonymous namespace)::LineInterpolationRange (*)(tcu::Vector<float, 2> const&, float, tcu::Vector<float, 2> const&, float, tcu::Vector<float, 2> const&)>(tcu::Vector<float, 2> co... | LineInterpolationRange calcSingleSampleLineInterpolationRangeWithWeightEquation (const tcu::Vec2& pa,
float wa,
const tcu::Vec2& pb,
float wb,
const tcu::IVec2& pixel,
int subpixelBits,
... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movq %rdi, -0xf8(%rbp)
movq %rdi, %rax
movq %rax, -0xf0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movss %xmm1, -0x24(%rbp)
movq %rcx, -0x30(%rbp)
movl %r8d, -0x34(%rbp)
movq %r9, -0x40(%rbp)
mo... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::getLineCoordAtAxisCoord(tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, bool, float) | tcu::Vec2 getLineCoordAtAxisCoord (const tcu::Vec2& pa, const tcu::Vec2& pb, bool isXAxis, float axisCoord)
{
const int fixedCoordNdx = (isXAxis) ? (0) : (1);
const int varyingCoordNdx = (isXAxis) ? (1) : (0);
const float fixedDifference = pb[fixedCoordNdx] - pa[fixedCoordNdx];
const float varyingDifference = p... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x58(%rbp)
movb %cl, %al
movq %rdi, %rcx
movq %rcx, -0x50(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movss %xmm0, -0x20(%rbp)
movb -0x19(%rbp), %dl
movl $0x1, %eax
xorl %ecx, %ecx
testb $0x1, %dl
... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::calcTriangleInterpolationWeights(tcu::Vector<float, 4> const&, tcu::Vector<float, 4> const&, tcu::Vector<float, 4> const&, tcu::Vector<float, 2> const&) | InterpolationRange calcTriangleInterpolationWeights (const tcu::Vec4& p0, const tcu::Vec4& p1, const tcu::Vec4& p2, const tcu::Vec2& ndpixel)
{
const int roundError = 1;
const int barycentricError = 3;
const int divError = 8;
const tcu::Vec2 nd0 = p0.swizzle(0, 1) / p0.w();
const tcu::Vec2 nd1 = p1.swizzle(0, ... | pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0xc0(%rbp)
movq %rdi, %rax
movq %rax, -0xb0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl $0x1, -0x2c(%rbp)
movl $0x3, -0x30(%rbp)
movl $0x8, -0x34(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x4... | /kaydenl[P]VK-GL-CTS/framework/common/tcuRasterizationVerifier.cpp |
tcu::(anonymous namespace)::comparePixelRGBA8(tcu::ConstPixelBufferAccess const&, tcu::ConstPixelBufferAccess const&, tcu::RGBA, int, int) | bool comparePixelRGBA8 (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, int x, int y)
{
const RGBA resPix = readRGBA8(result, (deUint32)x, (deUint32)y);
// Step 1: Compare result pixel to 3x3 neighborhood pixels in reference.
{
const deUint32 x0 = (deUint32)de... | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movl %edx, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl %r8d, -0x20(%rbp)
movq -0x18(%rbp), %rdi
movl -0x1c(%rbp), %esi
movl -0x20(%rbp), %edx
callq 0xde0620
movl %eax, -0x24(%rbp)
movl -0x1c(%rbp), %edi
subl $0x1, %edi
xorl %esi, %esi
... | /kaydenl[P]VK-GL-CTS/framework/common/tcuBilinearImageCompare.cpp |
tcu::(anonymous namespace)::readRGBA8(tcu::ConstPixelBufferAccess const&, unsigned int, unsigned int) | inline RGBA readRGBA8 (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y)
{
deUint32 raw = readRGBA8Raw(src, x, y);
deUint32 res = 0;
res |= getChannel<0>(raw) << RGBA::RED_SHIFT;
res |= getChannel<1>(raw) << RGBA::GREEN_SHIFT;
res |= getChannel<2>(raw) << RGBA::BLUE_SHIFT;
res |= getChannel<3>(raw) << R... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movl -0x18(%rbp), %edx
callq 0xde0900
movl %eax, -0x1c(%rbp)
movl $0x0, -0x20(%rbp)
movl -0x1c(%rbp), %edi
callq 0xde0950
movzbl %al, %eax
shll $0x0, %eax
orl -0... | /kaydenl[P]VK-GL-CTS/framework/common/tcuBilinearImageCompare.cpp |
tcu::fuzzyCompare(tcu::FuzzyCompareParams const&, tcu::ConstPixelBufferAccess const&, tcu::ConstPixelBufferAccess const&, tcu::PixelBufferAccess const&) | float fuzzyCompare (const FuzzyCompareParams& params, const ConstPixelBufferAccess& ref, const ConstPixelBufferAccess& cmp, const PixelBufferAccess& errorMask)
{
DE_ASSERT(ref.getWidth() == cmp.getWidth() && ref.getHeight() == cmp.getHeight());
DE_ASSERT(errorMask.getWidth() == ref.getWidth() && errorMask.getHeight()... | pushq %rbp
movq %rsp, %rbp
subq $0x320, %rsp # imm = 0x320
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x64b030
movq %rax, %rdi
callq 0xde1300
testb $0x1, %al
jne 0xde0ae2
jmp 0xde0af7
movq -0x18(%rbp), %rdi
callq 0x64b030
movq %rax,... | /kaydenl[P]VK-GL-CTS/framework/common/tcuFuzzyImageCompare.cpp |
void tcu::separableConvolve<4, 4>(tcu::PixelBufferAccess const&, tcu::ConstPixelBufferAccess const&, int, int, std::vector<float, std::allocator<float>> const&, std::vector<float, std::allocator<float>> const&) | static void separableConvolve (const PixelBufferAccess& dst, const ConstPixelBufferAccess& src, int shiftX, int shiftY, const std::vector<float>& kernelX, const std::vector<float>& kernelY)
{
DE_ASSERT(dst.getWidth() == src.getWidth() && dst.getHeight() == src.getHeight());
TextureLevel tmp (dst.getFormat(), dst.... | pushq %rbp
movq %rsp, %rbp
subq $0x1c0, %rsp # imm = 0x1C0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq %r8, -0x20(%rbp)
movq %r9, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x64b030
movq %rax, -0x150(%rbp)
movq -0x8(%rbp), %rdi
callq 0x64b060
movl %eax, -0x144... | /kaydenl[P]VK-GL-CTS/framework/common/tcuFuzzyImageCompare.cpp |
void tcu::separableConvolve<4, 3>(tcu::PixelBufferAccess const&, tcu::ConstPixelBufferAccess const&, int, int, std::vector<float, std::allocator<float>> const&, std::vector<float, std::allocator<float>> const&) | static void separableConvolve (const PixelBufferAccess& dst, const ConstPixelBufferAccess& src, int shiftX, int shiftY, const std::vector<float>& kernelX, const std::vector<float>& kernelY)
{
DE_ASSERT(dst.getWidth() == src.getWidth() && dst.getHeight() == src.getHeight());
TextureLevel tmp (dst.getFormat(), dst.... | pushq %rbp
movq %rsp, %rbp
subq $0x1b0, %rsp # imm = 0x1B0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq %r8, -0x20(%rbp)
movq %r9, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x64b030
movq %rax, -0x150(%rbp)
movq -0x8(%rbp), %rdi
callq 0x64b060
movl %eax, -0x144... | /kaydenl[P]VK-GL-CTS/framework/common/tcuFuzzyImageCompare.cpp |
unsigned int tcu::distSquaredToNeighbor<4>(de::Random&, unsigned int, tcu::ConstPixelBufferAccess const&, int, int) | static deUint32 distSquaredToNeighbor (de::Random& rnd, deUint32 pixel, const ConstPixelBufferAccess& surface, int x, int y)
{
// (x, y) + (0, 0)
deUint32 minDist = colorDistSquared(pixel, readUnorm8<NumChannels>(surface, x, y));
if (minDist == 0)
return minDist;
// Area around (x, y)
static const int s_coord... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movl %r8d, -0x28(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x4c(%rbp)
movq -0x20(%rbp), %rdi
movl -0x24(%rbp), %esi
movl -0x28(%rbp), %edx
callq 0xde1f70
movl -0x4c(%rbp), %edi
movl %ea... | /kaydenl[P]VK-GL-CTS/framework/common/tcuFuzzyImageCompare.cpp |
unsigned int tcu::bilinearSample<4>(tcu::ConstPixelBufferAccess const&, float, float) | inline deUint32 bilinearSample (const ConstPixelBufferAccess& src, float u, float v)
{
int w = src.getWidth();
int h = src.getHeight();
int x0 = deFloorFloatToInt32(u-0.5f);
int x1 = x0+1;
int y0 = deFloorFloatToInt32(v-0.5f);
int y1 = y0+1;
int i0 = de::clamp(x0, 0, w-1);
int i1 = de::clamp(x1, 0, w-1);
int... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movss %xmm0, -0xc(%rbp)
movss %xmm1, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x64b040
movl %eax, -0x14(%rbp)
movq -0x8(%rbp), %rdi
callq 0x64b060
movl %eax, -0x18(%rbp)
movss -0xc(%rbp), %xmm0
movss 0x2bc76(%rip), %xmm1 # 0xe0e204
subss %xmm1, %xmm0
c... | /kaydenl[P]VK-GL-CTS/framework/common/tcuFuzzyImageCompare.cpp |
de::ArrayBuffer_selfTest() | void ArrayBuffer_selfTest (void)
{
// default constructor
{
de::ArrayBuffer<int> buf;
DE_TEST_ASSERT(buf.size() == 0);
DE_TEST_ASSERT(buf.getPtr() == DE_NULL);
}
// sized constructor
{
de::ArrayBuffer<int> buf(4);
DE_TEST_ASSERT(buf.size() == 4);
DE_TEST_ASSERT(buf.getPtr() != DE_NULL);
}
// copy c... | pushq %rbp
movq %rsp, %rbp
subq $0x380, %rsp # imm = 0x380
leaq -0x10(%rbp), %rdi
callq 0xde4520
callq 0xde44d0
movl %eax, -0x128(%rbp)
jmp 0xde28c1
movl -0x128(%rbp), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x129(%rbp)
jne 0xde28ea
leaq -0x10(%rbp), %rdi
callq 0xde4540
cmpq $0x0, %rax
sete %al
movb ... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deArrayBuffer.cpp |
de::ArrayBuffer<int, 4ul, 4ul>::ArrayBuffer(de::ArrayBuffer<int, 4ul, 4ul> const&) | ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const ArrayBuffer<T,Alignment,Stride>& other)
: m_ptr (DE_NULL)
, m_cap (0)
{
if (other.m_cap)
{
// copy to temporary and swap to it
const size_t storageSize = (other.m_cap - 1) * Stride + sizeof(T);
ArrayBuffer tmp (other.m_cap);
deMemcpy(tmp.m_ptr, other... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x0, (%rax)
movq $0x0, 0x8(%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0xde46f8
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
subq $0x1, %rax
shlq $0x2, %rax
addq $0x4, %rax... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deArrayBuffer.hpp |
de::ArrayBuffer<int, 64ul, 4ul>::ArrayBuffer(unsigned long) | ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements)
: m_ptr (DE_NULL)
, m_cap (0)
{
if (numElements)
{
// \note no need to allocate stride for the last element, sizeof(T) is enough. Also handles cases where sizeof(T) > Stride
const size_t storageSize = (numElements - 1) * Stride + sizeof(T);
voi... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq $0x0, (%rax)
movq $0x0, 0x8(%rax)
cmpq $0x0, -0x10(%rbp)
je 0xde48cb
movq -0x10(%rbp), %rax
subq $0x1, %rax
shlq $0x2, %rax
addq $0x4, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), ... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deArrayBuffer.hpp |
de::cmdline::detail::TypedFieldMap::clear() | void TypedFieldMap::clear (void)
{
for (Map::const_iterator iter = m_fields.begin(); iter != m_fields.end(); ++iter)
{
if (iter->second.value)
iter->second.destructor(iter->second.value);
}
m_fields.clear();
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0xde9c90
movq %rax, -0x18(%rbp)
leaq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0xde9cc0
movq -0x30(%rbp), %rdi
callq 0xde9d10
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
cal... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.cpp |
de::cmdline::detail::TypedFieldMap::set(std::type_info const*, de::cmdline::detail::TypedFieldMap::Entry const&) | void TypedFieldMap::set (const std::type_info* key, const Entry& value)
{
Map::iterator pos = m_fields.find(key);
if (pos != m_fields.end())
{
pos->second.destructor(pos->second.value);
pos->second.value = DE_NULL;
pos->second = value;
}
else
m_fields.insert(std::make_pair(key, value));
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x58(%rbp)
leaq -0x10(%rbp), %rsi
callq 0xde9e20
movq -0x58(%rbp), %rdi
movq %rax, -0x20(%rbp)
callq 0xde9d10
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), ... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.cpp |
void de::cmdline::detail::Parser::addOption<de::cmdline::(anonymous namespace)::Help>(de::cmdline::Option<de::cmdline::(anonymous namespace)::Help> const&) | void Parser::addOption (const Option<OptType>& option)
{
OptInfo opt;
opt.shortName = option.shortName;
opt.longName = option.longName;
opt.description = option.description;
opt.defaultValue = option.defaultValue;
opt.isFlag = isBooleanOpt<OptType>() && !option.namedValues;
opt.parse = (GenericPars... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0x68(%rbp), %rdi
callq 0xd636c0
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x10(%rbp),... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.hpp |
void de::cmdline::detail::Parser::dispatchParse<de::cmdline::(anonymous namespace)::Help>(de::cmdline::detail::Parser::OptInfo const*, char const*, de::cmdline::detail::TypedFieldMap*) | void Parser::dispatchParse (const OptInfo* info, const char* src, TypedFieldMap* dst)
{
typename OptTraits<OptType>::ValueType* value = new typename OptTraits<OptType>::ValueType();
try
{
DE_ASSERT((!!info->parse) != (!!info->namedValues));
if (info->parse)
{
((typename Option<OptType>::ParseFunc)(info->par... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x1, %edi
callq 0x4cb2c0
movb $0x0, (%rax)
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x28(%rax)
je 0xde9ade
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x10(%rbp), %rdi
movq -0x20(%r... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.hpp |
de::cmdline::Option<de::cmdline::TestBoolOpt>::Option(char const*, char const*, char const*, char const*) | Option (const char* shortName_, const char* longName_, const char* description_, const char* defaultValue_ = DE_NULL)
: shortName (shortName_)
, longName (longName_)
, description (description_)
, defaultValue (defaultValue_)
, parse (parseType<ValueType>)
, namedValues (DE_NULL)
, namedValuesEnd(0)
... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x20(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0x28(%rbp), %rcx
movq ... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.hpp |
void de::cmdline::detail::Parser::dispatchParse<de::cmdline::TestStringOpt>(de::cmdline::detail::Parser::OptInfo const*, char const*, de::cmdline::detail::TypedFieldMap*) | void Parser::dispatchParse (const OptInfo* info, const char* src, TypedFieldMap* dst)
{
typename OptTraits<OptType>::ValueType* value = new typename OptTraits<OptType>::ValueType();
try
{
DE_ASSERT((!!info->parse) != (!!info->namedValues));
if (info->parse)
{
((typename Option<OptType>::ParseFunc)(info->par... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x20, %edi
callq 0x4cb2c0
movq %rax, %rdi
movq %rdi, -0x40(%rbp)
callq 0x4cb6d0
movq -0x40(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x28(%rax)
je 0xdee764
movq -0x8(%rbp), %ra... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.hpp |
void de::cmdline::detail::Parser::dispatchParse<de::cmdline::TestStringDefOpt>(de::cmdline::detail::Parser::OptInfo const*, char const*, de::cmdline::detail::TypedFieldMap*) | void Parser::dispatchParse (const OptInfo* info, const char* src, TypedFieldMap* dst)
{
typename OptTraits<OptType>::ValueType* value = new typename OptTraits<OptType>::ValueType();
try
{
DE_ASSERT((!!info->parse) != (!!info->namedValues));
if (info->parse)
{
((typename Option<OptType>::ParseFunc)(info->par... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x20, %edi
callq 0x4cb2c0
movq %rax, %rdi
movq %rdi, -0x40(%rbp)
callq 0x4cb6d0
movq -0x40(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x28(%rax)
je 0xdeea74
movq -0x8(%rbp), %ra... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.hpp |
void de::cmdline::detail::Parser::addOption<de::cmdline::TestIntOpt>(de::cmdline::Option<de::cmdline::TestIntOpt> const&) | void Parser::addOption (const Option<OptType>& option)
{
OptInfo opt;
opt.shortName = option.shortName;
opt.longName = option.longName;
opt.description = option.description;
opt.defaultValue = option.defaultValue;
opt.isFlag = isBooleanOpt<OptType>() && !option.namedValues;
opt.parse = (GenericPars... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0x68(%rbp), %rdi
callq 0xd636c0
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x10(%rbp),... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.hpp |
void de::cmdline::detail::dispatchSetDefault<de::cmdline::TestIntOpt>(de::cmdline::detail::TypedFieldMap*) | void dispatchSetDefault (TypedFieldMap* dst)
{
typename OptTraits<OptType>::ValueType* value = new typename OptTraits<OptType>::ValueType();
try
{
getTypeDefault<typename OptTraits<OptType>::ValueType>(value);
dst->set<OptType>(value);
}
catch (...)
{
delete value;
throw;
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl $0x4, %edi
callq 0x4cb2c0
movl $0x0, (%rax)
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0xd658b0
jmp 0xdeee1b
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xdeee90
jmp 0xdeee2a
jmp 0xdeee79
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.hpp |
void de::cmdline::detail::dispatchSetDefault<de::cmdline::TestBoolOpt>(de::cmdline::detail::TypedFieldMap*) | void dispatchSetDefault (TypedFieldMap* dst)
{
typename OptTraits<OptType>::ValueType* value = new typename OptTraits<OptType>::ValueType();
try
{
getTypeDefault<typename OptTraits<OptType>::ValueType>(value);
dst->set<OptType>(value);
}
catch (...)
{
delete value;
throw;
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl $0x1, %edi
callq 0x4cb2c0
movb $0x0, (%rax)
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0xde61b0
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xdef170
jmp 0xdef105
jmp 0xdef154
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
mov... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.hpp |
void de::cmdline::detail::Parser::addOption<de::cmdline::TestNamedOpt>(de::cmdline::Option<de::cmdline::TestNamedOpt> const&) | void Parser::addOption (const Option<OptType>& option)
{
OptInfo opt;
opt.shortName = option.shortName;
opt.longName = option.longName;
opt.description = option.description;
opt.defaultValue = option.defaultValue;
opt.isFlag = isBooleanOpt<OptType>() && !option.namedValues;
opt.parse = (GenericPars... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0x68(%rbp), %rdi
callq 0xd636c0
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x10(%rbp),... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.hpp |
void de::cmdline::detail::Parser::dispatchParse<de::cmdline::TestNamedOpt>(de::cmdline::detail::Parser::OptInfo const*, char const*, de::cmdline::detail::TypedFieldMap*) | void Parser::dispatchParse (const OptInfo* info, const char* src, TypedFieldMap* dst)
{
typename OptTraits<OptType>::ValueType* value = new typename OptTraits<OptType>::ValueType();
try
{
DE_ASSERT((!!info->parse) != (!!info->namedValues));
if (info->parse)
{
((typename Option<OptType>::ParseFunc)(info->par... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x8, %edi
callq 0x4cb2c0
movq $0x0, (%rax)
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x28(%rax)
je 0xdef332
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x10(%rbp), %rdi
movq -0x20(%r... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deCommandLine.hpp |
de::DynamicLibrary::DynamicLibrary(char const*) | DynamicLibrary::DynamicLibrary (const char* fileName)
: m_library(DE_NULL)
{
m_library = deDynamicLibrary_open(fileName);
if (!m_library)
throw std::runtime_error(std::string("Failed to open dynamic library: '") + fileName + "'");
} | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq $0x0, (%rax)
movq -0x10(%rbp), %rdi
callq 0xdfdca0
movq %rax, %rcx
movq -0x90(%rbp), %rax
movq %rcx, (%rax)
cmpq $0x0, (%rax)
jne 0xdef9d6
movb $0x1, -0x85(%rbp)
movl $0x10, %edi
ca... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deDynamicLibrary.cpp |
de::FilePath::split(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&) const | void FilePath::split (std::vector<std::string>& components) const
{
components.clear();
int curCompStart = 0;
int pos;
if (isWinNetPath())
components.push_back(separator + separator);
else if (isRootPath() && !beginsWithDrive())
components.push_back(separator);
for (pos = 0; pos < (int)m_path.length(); pos... | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rdi
callq 0xdea490
movq -0x90(%rbp), %rdi
movl $0x0, -0x14(%rbp)
callq 0xdf3570
testb $0x1, %al
jne 0xdefb60
jmp 0xdefbbf
movq -0x10(%rbp), %rax
movq %rax, -0xa0(%rbp)... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deFilePath.cpp |
de::FilePath::beginsWithDrive() const | bool FilePath::beginsWithDrive (void) const
{
for (int ndx = 0; ndx < (int)m_path.length(); ndx++)
{
if (m_path[ndx] == ':' && ndx+1 < (int)m_path.length() && isSeparator(m_path[ndx+1]))
return true; // First part is drive letter.
if (isSeparator(m_path[ndx]))
return false;
}
return false;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movl $0x0, -0x14(%rbp)
movq -0x20(%rbp), %rdi
movl -0x14(%rbp), %eax
movl %eax, -0x24(%rbp)
callq 0x4cba50
movq %rax, %rcx
movl -0x24(%rbp), %eax
cmpl %ecx, %eax
jge 0xdefe20
movq -0x20(%rbp), %rdi
movslq -0... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deFilePath.cpp |
de::FilePath::getBaseName[abi:cxx11]() const | std::string FilePath::getBaseName (void) const
{
std::vector<std::string> components;
split(components);
return !components.empty() ? components[components.size()-1] : std::string("");
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x58(%rbp)
movq %rdi, %rax
movq %rax, -0x50(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq -0x28(%rbp), %rdi
movq %rdi, -0x40(%rbp)
callq 0x53d270
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0xdefb20
j... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deFilePath.cpp |
de::FilePath::getFileExtension[abi:cxx11]() const | std::string FilePath::getFileExtension (void) const
{
std::string baseName = getBaseName();
size_t dotPos = baseName.find_last_of('.');
if (dotPos == std::string::npos)
return std::string("");
else
return baseName.substr(dotPos+1);
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x60(%rbp)
movq %rdi, %rax
movq %rax, -0x58(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0xdf03a0
leaq -0x30(%rbp), %rdi
movl $0x2e, %esi
movq $-0x1, %rdx
callq 0x4cb4b0
movq %rax, -0x38(%rbp)
cmpq $-0x1, -... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deFilePath.cpp |
de::FilePath::getType() const | FilePath::Type FilePath::getType (void) const
{
FilePath normPath = FilePath::normalize(*this);
struct stat st;
int result = stat(normPath.getPath(), &st);
if (result != 0)
return TYPE_UNKNOWN;
int type = st.st_mode & S_IFMT;
if (type == S_IFREG)
return TYPE_FILE;
else if (type == S_IFDIR)
return TY... | pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x30(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
callq 0xdf0320
movq -0xf0(%rbp), %rdi
callq 0xce3160
movq %rax, -0xe8(%rbp)
jmp 0xdf0858
movq -0xe8(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x4cb1a0
movl %eax, -0xc4(%rbp)
cmpl $0x0, ... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deFilePath.cpp |
de::StringUtil_selfTest() | void StringUtil_selfTest (void)
{
DE_TEST_ASSERT(toString(42) == "42");
DE_TEST_ASSERT(toString("foo") == "foo");
DE_TEST_ASSERT(toLower("FooBar") == "foobar");
DE_TEST_ASSERT(toUpper("FooBar") == "FOOBAR");
{
vector <string> tokens(splitString(" foo bar\n\tbaz "));
DE_TEST_ASSERT(tokens.size() == 3);
DE... | pushq %rbp
movq %rsp, %rbp
subq $0x8e0, %rsp # imm = 0x8E0
callq 0xdf7650
movl %eax, %ecx
movb $0x0, -0x25(%rbp)
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x6a4(%rbp)
jne 0xdf471b
movl $0x2a, -0x24(%rbp)
leaq -0x20(%rbp), %rdi
movq %rdi, -0x6b0(%rbp)
leaq -0x24(%rbp), %rsi
callq 0x523e70
movq -0x6b0(%rbp), ... | /kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deStringUtil.cpp |
qpTestLog_startSample | deBool qpTestLog_startSample (qpTestLog* log)
{
DE_ASSERT(log);
deMutex_lock(log->lock);
DE_ASSERT(ContainerStack_getTop(&log->containerStack) == CONTAINERTYPE_SAMPLELIST);
if (!qpXmlWriter_startElement(log->writer, "Sample", 0, DE_NULL))
{
qpPrintf("qpTestLog_startSample(): Writing XML failed\n");
deMutex_u... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0xdfdee0
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdi
leaq 0x6a4bd(%rip), %rsi # 0xe66795
xorl %edx, %edx
xorl %eax, %eax
movl %eax, %ecx
callq 0xdfce80
cmpl $0x0, %eax
jne 0xdfc30c
leaq 0xb7d39(%rip... | /kaydenl[P]VK-GL-CTS/framework/qphelper/qpTestLog.c |
qpWatchDog_create | qpWatchDog* qpWatchDog_create (qpWatchDogFunc timeOutFunc, void* userPtr, int totalTimeLimitSecs, int intervalTimeLimitSecs)
{
/* Allocate & initialize. */
qpWatchDog* dog = (qpWatchDog*)deCalloc(sizeof(qpWatchDog));
if (!dog)
return dog;
DE_ASSERT(timeOutFunc);
DE_ASSERT((totalTimeLimitSecs > 0) && (intervalTi... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movl %ecx, -0x20(%rbp)
movl $0x38, %edi
callq 0xe004c0
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0xdfc6d8
movq -0x28(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0xdfc75c
movq -0x10(%rbp), %rcx
movq -0x28(%... | /kaydenl[P]VK-GL-CTS/framework/qphelper/qpWatchDog.c |
qpXmlWriter_endDocument | deBool qpXmlWriter_endDocument (qpXmlWriter* writer)
{
DE_ASSERT(writer);
DE_ASSERT(writer->xmlIsWriting);
DE_ASSERT(writer->xmlElementDepth == 0);
closePending(writer);
writer->xmlIsWriting = DE_FALSE;
return DE_TRUE;
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0xdfc970
movq -0x8(%rbp), %rax
movl $0x0, 0x10(%rax)
movl $0x1, %eax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
| /kaydenl[P]VK-GL-CTS/framework/qphelper/qpXmlWriter.c |
writeEscaped | static deBool writeEscaped (qpXmlWriter* writer, const char* str)
{
char buf[256 + 10];
char* d = &buf[0];
const char* s = str;
deBool isEOS = DE_FALSE;
do
{
/* Check for characters that need to be escaped. */
const char* repl = DE_NULL;
switch (*s)
{
case 0: isEOS = DE_TRUE; break;
case '<'... | pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp # imm = 0x150
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x120(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x130(%rbp)
movl $0x0, -0x134(%rbp)
movq $0x0, -0x140(%rbp)
movq -0x130(%rbp), %rax
movsbl (%rax), %eax
movl %eax, %ecx
mo... | /kaydenl[P]VK-GL-CTS/framework/qphelper/qpXmlWriter.c |
testParse | static void testParse (const char* cmdLine, const char* const* refArgs, int numArgs)
{
deCommandLine* parsedCmdLine = deCommandLine_parse(cmdLine);
int argNdx;
DE_TEST_ASSERT(parsedCmdLine);
DE_TEST_ASSERT(parsedCmdLine->numArgs == numArgs);
for (argNdx = 0; argNdx < numArgs; argNdx++)
DE_TEST_ASSERT(deStri... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rdi
callq 0xdfd390
movq %rax, -0x20(%rbp)
callq 0xdfdc90
cmpl $0x0, %eax
jne 0xdfdaf9
cmpq $0x0, -0x20(%rbp)
je 0xdfdaf9
xorl %eax, %eax
testb $0x1, %al
jne 0xdfdb01
jmp 0xdfdb19
movb $0x1, ... | /kaydenl[P]VK-GL-CTS/framework/delibs/deutil/deCommandLine.c |
deMutex_create | deMutex deMutex_create (const deMutexAttributes* attributes)
{
pthread_mutexattr_t attr;
int ret;
pthread_mutex_t* mutex = deMalloc(sizeof(pthread_mutex_t));
if (!mutex)
return 0;
if (pthread_mutexattr_init(&attr) != 0)
{
deFree(mutex);
return 0;
}
#if defined(DE_DEBUG)
if (pthread_mutexattr_settyp... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl $0x28, %edi
callq 0xe00490
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0xdfddbe
movq $0x0, -0x8(%rbp)
jmp 0xdfde9c
leaq -0x14(%rbp), %rdi
callq 0x4cc140
cmpl $0x0, %eax
je 0xdfdde2
movq -0x20(%rbp), %rdi
callq 0xe00560
movq $0x0, -0x8(%rbp)
j... | /kaydenl[P]VK-GL-CTS/framework/delibs/dethread/unix/deMutexUnix.c |
deAssertFail | void deAssertFail (const char* reason, const char* file, int line)
{
#if defined(DE_ASSERT_FAILURE_CALLBACK)
if (g_assertFailureCallback != DE_NULL)
{
/* Remove callback in case of the callback causes further asserts. */
deAssertFailureCallbackFunc callback = g_assertFailureCallback;
deSetAssertFailureCallback(... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
cmpq $0x0, 0x2f2ddd(%rip) # 0x10f28c8
je 0xdffb12
movq 0x2f2dd4(%rip), %rax # 0x10f28c8
movq %rax, -0x20(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq 0xdffab0
movq -0x20(%rbp), %rax
movq -0x8(%rbp), %rdi... | /kaydenl[P]VK-GL-CTS/framework/delibs/debase/deDefs.c |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.