name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
unsigned short tcu::(anonymous namespace)::convertSatRte<unsigned short>(float)
inline T convertSatRte (float f) { // \note Doesn't work for 64-bit types DE_STATIC_ASSERT(sizeof(T) < sizeof(deUint64)); DE_STATIC_ASSERT((-3 % 2 != 0) && (-4 % 2 == 0)); deInt64 minVal = std::numeric_limits<T>::min(); deInt64 maxVal = std::numeric_limits<T>::max(); float q = deFloatFrac(f); deInt64 intVal = ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movss %xmm0, -0x4(%rbp) callq 0xd97fa0 movzwl %ax, %eax movq %rax, -0x10(%rbp) callq 0xbd0370 movzwl %ax, %eax movq %rax, -0x18(%rbp) movss -0x4(%rbp), %xmm0 callq 0xd8fc20 movss %xmm0, -0x1c(%rbp) movss -0x4(%rbp), %xmm0 subss -0x1c(%rbp), %xmm0 cvttss2si %xmm0, %rax movq %r...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::(anonymous namespace)::writeUint32Low24(unsigned char*, unsigned int)
inline void writeUint32Low24 (deUint8* dst, deUint32 val) { #if (DE_ENDIANNESS == DE_LITTLE_ENDIAN) const deUint32 uint32ByteOffset0To24 = 0; #else const deUint32 uint32ByteOffset0To24 = 1; #endif writeUint24(dst + uint32ByteOffset0To24, val); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl $0x0, -0x10(%rbp) movq -0x8(%rbp), %rdi movl -0xc(%rbp), %esi callq 0xd96650 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleNearest2D(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, float, float, tcu::Vector<int, 3> const&)
static Vec4 sampleNearest2D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u, float v, const IVec3& offset) { int width = access.getWidth(); int height = access.getHeight(); int x = deFloorFloatToInt32(u)+offset.x(); int y = deFloorFloatToInt32(v)+offset.y(); // Check for CLAMP_TO_BORDER. ...
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 %rdx, -0x18(%rbp) movss %xmm0, -0x1c(%rbp) movss %xmm1, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq -0x10(%rbp), %rdi callq 0x64b040 movl %eax, -0x2c(%rbp) movq -0x10(%...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::ConstPixelBufferAccess::sample1DCompare(tcu::Sampler const&, tcu::Sampler::FilterMode, float, float, tcu::Vector<int, 2> const&) const
float ConstPixelBufferAccess::sample1DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, const IVec2& offset) const { // check selected layer exists // \note offset.x is X offset, offset.y is the selected layer DE_ASSERT(de::inBounds(offset.y(), 0, m_size.y())); // Format information ...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movss %xmm0, -0x20(%rbp) movss %xmm1, -0x24(%rbp) movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x50(%rbp) callq 0xd8e500 andb $0x1, %al movb %al, -0x31(%rbp) movss -0x24(%rbp), %xmm0 movss %xmm0...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::isFixedPointDepthTextureFormat(tcu::TextureFormat const&)
static bool isFixedPointDepthTextureFormat (const tcu::TextureFormat& format) { DE_ASSERT(format.order == TextureFormat::D); const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(format.type); if (channelClass == tcu::TEXTURECHANNELCLASS_FLOATING_POINT) return false; else if (channelClass == ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movl 0x4(%rax), %edi callq 0xd992a0 movl %eax, -0x14(%rbp) cmpl $0x4, -0x14(%rbp) jne 0xd8e527 movb $0x0, -0x1(%rbp) jmp 0xd8e537 cmpl $0x1, -0x14(%rbp) jne 0xd8e533 movb $0x1, -0x1(%rbp) jmp 0xd8e537 movb $0x0, -0x1(%rbp) movb -0...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::execCompare(tcu::Vector<float, 4> const&, tcu::Sampler::CompareMode, int, float, bool)
static inline float execCompare (const tcu::Vec4& color, Sampler::CompareMode compare, int chanNdx, float ref_, bool isFixedPoint) { const bool clampValues = isFixedPoint; // if comparing against a floating point texture, ref (and value) is not clamped const float cmp = (clampValues) ? (de::clamp(color[chanNdx], 0....
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movb %cl, %al movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movss %xmm0, -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 0xd8e5a3 movq -0x8(%rbp), %rdi movl -0x10(%rbp)...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleLinear1DCompare(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, float, float, tcu::Vector<int, 2> const&, bool)
static float sampleLinear1DCompare (const ConstPixelBufferAccess& access, const Sampler& sampler, float ref, float u, const IVec2& offset, bool isFixedPointDepthFormat) { int w = access.getWidth(); int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); int x1 = x0+1; int i0 = wrap(sampler.wrapS, x0, w); int i1 = wrap(...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movb %cl, %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss %xmm0, -0x14(%rbp) movss %xmm1, -0x18(%rbp) movq %rdx, -0x20(%rbp) andb $0x1, %al movb %al, -0x21(%rbp) movq -0x8(%rbp), %rdi callq 0x64b040 movl %eax, -0x28(%rbp) movss -0x18(%rbp), %xmm0 movss 0x7fad3(%rip), %...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::ConstPixelBufferAccess::sample2DCompare(tcu::Sampler const&, tcu::Sampler::FilterMode, float, float, float, tcu::Vector<int, 3> const&) const
float ConstPixelBufferAccess::sample2DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, float t, const IVec3& offset) const { // check selected layer exists // \note offset.xy is XY offset, offset.z is the selected layer DE_ASSERT(de::inBounds(offset.z(), 0, m_size.z())); // Format i...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movss %xmm0, -0x20(%rbp) movss %xmm1, -0x24(%rbp) movss %xmm2, -0x28(%rbp) movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x58(%rbp) callq 0xd8e500 andb $0x1, %al movb %al, -0x31(%rbp) movss -0x24...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleLinear2DCompare(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, float, float, float, tcu::Vector<int, 3> const&, bool)
static float sampleLinear2DCompare (const ConstPixelBufferAccess& access, const Sampler& sampler, float ref, float u, float v, const IVec3& offset, bool isFixedPointDepthFormat) { int w = access.getWidth(); int h = access.getHeight(); int x0 = deFloorFloatToInt32(u-0.5f)+offset.x(); int x1 = x0+1; int y0 = deFloo...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movb %cl, %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss %xmm0, -0x14(%rbp) movss %xmm1, -0x18(%rbp) movss %xmm2, -0x1c(%rbp) movq %rdx, -0x28(%rbp) andb $0x1, %al movb %al, -0x29(%rbp) movq -0x8(%rbp), %rdi callq 0x64b040 movl %eax, -0x30(%r...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleLevelArray1DOffset(tcu::ConstPixelBufferAccess const*, int, tcu::Sampler const&, float, float, tcu::Vector<int, 2> const&)
Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset) { bool magnified = lod <= sampler.lodThreshold; Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; switch (filterMode) { case ...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0xa8(%rbp) movq %rdi, %rax movq %rax, -0xa0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movss %xmm1, -0x28(%rbp) movq %r8, -0x30(%rbp) movss -0x28(%rbp), %xmm1 movq -0x20(%rbp), %rax mov...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleLevelArray2DOffset(tcu::ConstPixelBufferAccess const*, int, tcu::Sampler const&, float, float, float, tcu::Vector<int, 3> const&)
Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float lod, const IVec3& offset) { bool magnified = lod <= sampler.lodThreshold; Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; switch (filterMode) ...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0xb0(%rbp) movq %rdi, %rax movq %rax, -0xa8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movss %xmm1, -0x28(%rbp) movss %xmm2, -0x2c(%rbp) movq %r8, -0x38(%rbp) movss -0x2c(%rbp), %xmm1 m...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleLevelArray3DOffset(tcu::ConstPixelBufferAccess const*, int, tcu::Sampler const&, float, float, float, float, tcu::Vector<int, 3> const&)
Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) { bool magnified = lod <= sampler.lodThreshold; Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; switch (filt...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0xb0(%rbp) movq %rdi, %rax movq %rax, -0xa8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movss %xmm1, -0x28(%rbp) movss %xmm2, -0x2c(%rbp) movss %xmm3, -0x30(%rbp) movq %r8, -0x38(%rbp) m...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleLevelArray1DCompare(tcu::ConstPixelBufferAccess const*, int, tcu::Sampler const&, float, float, float, tcu::Vector<int, 2> const&)
float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset) { bool magnified = lod <= sampler.lodThreshold; Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; switch (filterMod...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movss %xmm1, -0x28(%rbp) movss %xmm2, -0x2c(%rbp) movq %rcx, -0x38(%rbp) movss -0x2c(%rbp), %xmm1 movq -0x20(%rbp), %rax movss 0x14(%rax), %xmm0 ucomiss %xmm1, %xmm0 setae %al andb $...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleLevelArray2DCompare(tcu::ConstPixelBufferAccess const*, int, tcu::Sampler const&, float, float, float, float, tcu::Vector<int, 3> const&)
float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float t, float lod, const IVec3& offset) { bool magnified = lod <= sampler.lodThreshold; Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; switch (...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movss %xmm1, -0x28(%rbp) movss %xmm2, -0x2c(%rbp) movss %xmm3, -0x30(%rbp) movq %rcx, -0x38(%rbp) movss -0x30(%rbp), %xmm1 movq -0x20(%rbp), %rax movss 0x14(%rax), %xmm0 ucomiss %xmm...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::gatherArray2DOffsetsCompare(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, float, float, float, int, tcu::Vector<int, 2> const (&) [4])
Vec4 gatherArray2DOffsetsCompare (const ConstPixelBufferAccess& src, const Sampler& sampler, float ref, float s, float t, int depth, const IVec2 (&offsets)[4]) { DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); DE_ASSERT(src.getFormat().order == TextureFormat::D || src.getFormat().order == TextureFormat::DS);...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x50(%rbp) movq %rdi, %rax movq %rax, -0x58(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movss %xmm0, -0x1c(%rbp) movss %xmm1, -0x20(%rbp) movss %xmm2, -0x24(%rbp) movl %ecx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq -0x10(%rbp), %rdi cal...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::selectCubeFace(tcu::Vector<float, 3> const&)
CubeFace selectCubeFace (const Vec3& coords) { const float x = coords.x(); const float y = coords.y(); const float z = coords.z(); const float ax = deFloatAbs(x); const float ay = deFloatAbs(y); const float az = deFloatAbs(z); if (ay < ax && az < ax) return x >= 0.0f ? CUBEFACE_POSITIVE_X : CUBEFACE_NEGATIVE_...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0x5c7c60 movss %xmm0, -0x14(%rbp) movq -0x10(%rbp), %rdi callq 0x5c7c80 movss %xmm0, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0x5c7ca0 movss %xmm0, -0x1c(%rbp) movss -0x14(%rbp), %xmm0 callq 0xd906c0 movss %xmm0, -0x20(%rbp)...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::projectToFace(tcu::CubeFace, tcu::Vector<float, 3> const&)
Vec2 projectToFace (CubeFace face, const Vec3& coord) { const float rx = coord.x(); const float ry = coord.y(); const float rz = coord.z(); float sc = 0.0f; float tc = 0.0f; float ma = 0.0f; float s; float t; switch (face) { case CUBEFACE_NEGATIVE_X: sc = +rz; tc = -ry; ma = -rx; break; case C...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x50(%rbp) movq %rdi, %rax movq %rax, -0x48(%rbp) movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x18(%rbp), %rdi callq 0x5c7c60 movss %xmm0, -0x1c(%rbp) movq -0x18(%rbp), %rdi callq 0x5c7c80 movss %xmm0, -0x20(%rbp) movq -0x18(%rbp), %rd...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::wrap(tcu::Sampler::WrapMode, int, int)
static inline int wrap (Sampler::WrapMode mode, int c, int size) { switch (mode) { case tcu::Sampler::CLAMP_TO_BORDER: return deClamp32(c, -1, size); case tcu::Sampler::CLAMP_TO_EDGE: return deClamp32(c, 0, size-1); case tcu::Sampler::REPEAT_GL: return imod(c, size); case tcu::Sampler::REPEAT_CL: ...
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 0xd91087 movq -0x18(%rbp), %rax leaq 0x11c987(%rip), %rcx # 0xead964 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movl -0xc(%rbp), %e...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::TextureLevelPyramid::TextureLevelPyramid(tcu::TextureFormat const&, int)
TextureLevelPyramid::TextureLevelPyramid (const TextureFormat& format, int numLevels) : m_format (format) , m_data (numLevels) , m_access (numLevels) { }
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x48(%rbp) movq -0x10(%rbp), %rcx movq (%rcx), %rcx movq %rcx, (%rax) addq $0x8, %rax movq %rax, -0x40(%rbp) movslq -0x14(%rbp), %rax movq %rax, -0x38(%rbp) leaq -0x15(%rbp),...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::TextureLevelPyramid::TextureLevelPyramid(tcu::TextureLevelPyramid const&)
TextureLevelPyramid::TextureLevelPyramid (const TextureLevelPyramid& other) : m_format (other.m_format) , m_data (other.getNumLevels()) , m_access (other.getNumLevels()) { for (int levelNdx = 0; levelNdx < other.getNumLevels(); levelNdx++) { if (!other.isLevelEmpty(levelNdx)) { const tcu::ConstPixelBufferAc...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x80(%rbp) movq -0x10(%rbp), %rcx movq (%rcx), %rcx movq %rcx, (%rax) addq $0x8, %rax movq %rax, -0x78(%rbp) movq -0x10(%rbp), %rdi callq 0x8ad720 cltq movq %rax, -0x70(%rbp) leaq -0x11(%rbp), %rdi...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::TextureLevelPyramid::operator=(tcu::TextureLevelPyramid const&)
TextureLevelPyramid& TextureLevelPyramid::operator= (const TextureLevelPyramid& other) { if (this == &other) return *this; m_format = other.m_format; m_data.resize(other.getNumLevels()); m_access.resize(other.getNumLevels()); for (int levelNdx = 0; levelNdx < other.getNumLevels(); levelNdx++) { if (!other.i...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x58(%rbp) cmpq -0x18(%rbp), %rax jne 0xd9145e movq -0x58(%rbp), %rax movq %rax, -0x8(%rbp) jmp 0xd915e7 movq -0x58(%rbp), %rax movq -0x18(%rbp), %rcx movq (%rcx), %rcx movq %rcx, (%rax) addq $0x...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::Texture1D::operator=(tcu::Texture1D const&)
Texture1D& Texture1D::operator= (const Texture1D& other) { if (this == &other) return *this; TextureLevelPyramid::operator=(other); m_width = other.m_width; m_view = Texture1DView(getNumLevels(), getLevels()); return *this; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x30(%rbp) cmpq -0x18(%rbp), %rax jne 0xd918a8 movq -0x30(%rbp), %rax movq %rax, -0x8(%rbp) jmp 0xd918fb movq -0x30(%rbp), %rdi movq -0x18(%rbp), %rsi callq 0xd91430 movq -0x30(%rbp), %rdi movq -...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::Texture2D::operator=(tcu::Texture2D const&)
Texture2D& Texture2D::operator= (const Texture2D& other) { if (this == &other) return *this; TextureLevelPyramid::operator=(other); m_width = other.m_width; m_height = other.m_height; m_view = Texture2DView(getNumLevels(), getLevels()); return *this; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x30(%rbp) cmpq -0x18(%rbp), %rax jne 0xd91af8 movq -0x30(%rbp), %rax movq %rax, -0x8(%rbp) jmp 0xd91b55 movq -0x30(%rbp), %rdi movq -0x18(%rbp), %rsi callq 0xd91430 movq -0x30(%rbp), %rdi movq -...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleLevelArrayCubeSeamless(tcu::ConstPixelBufferAccess const* const (&) [6], int, tcu::CubeFace, tcu::Sampler const&, float, float, int, float)
static Vec4 sampleLevelArrayCubeSeamless (const ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float s, float t, int depth, float lod) { bool magnified = lod <= sampler.lodThreshold; Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sam...
pushq %rbp movq %rsp, %rbp subq $0x540, %rsp # imm = 0x540 movq %rdi, -0x4c8(%rbp) movq %rdi, %rax movq %rax, -0x4c0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl %ecx, -0x18(%rbp) movq %r8, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movss %xmm1, -0x28(%rbp) movl %r9d, -0x2c(%rbp) ...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleLevelArrayCubeSeamlessCompare(tcu::ConstPixelBufferAccess const* const (&) [6], int, tcu::CubeFace, tcu::Sampler const&, float, float, float, float)
static float sampleLevelArrayCubeSeamlessCompare (const ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float ref, float s, float t, float lod) { bool magnified = lod <= sampler.lodThreshold; Sampler::FilterMode filterMode = magnified ? sampler.magFilt...
pushq %rbp movq %rsp, %rbp subq $0x4a0, %rsp # imm = 0x4A0 movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movl %edx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movss %xmm1, -0x28(%rbp) movss %xmm2, -0x2c(%rbp) movss %xmm3, -0x30(%rbp) movss -0x30(%rbp), %xmm1 movq -0x20(%rbp), %rax movss 0x14...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::getCubeLinearSamples(tcu::ConstPixelBufferAccess const (&) [6], tcu::CubeFace, float, float, int, tcu::Vector<float, 4> (&) [4])
static void getCubeLinearSamples (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, float u, float v, int depth, Vec4 (&dst)[4]) { DE_ASSERT(faceAccesses[0].getWidth() == faceAccesses[0].getHeight()); int size = faceAccesses[0].getWidth(); int x0 = deFloorFloatToInt32(u-0.5f)...
pushq %rbp movq %rsp, %rbp subq $0x130, %rsp # imm = 0x130 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movss %xmm0, -0x10(%rbp) movss %xmm1, -0x14(%rbp) movl %edx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rdi callq 0x64b040 movl %eax, -0x24(%rbp) movss -0x10(%rbp), %xmm0 movss 0x7b388(%rip), %xmm...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::TextureCube::TextureCube(tcu::TextureCube const&)
TextureCube::TextureCube (const TextureCube& other) : m_format (other.m_format) , m_size (other.m_size) { const int numLevels = computeMipPyramidLevels(m_size); const ConstPixelBufferAccess* levels[CUBEFACE_LAST]; for (int face = 0; face < CUBEFACE_LAST; face++) { m_data[face].resize(numLevels); m_acce...
pushq %rbp movq %rsp, %rbp subq $0x120, %rsp # imm = 0x120 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0xb8(%rbp) movq -0x10(%rbp), %rcx movq (%rcx), %rcx movq %rcx, (%rax) movq -0x10(%rbp), %rcx movl 0x8(%rcx), %ecx movl %ecx, 0x8(%rax) addq $0x10, %rax movq %rax, -0xb0(%r...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::TextureCube::operator=(tcu::TextureCube const&)
TextureCube& TextureCube::operator= (const TextureCube& other) { if (this == &other) return *this; const int numLevels = computeMipPyramidLevels(other.m_size); const ConstPixelBufferAccess* levels[CUBEFACE_LAST]; for (int face = 0; face < CUBEFACE_LAST; face++) { m_data[face].resize(numLevels); m_acc...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0xa0(%rbp) cmpq -0x18(%rbp), %rax jne 0xd93a54 movq -0xa0(%rbp), %rax movq %rax, -0x8(%rbp) jmp 0xd93c46 movq -0x18(%rbp), %rax movl 0x8(%rax), %edi callq 0xd97cd0 movl %eax, -0x1c(%rbp) movl $0x...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::Texture1DArray::operator=(tcu::Texture1DArray const&)
Texture1DArray& Texture1DArray::operator= (const Texture1DArray& other) { if (this == &other) return *this; TextureLevelPyramid::operator=(other); m_width = other.m_width; m_numLayers = other.m_numLayers; m_view = Texture1DArrayView(getNumLevels(), getLevels()); return *this; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x30(%rbp) cmpq -0x18(%rbp), %rax jne 0xd94658 movq -0x30(%rbp), %rax movq %rax, -0x8(%rbp) jmp 0xd946b5 movq -0x30(%rbp), %rdi movq -0x18(%rbp), %rsi callq 0xd91430 movq -0x30(%rbp), %rdi movq -...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::Texture3D::Texture3D(tcu::TextureFormat const&, int, int, int)
Texture3D::Texture3D (const TextureFormat& format, int width, int height, int depth) : TextureLevelPyramid (format, computeMipPyramidLevels(width, height, depth)) , m_width (width) , m_height (height) , m_depth (depth) , m_view (getNumLevels(), getLevels()) { }
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl %ecx, -0x18(%rbp) movl %r8d, -0x1c(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x40(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x48(%rbp) movl -0x14(%rbp), %edi movl -0x18(%rbp), %esi movl -0x1c(%rbp), %edx ca...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::TextureCubeArrayView::sampleCompare(tcu::Sampler const&, float, float, float, float, float, float) const
float TextureCubeArrayView::sampleCompare (const Sampler& sampler, float ref, float s, float t, float r, float q, float lod) const { const CubeFaceFloatCoords coords = getCubeFaceCoords(Vec3(s, t, r)); const int layer = selectLayer(q); const int faceDepth = (layer * 6) + getCubeArrayFaceIndex(coords.face);...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movss %xmm0, -0x1c(%rbp) movss %xmm1, -0x20(%rbp) movss %xmm2, -0x24(%rbp) movss %xmm3, -0x28(%rbp) movss %xmm4, -0x2c(%rbp) movss %xmm5, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x78(%rbp) movss -0x20(%rbp), %xmm0 movss -0x...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleCubeArraySeamlessCompare(tcu::ConstPixelBufferAccess const*, int, int, tcu::CubeFace, tcu::Sampler const&, float, float, float, float)
static float sampleCubeArraySeamlessCompare (const ConstPixelBufferAccess* const levels, int numLevels, int slice, CubeFace face, const Sampler& sampler, float ref, float s, float t, float lod) { const int faceDepth = (slice * 6) + getCubeArrayFaceIndex(face); const bool magnified = lod <= sampler.lodThreshold; ...
pushq %rbp movq %rsp, %rbp subq $0x570, %rsp # imm = 0x570 movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movl %edx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq %r8, -0x28(%rbp) movss %xmm0, -0x2c(%rbp) movss %xmm1, -0x30(%rbp) movss %xmm2, -0x34(%rbp) movss %xmm3, -0x38(%rbp) imull $0x6, -0x18(%rbp), %eax movl %...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::TextureCubeArray::TextureCubeArray(tcu::TextureCubeArray const&)
TextureCubeArray::TextureCubeArray (const TextureCubeArray& other) : TextureLevelPyramid (other) , m_size (other.m_size) , m_depth (other.m_depth) , m_view (getNumLevels(), getLevels()) { DE_ASSERT(m_depth % 6 == 0); }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x30(%rbp) movq -0x10(%rbp), %rsi callq 0xd91180 movq -0x30(%rbp), %rdi movq -0x10(%rbp), %rax movl 0x38(%rax), %eax movl %eax, 0x38(%rdi) movq -0x10(%rbp), %rax movl 0x3c(%rax), %eax movl %eax, 0x...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::operator<<(std::ostream&, tcu::TextureFormat::ChannelOrder)
std::ostream& operator<< (std::ostream& str, TextureFormat::ChannelOrder order) { const char* const orderStrings[] = { "R", "A", "I", "L", "LA", "RG", "RA", "RGB", "RGBA", "ARGB", "BGR", "BGRA", "sR", "sRG", "sRGB", "sRGBA", "sBGR", "sBGRA", "D", "S", "DS" }; return str ...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) leaq -0xc0(%rbp), %rdi leaq 0x352cb0(%rip), %rsi # 0x10e8b80 movl $0xa8, %edx callq 0x4cb150 movq -0x8(%rbp), %rax movq %rax, -0xc8(%rbp) movl -0xc(%rbp), %esi leaq -0xc0(%rbp), %rdi callq 0xd97ee0 movq -0xc8(%rbp), %rdi movq (%r...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
unsigned int tcu::(anonymous namespace)::convertSatRte<unsigned int>(float)
inline T convertSatRte (float f) { // \note Doesn't work for 64-bit types DE_STATIC_ASSERT(sizeof(T) < sizeof(deUint64)); DE_STATIC_ASSERT((-3 % 2 != 0) && (-4 % 2 == 0)); deInt64 minVal = std::numeric_limits<T>::min(); deInt64 maxVal = std::numeric_limits<T>::max(); float q = deFloatFrac(f); deInt64 intVal = ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movss %xmm0, -0x4(%rbp) callq 0x6c9620 movl %eax, %eax movq %rax, -0x10(%rbp) callq 0x6c9610 movl %eax, %eax movq %rax, -0x18(%rbp) movss -0x4(%rbp), %xmm0 callq 0xd8fc20 movss %xmm0, -0x1c(%rbp) movss -0x4(%rbp), %xmm0 subss -0x1c(%rbp), %xmm0 cvttss2si %xmm0, %rax movq %rax...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
signed char tcu::(anonymous namespace)::convertSatRte<signed char>(float)
inline T convertSatRte (float f) { // \note Doesn't work for 64-bit types DE_STATIC_ASSERT(sizeof(T) < sizeof(deUint64)); DE_STATIC_ASSERT((-3 % 2 != 0) && (-4 % 2 == 0)); deInt64 minVal = std::numeric_limits<T>::min(); deInt64 maxVal = std::numeric_limits<T>::max(); float q = deFloatFrac(f); deInt64 intVal = ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movss %xmm0, -0x4(%rbp) callq 0xd97f50 movsbq %al, %rax movq %rax, -0x10(%rbp) callq 0xd97f60 movsbq %al, %rax movq %rax, -0x18(%rbp) movss -0x4(%rbp), %xmm0 callq 0xd8fc20 movss %xmm0, -0x1c(%rbp) movss -0x4(%rbp), %xmm0 subss -0x1c(%rbp), %xmm0 cvttss2si %xmm0, %rax movq %r...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
short tcu::(anonymous namespace)::convertSatRte<short>(float)
inline T convertSatRte (float f) { // \note Doesn't work for 64-bit types DE_STATIC_ASSERT(sizeof(T) < sizeof(deUint64)); DE_STATIC_ASSERT((-3 % 2 != 0) && (-4 % 2 == 0)); deInt64 minVal = std::numeric_limits<T>::min(); deInt64 maxVal = std::numeric_limits<T>::max(); float q = deFloatFrac(f); deInt64 intVal = ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movss %xmm0, -0x4(%rbp) callq 0xd97f70 movswq %ax, %rax movq %rax, -0x10(%rbp) callq 0xd97f80 movswq %ax, %rax movq %rax, -0x18(%rbp) movss -0x4(%rbp), %xmm0 callq 0xd8fc20 movss %xmm0, -0x1c(%rbp) movss -0x4(%rbp), %xmm0 subss -0x1c(%rbp), %xmm0 cvttss2si %xmm0, %rax movq %r...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
unsigned char tcu::(anonymous namespace)::convertSatRte<unsigned char>(float)
inline T convertSatRte (float f) { // \note Doesn't work for 64-bit types DE_STATIC_ASSERT(sizeof(T) < sizeof(deUint64)); DE_STATIC_ASSERT((-3 % 2 != 0) && (-4 % 2 == 0)); deInt64 minVal = std::numeric_limits<T>::min(); deInt64 maxVal = std::numeric_limits<T>::max(); float q = deFloatFrac(f); deInt64 intVal = ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movss %xmm0, -0x4(%rbp) callq 0xd97f90 movzbl %al, %eax movq %rax, -0x10(%rbp) callq 0xbd0360 movzbl %al, %eax movq %rax, -0x18(%rbp) movss -0x4(%rbp), %xmm0 callq 0xd8fc20 movss %xmm0, -0x1c(%rbp) movss -0x4(%rbp), %xmm0 subss -0x1c(%rbp), %xmm0 cvttss2si %xmm0, %rax movq %r...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::(anonymous namespace)::writeUint24(unsigned char*, unsigned int)
inline void writeUint24 (deUint8* dst, deUint32 val) { #if (DE_ENDIANNESS == DE_LITTLE_ENDIAN) dst[0] = (deUint8)((val & 0x0000FFu) >> 0u); dst[1] = (deUint8)((val & 0x00FF00u) >> 8u); dst[2] = (deUint8)((val & 0xFF0000u) >> 16u); #else dst[0] = (deUint8)((val & 0xFF0000u) >> 16u); dst[1] = (deUint8)((val & 0x00...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl -0xc(%rbp), %eax andl $0xff, %eax shrl $0x0, %eax movb %al, %cl movq -0x8(%rbp), %rax movb %cl, (%rax) movl -0xc(%rbp), %eax andl $0xff00, %eax # imm = 0xFF00 shrl $0x8, %eax movb %al, %cl movq -0x8(%rbp), %rax movb %cl, 0x1(%rax) mov...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
signed char tcu::(anonymous namespace)::convertSat<signed char, int>(int)
static inline T convertSat (S src) { S min = (S)std::numeric_limits<T>::min(); S max = (S)std::numeric_limits<T>::max(); if (src < min) return (T)min; else if (src > max) return (T)max; else return (T)src; }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movl %edi, -0x8(%rbp) callq 0xd97f50 movsbl %al, %eax movl %eax, -0xc(%rbp) callq 0xd97f60 movsbl %al, %eax movl %eax, -0x10(%rbp) movl -0x8(%rbp), %eax cmpl -0xc(%rbp), %eax jge 0xd966d1 movl -0xc(%rbp), %eax movb %al, -0x1(%rbp) jmp 0xd966e7 movl -0x8(%rbp), %eax cmpl -0x10...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
short tcu::(anonymous namespace)::convertSat<short, int>(int)
static inline T convertSat (S src) { S min = (S)std::numeric_limits<T>::min(); S max = (S)std::numeric_limits<T>::max(); if (src < min) return (T)min; else if (src > max) return (T)max; else return (T)src; }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movl %edi, -0x8(%rbp) callq 0xd97f70 cwtl movl %eax, -0xc(%rbp) callq 0xd97f80 cwtl movl %eax, -0x10(%rbp) movl -0x8(%rbp), %eax cmpl -0xc(%rbp), %eax jge 0xd9671e movl -0xc(%rbp), %eax movw %ax, -0x2(%rbp) jmp 0xd96736 movl -0x8(%rbp), %eax cmpl -0x10(%rbp), %eax jle 0xd9672...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
unsigned char tcu::(anonymous namespace)::convertSat<unsigned char, int>(int)
static inline T convertSat (S src) { S min = (S)std::numeric_limits<T>::min(); S max = (S)std::numeric_limits<T>::max(); if (src < min) return (T)min; else if (src > max) return (T)max; else return (T)src; }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movl %edi, -0x8(%rbp) callq 0xd97f90 movzbl %al, %eax movl %eax, -0xc(%rbp) callq 0xbd0360 movzbl %al, %eax movl %eax, -0x10(%rbp) movl -0x8(%rbp), %eax cmpl -0xc(%rbp), %eax jge 0xd96771 movl -0xc(%rbp), %eax movb %al, -0x1(%rbp) jmp 0xd96787 movl -0x8(%rbp), %eax cmpl -0x10...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
unsigned short tcu::(anonymous namespace)::convertSat<unsigned short, int>(int)
static inline T convertSat (S src) { S min = (S)std::numeric_limits<T>::min(); S max = (S)std::numeric_limits<T>::max(); if (src < min) return (T)min; else if (src > max) return (T)max; else return (T)src; }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movl %edi, -0x8(%rbp) callq 0xd97fa0 movzwl %ax, %eax movl %eax, -0xc(%rbp) callq 0xbd0370 movzwl %ax, %eax movl %eax, -0x10(%rbp) movl -0x8(%rbp), %eax cmpl -0xc(%rbp), %eax jge 0xd967c2 movl -0xc(%rbp), %eax movw %ax, -0x2(%rbp) jmp 0xd967da movl -0x8(%rbp), %eax cmpl -0x10...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
unsigned int tcu::(anonymous namespace)::convertSatUint24<int>(int)
static inline deUint32 convertSatUint24 (S src) { S min = (S)0u; S max = (S)0xFFFFFFu; if (src < min) return (deUint32)min; else if (src > max) return (deUint32)max; else return (deUint32)src; }
pushq %rbp movq %rsp, %rbp movl %edi, -0x8(%rbp) movl $0x0, -0xc(%rbp) movl $0xffffff, -0x10(%rbp) # imm = 0xFFFFFF movl -0x8(%rbp), %eax cmpl -0xc(%rbp), %eax jge 0xd96815 movl -0xc(%rbp), %eax movl %eax, -0x4(%rbp) jmp 0xd9682b movl -0x8(%rbp), %eax cmpl -0x10(%rbp), %eax jle 0xd96825 movl -0x10(%rbp), %eax movl %ea...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
int tcu::(anonymous namespace)::convertSat<int, int>(int)
static inline T convertSat (S src) { S min = (S)std::numeric_limits<T>::min(); S max = (S)std::numeric_limits<T>::max(); if (src < min) return (T)min; else if (src > max) return (T)max; else return (T)src; }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movl %edi, -0x8(%rbp) callq 0x6c9600 movl %eax, -0xc(%rbp) callq 0x5c7300 movl %eax, -0x10(%rbp) movl -0x8(%rbp), %eax cmpl -0xc(%rbp), %eax jge 0xd9685b movl -0xc(%rbp), %eax movl %eax, -0x4(%rbp) jmp 0xd96871 movl -0x8(%rbp), %eax cmpl -0x10(%rbp), %eax jle 0xd9686b movl -0...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
unsigned int tcu::(anonymous namespace)::convertSatUint24<unsigned int>(unsigned int)
static inline deUint32 convertSatUint24 (S src) { S min = (S)0u; S max = (S)0xFFFFFFu; if (src < min) return (deUint32)min; else if (src > max) return (deUint32)max; else return (deUint32)src; }
pushq %rbp movq %rsp, %rbp movl %edi, -0x8(%rbp) movl $0x0, -0xc(%rbp) movl $0xffffff, -0x10(%rbp) # imm = 0xFFFFFF movl -0x8(%rbp), %eax cmpl -0xc(%rbp), %eax jae 0xd96905 movl -0xc(%rbp), %eax movl %eax, -0x4(%rbp) jmp 0xd9691b movl -0x8(%rbp), %eax cmpl -0x10(%rbp), %eax jbe 0xd96915 movl -0x10(%rbp), %eax movl %ea...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
unsigned int tcu::(anonymous namespace)::convertSat<unsigned int, unsigned int>(unsigned int)
static inline T convertSat (S src) { S min = (S)std::numeric_limits<T>::min(); S max = (S)std::numeric_limits<T>::max(); if (src < min) return (T)min; else if (src > max) return (T)max; else return (T)src; }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movl %edi, -0x8(%rbp) callq 0x6c9620 movl %eax, -0xc(%rbp) callq 0x6c9610 movl %eax, -0x10(%rbp) movl -0x8(%rbp), %eax cmpl -0xc(%rbp), %eax jae 0xd9694b movl -0xc(%rbp), %eax movl %eax, -0x4(%rbp) jmp 0xd96961 movl -0x8(%rbp), %eax cmpl -0x10(%rbp), %eax jbe 0xd9695b movl -0...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::rint(float)
static inline float rint (float a) { DE_STATIC_ASSERT((-3 % 2 != 0) && (-4 % 2 == 0)); float fracVal = deFloatFrac(a); if (fracVal != 0.5f) return deFloatRound(a); // Ordinary case. float floorVal = a - fracVal; bool roundUp = (deInt64)floorVal % 2 != 0; return floorVal + (roundUp ? 1.0f : 0.0f); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movss %xmm0, -0x8(%rbp) movss -0x8(%rbp), %xmm0 callq 0xd8fc20 movss %xmm0, -0xc(%rbp) movss -0xc(%rbp), %xmm0 movss 0x7786b(%rip), %xmm1 # 0xe0e204 ucomiss %xmm1, %xmm0 jne 0xd969a2 jp 0xd969a2 jmp 0xd969b3 movss -0x8(%rbp), %xmm0 callq 0xd96a30 movss %xmm0, -0x4(%rbp) jm...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
deClz32(unsigned int)
DE_INLINE int deClz32 (deUint32 a) { #if (DE_COMPILER == DE_COMPILER_MSC) unsigned long i; if (_BitScanReverse(&i, (unsigned long)a) == 0) return 32; else return 31-i; #elif (DE_COMPILER == DE_COMPILER_GCC) || (DE_COMPILER == DE_COMPILER_CLANG) if (a == 0) return 32; else return __builtin_clz((unsigned int...
pushq %rbp movq %rsp, %rbp movl %edi, -0x8(%rbp) cmpl $0x0, -0x8(%rbp) jne 0xd96d76 movl $0x20, -0x4(%rbp) jmp 0xd96d82 movl -0x8(%rbp), %eax bsrl %eax, %eax xorl $0x1f, %eax movl %eax, -0x4(%rbp) movl -0x4(%rbp), %eax popq %rbp retq nopw (%rax,%rax)
/kaydenl[P]VK-GL-CTS/framework/delibs/debase/deInt32.h
tcu::sampleCubeSeamlessLinear(tcu::ConstPixelBufferAccess const (&) [6], tcu::CubeFace, tcu::Sampler const&, float, float, int)
static Vec4 sampleCubeSeamlessLinear (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const Sampler& sampler, float s, float t, int depth) { DE_ASSERT(faceAccesses[0].getWidth() == faceAccesses[0].getHeight()); int size = faceAccesses[0].getWidth(); // Non-normalized coordinates. f...
pushq %rbp movq %rsp, %rbp subq $0x150, %rsp # imm = 0x150 movq %rdi, -0x138(%rbp) movq %rdi, %rax movq %rax, -0x130(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movss %xmm1, -0x28(%rbp) movl %r8d, -0x2c(%rbp) movq -0x10(%rbp), %rdi...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::sampleCubeSeamlessLinearCompare(tcu::ConstPixelBufferAccess const (&) [6], tcu::CubeFace, tcu::Sampler const&, float, float, float)
static float sampleCubeSeamlessLinearCompare (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const Sampler& sampler, float ref, float s, float t) { DE_ASSERT(faceAccesses[0].getWidth() == faceAccesses[0].getHeight()); int size = faceAccesses[0].getWidth(); // Non-normalized coordin...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movss %xmm0, -0x1c(%rbp) movss %xmm1, -0x20(%rbp) movss %xmm2, -0x24(%rbp) movq -0x8(%rbp), %rdi callq 0x64b040 movl %eax, -0x28(%rbp) movss -0x20(%rbp), %xmm0 movss %xmm0, -0x2c(%rbp) movss -0x24(%rbp), %xmm0...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::Vector<int, 4> tcu::swizzleRB<int>(tcu::Vector<int, 4> const&, tcu::TextureFormat::ChannelOrder, tcu::TextureFormat::ChannelOrder)
Vector<T, 4> swizzleRB (const Vector<T, 4>& v, TextureFormat::ChannelOrder src, TextureFormat::ChannelOrder dst) { if (src == dst) return v; else { DE_ASSERT((src == TextureFormat::RGB && dst == TextureFormat::BGR) || (src == TextureFormat::BGR && dst == TextureFormat::RGB) || (src == TextureFormat::...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x28(%rbp) movq %rdi, %rax movq %rax, -0x20(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl %ecx, -0x18(%rbp) movl -0x14(%rbp), %eax cmpl -0x18(%rbp), %eax jne 0xd97928 movq -0x28(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x696550 jmp...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexture.cpp
tcu::Float<unsigned int, 8, 23, 127, 3u> tcu::Float<unsigned int, 8, 23, 127, 3u>::convert<unsigned int, 5, 6, 15, 2u>(tcu::Float<unsigned int, 5, 6, 15, 2u> const&)
Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::convert (const Float<OtherStorageType, OtherExponentBits, OtherMantissaBits, OtherExponentBias, OtherFlags>& other) { if (!(Flags & FLOAT_HAS_SIGN) && other.sign() < 0) { // Nega...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0xd98240 testb $0x1, %al jne 0xd9807b jmp 0xd98093 movq -0x10(%rbp), %rdi callq 0xd98290 movl %eax, %edi callq 0x6717e0 movl %eax, -0x4(%rbp) jmp 0xd98229 movq -0x10(%rbp), %rdi callq 0xd982c0 testb $0x1, %al jne 0xd980a2 jm...
/kaydenl[P]VK-GL-CTS/framework/common/tcuFloat.hpp
tcu::Float<unsigned int, 5, 6, 15, 2u> tcu::Float<unsigned int, 5, 6, 15, 2u>::convert<unsigned int, 8, 23, 127, 3u>(tcu::Float<unsigned int, 8, 23, 127, 3u> const&)
Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::convert (const Float<OtherStorageType, OtherExponentBits, OtherMantissaBits, OtherExponentBias, OtherFlags>& other) { if (!(Flags & FLOAT_HAS_SIGN) && other.sign() < 0) { // Nega...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0x64c6e0 cmpl $0x0, %eax jge 0xd9894c movl $0x1, %edi callq 0xd98b70 movl %eax, -0x4(%rbp) jmp 0xd98b64 movq -0x10(%rbp), %rdi callq 0x64c650 testb $0x1, %al jne 0xd9895b jmp 0xd98973 movq -0x10(%rbp), %rdi callq 0x64c6e0 mo...
/kaydenl[P]VK-GL-CTS/framework/common/tcuFloat.hpp
tcu::Float<unsigned int, 5, 5, 15, 2u> tcu::Float<unsigned int, 5, 5, 15, 2u>::convert<unsigned int, 8, 23, 127, 3u>(tcu::Float<unsigned int, 8, 23, 127, 3u> const&)
Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::convert (const Float<OtherStorageType, OtherExponentBits, OtherMantissaBits, OtherExponentBias, OtherFlags>& other) { if (!(Flags & FLOAT_HAS_SIGN) && other.sign() < 0) { // Nega...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0x64c6e0 cmpl $0x0, %eax jge 0xd98c3c movl $0x1, %edi callq 0xd98e60 movl %eax, -0x4(%rbp) jmp 0xd98e54 movq -0x10(%rbp), %rdi callq 0x64c650 testb $0x1, %al jne 0xd98c4b jmp 0xd98c63 movq -0x10(%rbp), %rdi callq 0x64c6e0 mo...
/kaydenl[P]VK-GL-CTS/framework/common/tcuFloat.hpp
tcu::getTextureBorderColorFloat(tcu::TextureFormat const&, tcu::Sampler const&)
static tcu::Vec4 getTextureBorderColorFloat (const TextureFormat& format, const Sampler& sampler) { const tcu::TextureChannelClass channelClass = getTextureChannelClass(format.type); const TextureSwizzle::Channel* channelMap = getBorderColorReadSwizzle(format.order).components; const bool isFloat = channelCl...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x58(%rbp) movq %rdi, %rax movq %rax, -0x50(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movl 0x4(%rax), %edi callq 0xd992a0 movl %eax, -0x1c(%rbp) movq -0x10(%rbp), %rax movl (%rax), %edi callq 0xd9f960 movq %ra...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::isAccessValid(tcu::TextureFormat, tcu::TextureAccessType)
bool isAccessValid (TextureFormat format, TextureAccessType type) { DE_ASSERT(isValid(format)); if (format.order == TextureFormat::DS) { // It is never allowed to access combined depth-stencil format with getPixel(). // Instead either getPixDepth() or getPixStencil(), or effective depth- or stencil- // access...
pushq %rbp movq %rsp, %rbp movq %rdi, -0xc(%rbp) movl %esi, -0x10(%rbp) cmpl $0x14, -0xc(%rbp) jne 0xd99d97 movb $0x0, -0x1(%rbp) jmp 0xd99ddd cmpl $0x12, -0xc(%rbp) jne 0xd99dab cmpl $0x0, -0x10(%rbp) sete %al andb $0x1, %al movb %al, -0x1(%rbp) jmp 0xd99ddd cmpl $0x13, -0xc(%rbp) jne 0xd99dbf cmpl $0x2, -0x10(%rbp) s...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::getSubregion(tcu::ConstPixelBufferAccess const&, int, int, int, int, int, int)
ConstPixelBufferAccess getSubregion (const ConstPixelBufferAccess& access, int x, int y, int z, int width, int height, int depth) { DE_ASSERT(de::inBounds(x, 0, access.getWidth())); DE_ASSERT(de::inRange(x+width, x+1, access.getWidth())); DE_ASSERT(de::inBounds(y, 0, access.getHeight())); DE_ASSERT(de::inRange(y+h...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x50(%rbp) movq %rdi, %rax movq %rax, -0x38(%rbp) 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) movq -0x10(%rbp), %rdi callq 0x64...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::getSubregion(tcu::PixelBufferAccess const&, int, int, int, int, int, int)
PixelBufferAccess getSubregion (const PixelBufferAccess& access, int x, int y, int z, int width, int height, int depth) { DE_ASSERT(de::inBounds(x, 0, access.getWidth())); DE_ASSERT(de::inRange(x+width, x+1, access.getWidth())); DE_ASSERT(de::inBounds(y, 0, access.getHeight())); DE_ASSERT(de::inRange(y+height, y+1...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x50(%rbp) movq %rdi, %rax movq %rax, -0x38(%rbp) 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) movq -0x10(%rbp), %rdi callq 0x64...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::getFloatChannelValueRange(tcu::TextureFormat::ChannelType)
static Vec2 getFloatChannelValueRange (TextureFormat::ChannelType channelType) { // make sure this table is updated if format table is updated DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 38); float cMin = 0.0f; float cMax = 0.0f; switch (channelType) { // Signed normalized formats. case TextureForma...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x30(%rbp) movq %rdi, %rax movq %rax, -0x28(%rbp) movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl $0x0, -0x10(%rbp) movl $0x0, -0x14(%rbp) movl -0xc(%rbp), %eax movq %rax, -0x20(%rbp) subq $0x24, %rax ja 0xd9aa7e movq -0x20(%rbp), %rax leaq 0x1136a4(%rip), %rcx ...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::getFormatMinIntValue(tcu::TextureFormat const&)
IVec4 getFormatMinIntValue (const TextureFormat& format) { DE_ASSERT(getTextureChannelClass(format.type) == TEXTURECHANNELCLASS_SIGNED_INTEGER); switch (format.type) { case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::min()); case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_l...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x28(%rbp) movq %rdi, %rax movq %rax, -0x20(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movl 0x4(%rax), %eax movl %eax, -0x14(%rbp) subl $0x1b, %eax je 0xd9ab10 jmp 0xd9aafc movl -0x14(%rbp), %eax subl $0x1c, %eax je 0xd9ab23 jmp 0xd9...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::getFormatMaxIntValue(tcu::TextureFormat const&)
IVec4 getFormatMaxIntValue (const TextureFormat& format) { DE_ASSERT(getTextureChannelClass(format.type) == TEXTURECHANNELCLASS_SIGNED_INTEGER); if (format == TextureFormat(TextureFormat::RGBA, TextureFormat::SIGNED_INT_1010102_REV) || format == TextureFormat(TextureFormat::BGRA, TextureFormat::SIGNED_INT_1010102_...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x40(%rbp) movq %rdi, %rax movq %rax, -0x38(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x30(%rbp) leaq -0x18(%rbp), %rdi movl $0x8, %esi movl $0x14, %edx callq 0x53e700 movq -0x30(%rbp), %rdi leaq -0x18(%rbp), %rsi callq ...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::getChannelBitDepth(tcu::TextureFormat::ChannelType)
static IVec4 getChannelBitDepth (TextureFormat::ChannelType channelType) { // make sure this table is updated if format table is updated DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 38); switch (channelType) { case TextureFormat::SNORM_INT8: return IVec4(8); case TextureFormat::SNORM_INT16: ret...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x28(%rbp) movq %rdi, %rax movq %rax, -0x20(%rbp) movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl -0xc(%rbp), %eax movq %rax, -0x18(%rbp) subq $0x25, %rax ja 0xd9b396 movq -0x18(%rbp), %rax leaq 0x112ff6(%rip), %rcx # 0xeae00c movslq (%rcx,%rax,4), %rax addq %...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::getTextureFormatMantissaBitDepth(tcu::TextureFormat const&)
IVec4 getTextureFormatMantissaBitDepth (const TextureFormat& format) { const IVec4 chnBits = getChannelMantissaBitDepth(format.type); const TextureSwizzle::Channel* map = getChannelReadSwizzle(format.order).components; const BVec4 chnMask = BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSw...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x70(%rbp) movq %rdi, %rax movq %rax, -0x68(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movl 0x4(%rax), %esi leaq -0x20(%rbp), %rdi callq 0xd9b5f0 movq -0x10(%rbp), %rax movl (%rax), %edi callq 0xd88590 movq %rax, -0x28(%rbp) movq -0x...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::getTextureFormatChannelMask(tcu::TextureFormat const&)
BVec4 getTextureFormatChannelMask (const TextureFormat& format) { const TextureSwizzle::Channel* const map = getChannelReadSwizzle(format.order).components; return BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, deInRange32(map[1], TextureSwizzle::CHANNEL_0, TextureSwi...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x28(%rbp) movq %rdi, %rax movq %rax, -0x20(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movl (%rax), %edi callq 0xd88590 movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movl (%rax), %edi xorl %esi, %esi movl $0x3, %edx callq 0xd9aaa0 cm...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::clear(tcu::PixelBufferAccess const&, tcu::Vector<float, 4> const&)
void clear (const PixelBufferAccess& access, const Vec4& color) { const int pixelSize = access.getFormat().getPixelSize(); const int pixelPitch = access.getPixelPitch(); const bool rowPixelsTightlyPacked = (pixelSize == pixelPitch); if (access.getWidth()*access.getHeight()*access.getDepth() >= CLEAR_OPTIMIZE...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi callq 0x64b030 movq %rax, %rdi callq 0xd88560 movl %eax, -0x14(%rbp) movq -0x8(%rbp), %rdi callq 0xd313a0 movl %eax, -0x18(%rbp) movl -0x14(%rbp), %eax cmpl -0x18(%rbp), %eax sete %al andb $0x1, %al movb %al, ...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::clear(tcu::PixelBufferAccess const&, tcu::Vector<int, 4> const&)
void clear (const PixelBufferAccess& access, const IVec4& color) { const int pixelSize = access.getFormat().getPixelSize(); const int pixelPitch = access.getPixelPitch(); const bool rowPixelsTightlyPacked = (pixelSize == pixelPitch); if (access.getWidth()*access.getHeight()*access.getDepth() >= CLEAR_OPTIMIZ...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi callq 0x64b030 movq %rax, %rdi callq 0xd88560 movl %eax, -0x14(%rbp) movq -0x8(%rbp), %rdi callq 0xd313a0 movl %eax, -0x18(%rbp) movl -0x14(%rbp), %eax cmpl -0x18(%rbp), %eax sete %al andb $0x1, %al movb %al, ...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::fillWithComponentGradients2D(tcu::PixelBufferAccess const&, tcu::Vector<float, 4> const&, tcu::Vector<float, 4> const&)
static void fillWithComponentGradients2D (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal) { for (int y = 0; y < access.getHeight(); y++) { for (int x = 0; x < access.getWidth(); x++) { float s = ((float)x + 0.5f) / (float)access.getWidth(); float t = ((float)y + 0.5f) / (float)acces...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl $0x0, -0x1c(%rbp) movl -0x1c(%rbp), %eax movl %eax, -0x4c(%rbp) movq -0x8(%rbp), %rdi callq 0x64b060 movl %eax, %ecx movl -0x4c(%rbp), %eax cmpl %ecx, %eax jge 0xd9c254 movl $0x0, -0x20(%rbp) movl -0x20(...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::fillWithComponentGradients3D(tcu::PixelBufferAccess const&, tcu::Vector<float, 4> const&, tcu::Vector<float, 4> const&)
static void fillWithComponentGradients3D (const PixelBufferAccess& dst, const Vec4& minVal, const Vec4& maxVal) { for (int z = 0; z < dst.getDepth(); z++) { for (int y = 0; y < dst.getHeight(); y++) { for (int x = 0; x < dst.getWidth(); x++) { float s = ((float)x + 0.5f) / (float)dst.getWidth(); flo...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl $0x0, -0x1c(%rbp) movl -0x1c(%rbp), %eax movl %eax, -0x54(%rbp) movq -0x8(%rbp), %rdi callq 0x77c250 movl %eax, %ecx movl -0x54(%rbp), %eax cmpl %ecx, %eax jge 0xd9c4fd movl $0x0, -0x20(%rbp) movl -0x20(...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::fillWithGrid(tcu::PixelBufferAccess const&, int, tcu::Vector<float, 4> const&, tcu::Vector<float, 4> const&)
void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) { if (isCombinedDepthStencilType(access.getFormat().type)) { const bool hasDepth = access.getFormat().order == tcu::TextureFormat::DS || access.getFormat().order == tcu::TextureFormat::D; const bool hasStenc...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rdi callq 0x64b030 movl 0x4(%rax), %edi callq 0xd99ce0 testb $0x1, %al jne 0xd9c544 jmp 0xd9c665 movq -0x8(%rbp), %rdi callq 0x64b030 movq %rax, %rcx movb $0x1, %al cmp...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::copy(tcu::PixelBufferAccess const&, tcu::ConstPixelBufferAccess const&)
void copy (const PixelBufferAccess& dst, const ConstPixelBufferAccess& src) { DE_ASSERT(src.getSize() == dst.getSize()); const int width = dst.getWidth(); const int height = dst.getHeight(); const int depth = dst.getDepth(); const int srcPixelSize = src.getFormat().getPixelSize(); const int dstPixelSi...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi callq 0x64b040 movl %eax, -0x14(%rbp) movq -0x8(%rbp), %rdi callq 0x64b060 movl %eax, -0x18(%rbp) movq -0x8(%rbp), %rdi callq 0x77c250 movl %eax, -0x1c(%rbp) movq -0x10(%rbp), %rdi callq 0x64b030 movq %rax, %r...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::computePixelScaleBias(tcu::ConstPixelBufferAccess const&, tcu::Vector<float, 4>&, tcu::Vector<float, 4>&)
void computePixelScaleBias (const ConstPixelBufferAccess& access, Vec4& scale, Vec4& bias) { Vec4 minVal, maxVal; estimatePixelValueRange(access, minVal, maxVal); const float eps = 0.0001f; for (int c = 0; c < 4; c++) { if (maxVal[c] - minVal[c] < eps) { scale[c] = (maxVal[c] < eps) ? 1.0f : (1.0f / maxVa...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) leaq -0x28(%rbp), %rdi callq 0x53b900 leaq -0x38(%rbp), %rdi callq 0x53b900 movq -0x8(%rbp), %rdi leaq -0x28(%rbp), %rsi leaq -0x38(%rbp), %rdx callq 0xd9de30 movss 0x10c4e1(%rip), %xmm0 # 0xeaaad0 movss %x...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::getCubeArrayFaceIndex(tcu::CubeFace)
int getCubeArrayFaceIndex (CubeFace face) { DE_ASSERT((int)face >= 0 && face < CUBEFACE_LAST); switch (face) { case CUBEFACE_POSITIVE_X: return 0; case CUBEFACE_NEGATIVE_X: return 1; case CUBEFACE_POSITIVE_Y: return 2; case CUBEFACE_NEGATIVE_Y: return 3; case CUBEFACE_POSITIVE_Z: return 4; case CUBEFACE...
pushq %rbp movq %rsp, %rbp movl %edi, -0x8(%rbp) movl -0x8(%rbp), %eax movq %rax, -0x10(%rbp) subq $0x5, %rax ja 0xd9e88e movq -0x10(%rbp), %rax leaq 0x10f8ed(%rip), %rcx # 0xeae13c movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movl $0x0, -0x4(%rbp) jmp 0xd9e895 movl $0x1, -0x4(%rbp) jmp 0xd9e895 movl $0x2, ...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::ConstPixelBufferAccess tcu::toSamplerAccess<tcu::ConstPixelBufferAccess>(tcu::ConstPixelBufferAccess const&, tcu::Sampler::DepthStencilMode)
static AccessType toSamplerAccess (const AccessType& baseAccess, Sampler::DepthStencilMode mode) { // make sure to update this if type table is updated DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 38); if (!isCombinedDepthStencilType(baseAccess.getFormat().type)) return baseAccess; else { #if (DE_ENDIANN...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0x78(%rbp) movq %rdi, %rax movq %rax, -0x70(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x10(%rbp), %rdi callq 0x64b030 movl 0x4(%rax), %edi callq 0xd99ce0 testb $0x1, %al jne 0xd9f048 movq -0x78(%rbp),...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::getEffectiveTView(tcu::TextureCubeView const&, std::vector<tcu::ConstPixelBufferAccess, std::allocator<tcu::ConstPixelBufferAccess>>&, tcu::Sampler const&)
tcu::TextureCubeView getEffectiveTView (const tcu::TextureCubeView& src, std::vector<tcu::ConstPixelBufferAccess>& storage, const tcu::Sampler& sampler) { storage.resize(tcu::CUBEFACE_LAST * src.getNumLevels()); const tcu::ConstPixelBufferAccess* storagePtrs[tcu::CUBEFACE_LAST] = { &storage[0 * src.getNumLevels()...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rdi, -0x88(%rbp) movq %rdi, -0xc8(%rbp) movq %rsi, -0x8(%rbp) movq %rdx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0xc0(%rbp) movq -0x8(%rbp), %rdi callq 0xc59010 movq -0xc0(%rbp), %rdi imull $0x6, %eax, %eax movslq %eax, %rsi callq 0xda0520 ...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
deIntMinValue32(int)
DE_INLINE deInt32 deIntMinValue32 (int numBits) { DE_ASSERT(deInRange32(numBits, 1, 32)); if (numBits < 32) return -((deInt32)1 << (numBits - 1)); else { /* avoid undefined behavior of int overflow when shifting */ return (deInt32)(-0x7FFFFFFF - 1); } }
pushq %rbp movq %rsp, %rbp movl %edi, -0x8(%rbp) cmpl $0x20, -0x8(%rbp) jge 0xd9fd45 movl -0x8(%rbp), %ecx subl $0x1, %ecx movl $0x1, %eax shll %cl, %eax movl %eax, %ecx xorl %eax, %eax subl %ecx, %eax movl %eax, -0x4(%rbp) jmp 0xd9fd4c movl $0x80000000, -0x4(%rbp) # imm = 0x80000000 movl -0x4(%rbp), %eax popq %rbp ret...
/kaydenl[P]VK-GL-CTS/framework/delibs/debase/deInt32.h
tcu::Vector<int, 4> tcu::sampleTextureBorder<int>(tcu::TextureFormat const&, tcu::Sampler const&)
tcu::Vector<ScalarType, 4> sampleTextureBorder (const TextureFormat& format, const Sampler& sampler) { const tcu::TextureChannelClass channelClass = getTextureChannelClass(format.type); switch (channelClass) { case tcu::TEXTURECHANNELCLASS_FLOATING_POINT: case tcu::TEXTURECHANNELCLASS_SIGNED_FIXED_POINT: case...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x68(%rbp) movq %rdi, %rax movq %rax, -0x60(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movl 0x4(%rax), %edi callq 0xd992a0 movl %eax, -0x1c(%rbp) movl -0x1c(%rbp), %eax movq %rax, -0x58(%rbp) subq $0x4, %rax ja...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::Texture1DView tcu::getEffectiveTView<tcu::Texture1DView>(tcu::Texture1DView const&, std::vector<tcu::ConstPixelBufferAccess, std::allocator<tcu::ConstPixelBufferAccess>>&, tcu::Sampler const&)
ViewType getEffectiveTView (const ViewType& src, std::vector<tcu::ConstPixelBufferAccess>& storage, const tcu::Sampler& sampler) { storage.resize(src.getNumLevels()); ViewType view = ViewType(src.getNumLevels(), &storage[0]); for (int levelNdx = 0; levelNdx < src.getNumLevels(); ++levelNdx) storage[levelNdx] = t...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x18(%rbp) movq %rsi, -0x20(%rbp) movq %rdx, -0x28(%rbp) movq -0x20(%rbp), %rax movq %rax, -0x68(%rbp) movq -0x18(%rbp), %rdi callq 0xc58ed0 movq -0x68(%rbp), %rdi movslq %eax, %rsi callq 0xda0520 movq -0x18(%rbp), %rdi callq 0xc58ed0 movl %eax, -0x5c(%rbp) movq -...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::Texture3DView tcu::getEffectiveTView<tcu::Texture3DView>(tcu::Texture3DView const&, std::vector<tcu::ConstPixelBufferAccess, std::allocator<tcu::ConstPixelBufferAccess>>&, tcu::Sampler const&)
ViewType getEffectiveTView (const ViewType& src, std::vector<tcu::ConstPixelBufferAccess>& storage, const tcu::Sampler& sampler) { storage.resize(src.getNumLevels()); ViewType view = ViewType(src.getNumLevels(), &storage[0]); for (int levelNdx = 0; levelNdx < src.getNumLevels(); ++levelNdx) storage[levelNdx] = t...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x18(%rbp) movq %rsi, -0x20(%rbp) movq %rdx, -0x28(%rbp) movq -0x20(%rbp), %rax movq %rax, -0x68(%rbp) movq -0x18(%rbp), %rdi callq 0xc59080 movq -0x68(%rbp), %rdi movslq %eax, %rsi callq 0xda0520 movq -0x18(%rbp), %rdi callq 0xc59080 movl %eax, -0x5c(%rbp) movq -...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTextureUtil.cpp
tcu::CompositeFunctionLibrary::getFunction(char const*) const
deFunctionPtr CompositeFunctionLibrary::getFunction (const char* name) const { for (int ndx = 0; ndx < m_numLibraries; ndx++) { const deFunctionPtr ptr = m_libraries[ndx].getFunction(name); if (ptr) return ptr; } return DE_NULL; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x30(%rbp) movl $0x0, -0x1c(%rbp) movq -0x30(%rbp), %rcx movl -0x1c(%rbp), %eax cmpl 0x10(%rcx), %eax jge 0xda1531 movq -0x30(%rbp), %rax movq 0x8(%rax), %rax movslq -0x1c(%rbp), %rcx movq %rcx, ...
/kaydenl[P]VK-GL-CTS/framework/common/tcuFunctionLibrary.cpp
tcu::isLinearSampleResultValid(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::LookupPrecision const&, float, int, tcu::Vector<float, 4> const&)
bool isLinearSampleResultValid (const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) { const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.nor...
pushq %rbp movq %rsp, %rbp subq $0xb0, %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, -0x8d(%rbp) movq -0x10(%rbp), %rdi callq 0x64b040 movl %eax, -0x9c(%rbp) movss -0x2...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
tcu::isLinearSampleResultValid(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::LookupPrecision const&, tcu::Vector<float, 2> const&, int, tcu::Vector<float, 4> const&)
bool isLinearSampleResultValid (const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) { const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.norm...
pushq %rbp movq %rsp, %rbp subq $0x120, %rsp # imm = 0x120 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movl %r8d, -0x2c(%rbp) movq %r9, -0x38(%rbp) movq -0x18(%rbp), %rax movb 0x18(%rax), %al movb %al, -0xf1(%rbp) movq -0x10(%rbp), %rdi callq 0x64b040 movl %eax...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
tcu::isBilinearRangeValid(tcu::LookupPrecision const&, tcu::ColorQuad const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, float, tcu::Vector<float, 4> const&)
static bool isBilinearRangeValid (const LookupPrecision& prec, const ColorQuad& quad, const Vec2& xBounds, const Vec2& yBounds, const float searchStep, const Vec4& result) { DE_ASSERT(xBounds.x() <= xBounds.y()); DE_ASSERT(yBounds.x() <= yBounds.y()); D...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp 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 -0x18(%rbp), %rsi movq -0x38(%rbp), %rdx callq 0xda9640 testb $0x1, %al jne 0xda3e82 movb $0x0, -0x1(%rbp) jm...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
tcu::isLookupResultValid(tcu::Texture2DView const&, tcu::Sampler const&, tcu::LookupPrecision const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 4> const&)
bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) { const float minLod = lodBounds.x(); const float maxLod = lodBounds.y(); const bool canBeMagnified = minLod <= sampler.lodThreshold; cons...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp 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 -0x30(%rbp), %rdi callq 0x570550 movss %xmm0, -0x3c(%rbp) movq -0x30(%rbp), %rdi callq 0x570570 movss %xmm0, -0x40(%rbp) movss -0x3c(%r...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
tcu::isLookupResultValid(tcu::TextureCubeView const&, tcu::Sampler const&, tcu::LookupPrecision const&, tcu::Vector<float, 3> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 4> const&)
bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) { int numPossibleFaces = 0; CubeFace possibleFaces[CUBEFACE_LAST]; DE_ASSERT(isSamplerSupported(sampler)); getPossibleCubeFaces(coord, p...
pushq %rbp movq %rsp, %rbp subq $0x630, %rsp # imm = 0x630 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) movl $0x0, -0x3c(%rbp) movq -0x28(%rbp), %rdi movq -0x20(%rbp), %rsi leaq -0x60(%rbp), %rdx leaq -0x3c(%rbp), %rcx...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
tcu::isCubeMipmapLinearSampleResultValid(tcu::ConstPixelBufferAccess const (&) [6], tcu::ConstPixelBufferAccess const (&) [6], tcu::Sampler const&, tcu::Sampler::FilterMode, tcu::LookupPrecision const&, tcu::CubeFaceCoords<float> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 4> const&)
static bool isCubeMipmapLinearSampleResultValid (const ConstPixelBufferAccess (&faces0)[CUBEFACE_LAST], const ConstPixelBufferAccess (&faces1)[CUBEFACE_LAST], const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, ...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movl %ecx, -0x24(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) cmpl $0x1, -0x24(%rbp) jne 0xda5249 movq -0x20(%rbp), %rax testb $0x1, 0x34(%rax) je 0xda51bd mo...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
tcu::isLookupResultValid(tcu::Texture1DArrayView const&, tcu::Sampler const&, tcu::LookupPrecision const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 4> const&)
bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) { const IVec2 layerRange = computeLayerRange(texture.getNumLayers(), prec.coordBits.y(), coord.y()); const float coordX = coord.x(); con...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp 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 callq 0xdb11e0 movl %eax, -0x90(%rbp) movq -0x20(%rbp), %rdi callq 0x53e860 movl %eax, -0x8c(%rbp) movq -0x28(%rbp), ...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
tcu::isLookupResultValid(tcu::Texture2DArrayView const&, tcu::Sampler const&, tcu::LookupPrecision const&, tcu::Vector<float, 3> const&, tcu::Vector<float, 2> const&, tcu::Vector<float, 4> const&)
bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) { const IVec2 layerRange = computeLayerRange(texture.getNumLayers(), prec.coordBits.z(), coord.z()); const Vec2 coordXY = coord.swizzle(0...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp 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 callq 0xdb1220 movl %eax, -0x94(%rbp) movq -0x20(%rbp), %rdi callq 0x53e880 movl %eax, -0x90(%rbp) movq -0x28(%rbp), ...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
tcu::getCubeArrayLevelFaces(tcu::TextureCubeArrayView const&, int, int, tcu::ConstPixelBufferAccess (&) [6])
static void getCubeArrayLevelFaces (const TextureCubeArrayView& texture, const int levelNdx, const int layerNdx, ConstPixelBufferAccess (&out)[CUBEFACE_LAST]) { const ConstPixelBufferAccess& level = texture.getLevel(levelNdx); const int layerDepth = layerNdx * 6; for (int faceNdx = 0; faceNdx < CUBEFACE_LAST;...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movq -0x8(%rbp), %rdi movl -0xc(%rbp), %esi callq 0xda0fa0 movq %rax, -0x20(%rbp) imull $0x6, -0x10(%rbp), %eax movl %eax, -0x24(%rbp) movl $0x0, -0x28(%rbp) cmpl $0x6, -0x28(%rbp) jge 0...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
bool tcu::isNearestSampleResultValid<tcu::IntLookupPrecision, unsigned int>(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::IntLookupPrecision const&, float, int, tcu::Vector<unsigned int, 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
bool tcu::isNearestSampleResultValid<tcu::IntLookupPrecision, int>(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::IntLookupPrecision const&, tcu::Vector<float, 2> const&, int, tcu::Vector<int, 4> const&)
static bool isNearestSampleResultValid (const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, const int coordZ, const Vector<ScalarType, 4>& result) { const Vec2 uBounds = computeNonNormalizedCo...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movl %r8d, -0x2c(%rbp) movq %r9, -0x38(%rbp) movq -0x18(%rbp), %rax movb 0x18(%rax), %al movb %al, -0x89(%rbp) movq -0x10(%rbp), %rdi callq 0x64b040 movl %eax, -0x98(%rbp) movq -0x28(%...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
bool tcu::isNearestSampleResultValid<tcu::IntLookupPrecision, unsigned int>(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::IntLookupPrecision const&, tcu::Vector<float, 2> const&, int, tcu::Vector<unsigned int, 4> const&)
static bool isNearestSampleResultValid (const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, const int coordZ, const Vector<ScalarType, 4>& result) { const Vec2 uBounds = computeNonNormalizedCo...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movl %r8d, -0x2c(%rbp) movq %r9, -0x38(%rbp) movq -0x18(%rbp), %rax movb 0x18(%rax), %al movb %al, -0x89(%rbp) movq -0x10(%rbp), %rdi callq 0x64b040 movl %eax, -0x98(%rbp) movq -0x28(%...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
bool tcu::isNearestSampleResultValid<tcu::IntLookupPrecision, int>(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::IntLookupPrecision const&, tcu::Vector<float, 3> const&, tcu::Vector<int, 4> const&)
static bool isNearestSampleResultValid (const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec3& coord, const Vector<ScalarType, 4>& result) { const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp 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, -0xa9(%rbp) movq -0x10(%rbp), %rdi callq 0x64b040 movl %eax, -0xb8(%rbp) movq -0x28(%rbp), %rdi callq 0x5c7c...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
bool tcu::isNearestSampleResultValid<tcu::IntLookupPrecision, unsigned int>(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::IntLookupPrecision const&, tcu::Vector<float, 3> const&, tcu::Vector<unsigned int, 4> const&)
static bool isNearestSampleResultValid (const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec3& coord, const Vector<ScalarType, 4>& result) { const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp 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, -0xa9(%rbp) movq -0x10(%rbp), %rdi callq 0x64b040 movl %eax, -0xb8(%rbp) movq -0x28(%rbp), %rdi callq 0x5c7c...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
bool tcu::isGatherOffsetsResultValid<tcu::LookupPrecision, float>(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::LookupPrecision const&, tcu::Vector<float, 2> const&, int, int, tcu::Vector<int, 2> const (&) [4], tcu::Vector<float, 4> const&)
static bool isGatherOffsetsResultValid (const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, int coordZ, int componentNdx, const IVec2 (&offsets)[4], const Vector<Scalar...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movl %r8d, -0x2c(%rbp) movl %r9d, -0x30(%rbp) movq -0x18(%rbp), %rax movb 0x18(%rax), %al movb %al, -0x9d(%rbp) movq -0x10(%rbp), %rdi callq...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
bool tcu::isGatherOffsetsResultValid<tcu::IntLookupPrecision, unsigned int>(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::IntLookupPrecision const&, tcu::Vector<float, 2> const&, int, int, tcu::Vector<int, 2> const (&) [4], tcu::Vector<unsigned int, 4> const&)
static bool isGatherOffsetsResultValid (const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, int coordZ, int componentNdx, const IVec2 (&offsets)[4], const Vector<Scalar...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movl %r8d, -0x2c(%rbp) movl %r9d, -0x30(%rbp) movq -0x18(%rbp), %rax movb 0x18(%rax), %al movb %al, -0x9d(%rbp) movq -0x10(%rbp), %rdi callq...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
bool tcu::is2DArrayGatherOffsetsResultValid<tcu::IntLookupPrecision, unsigned int>(tcu::Texture2DArrayView const&, tcu::Sampler const&, tcu::IntLookupPrecision const&, tcu::Vector<float, 3> const&, int, tcu::Vector<int, 2> const (&) [4], tcu::Vector<unsigned int, 4> const&)
static bool is2DArrayGatherOffsetsResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vector<Scala...
pushq %rbp movq %rsp, %rbp subq $0x80, %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) movq -0x10(%rbp), %rdi callq 0xdb1220 movl %eax, -0x54(%rbp) movq -0x20(%rbp), %rdi callq 0x53e880 movl %eax, -0x50(%...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
bool tcu::isCubeGatherResultValid<tcu::IntLookupPrecision, int>(tcu::TextureCubeView const&, tcu::Sampler const&, tcu::IntLookupPrecision const&, tcu::Vector<float, 3> const&, int, tcu::Vector<int, 4> const&)
static bool isCubeGatherResultValid (const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const Vector<ScalarType, 4>& result) { int numPossibleFaces = 0; CubeFace possibleFaces[CUBE...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movl %r8d, -0x2c(%rbp) movq %r9, -0x38(%rbp) movl $0x0, -0x3c(%rbp) movq -0x28(%rbp), %rdi movq -0x20(%rbp), %rsi leaq -0x60(%rbp), %rdx leaq -0x3c(%rbp), %rcx callq 0xdb8250 cmpl $0x0...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
bool tcu::isNearestSampleResultValid<tcu::LookupPrecision, float>(tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::LookupPrecision const&, tcu::Vector<float, 2> const&, int, tcu::Vector<float, 4> const&)
static bool isNearestSampleResultValid (const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, const int coordZ, const Vector<ScalarType, 4>& result) { const Vec2 uBounds = computeNonNormalizedCo...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movl %r8d, -0x2c(%rbp) movq %r9, -0x38(%rbp) movq -0x18(%rbp), %rax movb 0x18(%rax), %al movb %al, -0x89(%rbp) movq -0x10(%rbp), %rdi callq 0x64b040 movl %eax, -0x98(%rbp) movq -0x28(%...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp
tcu::isLinearMipmapLinearSampleResultValid(tcu::ConstPixelBufferAccess const&, tcu::ConstPixelBufferAccess const&, tcu::Sampler const&, tcu::LookupPrecision const&, tcu::Vector<float, 2> const&, 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 Vec2& coord, const int coordZ, ...
pushq %rbp movq %rsp, %rbp subq $0x200, %rsp # imm = 0x200 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) movl %r9d, -0x34(%rbp) movq -0x10(%rbp), %rdi callq 0x64b040 movl %eax, -0x38(%rbp) movq -0x...
/kaydenl[P]VK-GL-CTS/framework/common/tcuTexLookupVerifier.cpp