name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
deqp::gls::ub::ShaderInterface::~ShaderInterface()
ShaderInterface::~ShaderInterface (void) { for (std::vector<StructType*>::iterator i = m_structs.begin(); i != m_structs.end(); i++) delete *i; for (std::vector<UniformBlock*>::iterator i = m_uniformBlocks.begin(); i != m_uniformBlocks.end(); i++) delete *i; }
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x40(%rbp) callq 0xbb04a0 movq %rax, -0x10(%rbp) movq -0x40(%rbp), %rdi callq 0xbb0510 movq %rax, -0x18(%rbp) leaq -0x10(%rbp), %rdi leaq -0x18(%rbp), %rsi callq 0xbb04d0 testb $0x1, %al jne 0xba608d jmp 0xba60cd leaq -0...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::UniformBlockCase::UniformBlockCase(tcu::TestContext&, glu::RenderContext&, char const*, char const*, glu::GLSLVersion, deqp::gls::UniformBlockCase::BufferMode)
UniformBlockCase::UniformBlockCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, glu::GLSLVersion glslVersion, BufferMode bufferMode) : TestCase (testCtx, name, description) , m_renderCtx (renderCtx) , m_glslVersion (glslVersion) , m_bufferMode (bufferMode) {...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movl 0x10(%rbp), %eax movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movl %r9d, -0x2c(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x50(%rbp) movq -0x10(%rbp), %rsi movq -0x20(%rbp), %rdx movq -0x28(%rbp), %rcx call...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::UniformBlockCase::iterate()
UniformBlockCase::IterateResult UniformBlockCase::iterate (void) { TestLog& log = m_testCtx.getLog(); const glw::Functions& gl = m_renderCtx.getFunctions(); UniformLayout refLayout; //!< std140 layout. vector<deUint8> data; //!< Data. map<int, void*> blockPointers; //!< Reference block pointers. ...
pushq %rbp movq %rsp, %rbp subq $0xd00, %rsp # imm = 0xD00 movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0xb40(%rbp) movq 0x8(%rax), %rdi callq 0x4d7990 movq %rax, %rcx movq -0xb40(%rbp), %rax movq %rcx, -0x18(%rbp) movq 0x70(%rax), %rdi movq (%rdi), %rax movq 0x18(%rax), %rax callq *%rax movq %r...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::computeStd140Layout(deqp::gls::ub::UniformLayout&, deqp::gls::ub::ShaderInterface const&)
void computeStd140Layout (UniformLayout& layout, const ShaderInterface& interface) { // \todo [2012-01-23 pyry] Uniforms in default block. int numUniformBlocks = interface.getNumUniformBlocks(); for (int blockNdx = 0; blockNdx < numUniformBlocks; blockNdx++) { const UniformBlock& block = interface.getUniformB...
pushq %rbp movq %rsp, %rbp subq $0x210, %rsp # imm = 0x210 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0xbb1320 movl %eax, -0x14(%rbp) movl $0x0, -0x18(%rbp) movl -0x18(%rbp), %eax cmpl -0x14(%rbp), %eax jge 0xba8322 movq -0x10(%rbp), %rdi movl -0x18(%rbp), %esi callq 0xbb1340 m...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::generateValues(deqp::gls::ub::UniformLayout const&, std::map<int, void*, std::less<int>, std::allocator<std::pair<int const, void*>>> const&, unsigned int)
void generateValues (const UniformLayout& layout, const std::map<int, void*>& blockPointers, deUint32 seed) { de::Random rnd (seed); int numBlocks = (int)layout.blocks.size(); for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) { void* basePtr = blockPointers.find(blockNdx)->second; int numEntries =...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl -0x14(%rbp), %esi leaq -0x24(%rbp), %rdi callq 0x523df0 movq -0x8(%rbp), %rdi callq 0xbb0420 movl %eax, -0x28(%rbp) movl $0x0, -0x2c(%rbp) movl -0x2c(%rbp), %eax cmpl -0x28(%rbp), %eax jge 0xba8454 movq ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::generateFragmentShader(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, glu::GLSLVersion, deqp::gls::ub::ShaderInterface const&, deqp::gls::ub::UniformLayout const&, std::map<int, void*, std::less<int>, std::allocator<std::pair<int const, void...
void generateFragmentShader (std::ostringstream& src, glu::GLSLVersion glslVersion, const ShaderInterface& interface, const UniformLayout& layout, const std::map<int, void*>& blockPointers) { DE_ASSERT(isSupportedGLSLVersion(glslVersion)); src << glu::getGLSLVersionDeclaration(glslVersion) << "\n"; src << "in mediu...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x98(%rbp) movl -0xc(%rbp), %edi callq 0xc309f0 movq -0x98(%rbp), %rdi movq %rax, %rsi callq 0x4cba70 movq %rax, %rdi leaq 0x269ef...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::getGLUniformLayout(glw::Functions const&, deqp::gls::ub::UniformLayout&, unsigned int)
void getGLUniformLayout (const glw::Functions& gl, UniformLayout& layout, deUint32 program) { int numActiveUniforms = 0; int numActiveBlocks = 0; gl.getProgramiv(program, GL_ACTIVE_UNIFORMS, &numActiveUniforms); gl.getProgramiv(program, GL_ACTIVE_UNIFORM_BLOCKS, &numActiveBlocks); GLU_EXPECT_NO_ERROR(gl.getE...
pushq %rbp movq %rsp, %rbp subq $0x4c0, %rsp # imm = 0x4C0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl $0x0, -0x18(%rbp) movl $0x0, -0x1c(%rbp) movq -0x8(%rbp), %rax movq 0x9d8(%rax), %rax movl -0x14(%rbp), %edi movl $0x8b86, %esi # imm = 0x8B86 leaq -0x18(%rbp), %rdx c...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::UniformBlockCase::compareStd140Blocks(deqp::gls::ub::UniformLayout const&, deqp::gls::ub::UniformLayout const&) const
bool UniformBlockCase::compareStd140Blocks (const UniformLayout& refLayout, const UniformLayout& cmpLayout) const { TestLog& log = m_testCtx.getLog(); bool isOk = true; int numBlocks = m_interface.getNumUniformBlocks(); for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) { const UniformBlock& block ...
pushq %rbp movq %rsp, %rbp subq $0x8d0, %rsp # imm = 0x8D0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x720(%rbp) movq 0x8(%rax), %rdi callq 0x4d7990 movq -0x720(%rbp), %rdi movq %rax, -0x20(%rbp) movb $0x1, -0x21(%rbp) addq $0x80, %rdi callq 0xbb132...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::UniformBlockCase::checkIndexQueries(unsigned int, deqp::gls::ub::UniformLayout const&) const
bool UniformBlockCase::checkIndexQueries (deUint32 program, const UniformLayout& layout) const { tcu::TestLog& log = m_testCtx.getLog(); const glw::Functions& gl = m_renderCtx.getFunctions(); bool allOk = true; // \note Spec mandates that uniform blocks are assigned consecutive locations from 0 // ...
pushq %rbp movq %rsp, %rbp subq $0x230, %rsp # imm = 0x230 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x1d8(%rbp) movq 0x8(%rax), %rdi callq 0x4d7990 movq %rax, %rcx movq -0x1d8(%rbp), %rax movq %rcx, -0x20(%rbp) movq 0x70(%rax), %rdi movq (%rdi), %ra...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::copyUniformData(deqp::gls::ub::UniformLayout const&, std::map<int, void*, std::less<int>, std::allocator<std::pair<int const, void*>>> const&, deqp::gls::ub::UniformLayout const&, std::map<int, void*, std::less<int>, std::allocator<std::pair<int const, void*>>> const&)
void copyUniformData (const UniformLayout& dstLayout, const std::map<int, void*>& dstBlockPointers, const UniformLayout& srcLayout, const std::map<int, void*>& srcBlockPointers) { // \note Src layout is used as reference in case of activeUniforms happens to be incorrect in dstLayout blocks. int numBlocks = (int)srcLa...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x18(%rbp), %rdi callq 0xbb0420 movl %eax, -0x24(%rbp) movl $0x0, -0x28(%rbp) movl -0x28(%rbp), %eax cmpl -0x24(%rbp), %eax jge 0xbabfeb movq -0x18(%rbp), %rdi movslq -0x28(%rbp),...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::UniformBlockCase::render(unsigned int) const
bool UniformBlockCase::render (deUint32 program) const { tcu::TestLog& log = m_testCtx.getLog(); const glw::Functions& gl = m_renderCtx.getFunctions(); de::Random rnd (deStringHash(getName())); const tcu::RenderTarget& renderTarget = m_renderCtx.getRenderTarget(); const int viewportW = de::mi...
pushq %rbp movq %rsp, %rbp subq $0x4b0, %rsp # imm = 0x4B0 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x408(%rbp) movq 0x8(%rax), %rdi callq 0x4d7990 movq %rax, %rcx movq -0x408(%rbp), %rax movq %rcx, -0x18(%rbp) movq 0x70(%rax), %rdi movq (%rdi), %rax movq 0x18(%rax), %rax...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::mergeLayoutFlags(unsigned int, unsigned int)
inline deUint32 mergeLayoutFlags (deUint32 prevFlags, deUint32 newFlags) { const deUint32 packingMask = LAYOUT_PACKED|LAYOUT_SHARED|LAYOUT_STD140; const deUint32 matrixMask = LAYOUT_ROW_MAJOR|LAYOUT_COLUMN_MAJOR; deUint32 mergedFlags = 0; mergedFlags |= ((newFlags & packingMask) ? newFlags : prevFlags) & packin...
pushq %rbp movq %rsp, %rbp movl %edi, -0x4(%rbp) movl %esi, -0x8(%rbp) movl $0x38, -0xc(%rbp) movl $0xc0, -0x10(%rbp) movl $0x0, -0x14(%rbp) movl -0x8(%rbp), %eax andl $0x38, %eax cmpl $0x0, %eax je 0xbad1d2 movl -0x8(%rbp), %eax movl %eax, -0x18(%rbp) jmp 0xbad1d8 movl -0x4(%rbp), %eax movl %eax, -0x18(%rbp) movl -0x1...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::generateValue(deqp::gls::ub::UniformLayoutEntry const&, void*, de::Random&)
void generateValue (const UniformLayoutEntry& entry, void* basePtr, de::Random& rnd) { glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); int scalarSize = glu::getDataTypeScalarSize(entry.type); bool isMatrix = glu::isDataTypeMatrix(entry.type); int numVecs = isMatrix ? (entry.isRowMajo...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movl 0x20(%rax), %edi callq 0xc30dc0 movl %eax, -0x1c(%rbp) movq -0x8(%rbp), %rax movl 0x20(%rax), %edi callq 0xc30da0 movl %eax, -0x20(%rbp) movq -0x8(%rbp), %rax movl 0x20(%rax), %edi ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::generateDeclaration(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, deqp::gls::ub::UniformBlock const&)
void generateDeclaration (std::ostringstream& src, const UniformBlock& block) { if ((block.getFlags() & LAYOUT_MASK) != 0) src << "layout(" << LayoutFlagsFmt(block.getFlags() & LAYOUT_MASK) << ") "; src << "uniform " << block.getBlockName(); src << "\n{\n"; for (UniformBlock::ConstIterator uniformIter = block.b...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0xbb13b0 andl $0xf8, %eax cmpl $0x0, %eax je 0xbad7fd movq -0x8(%rbp), %rdi leaq 0x2a29df(%rip), %rsi # 0xe5019d callq 0x4cba70 movq %rax, -0x40(%rbp) movq -0x10(%rbp), %rdi callq 0xbb13b0 movl %eax,...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::generateCompareFuncs(std::ostream&, deqp::gls::ub::ShaderInterface const&)
void generateCompareFuncs (std::ostream& str, const ShaderInterface& interface) { std::set<glu::DataType> types; std::set<glu::DataType> compareFuncs; // Collect unique basic types collectUniqueBasicTypes(types, interface); // Set of compare functions required for (std::set<glu::DataType>::const_iterator iter =...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) leaq -0x40(%rbp), %rdi movq %rdi, -0xb8(%rbp) callq 0x953b10 leaq -0x70(%rbp), %rdi callq 0x953b10 movq -0xb8(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0xbaecd0 jmp 0xbad9ae leaq -0x40(%rbp), %rdi callq 0x953b30 movq %rax, -0x88(%rb...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::generateCompareSrc(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, char const*, deqp::gls::ub::ShaderInterface const&, deqp::gls::ub::UniformLayout const&, std::map<int, void*, std::less<int>, std::allocator<std::pair<int const, void*>>> cons...
void generateCompareSrc (std::ostringstream& src, const char* resultVar, const ShaderInterface& interface, const UniformLayout& layout, const std::map<int, void*>& blockPointers, bool isVertex) { deUint32 unusedMask = isVertex ? UNUSED_VERTEX : UNUSED_FRAGMENT; for (int blockNdx = 0; blockNdx < interface.getNumUnifo...
pushq %rbp movq %rsp, %rbp subq $0x2d0, %rsp # imm = 0x2D0 movb %r9b, %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) andb $0x1, %al movb %al, -0x29(%rbp) movb -0x29(%rbp), %dl movl $0x800, %eax # imm = 0x800 movl $0x400, %ecx ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::generateFullDeclaration(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, deqp::gls::ub::StructType const&, int)
void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) { src << "struct"; if (structType.getTypeName()) src << " " << structType.getTypeName(); src << "\n" << Indent(indentLevel) << "{\n"; for (StructType::ConstIterator memberIter = structType.begin(); memberIter !=...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x8(%rbp), %rdi leaq 0x29be4b(%rip), %rsi # 0xe4a38c callq 0x4cba70 movq -0x10(%rbp), %rdi callq 0xbb0c10 cmpq $0x0, %rax je 0xbae57e movq -0x8(%rbp), %rdi leaq 0x2f6be1(%rip), %rsi # 0xea5141 cal...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::generateDeclaration(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, deqp::gls::ub::VarType const&, char const*, int, unsigned int)
void generateDeclaration (std::ostringstream& src, const VarType& type, const char* name, int indentLevel, deUint32 unusedHints) { deUint32 flags = type.getFlags(); if ((flags & LAYOUT_MASK) != 0) src << "layout(" << LayoutFlagsFmt(flags & LAYOUT_MASK) << ") "; if ((flags & PRECISION_MASK) != 0) src << Precisi...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movl %r8d, -0x20(%rbp) movq -0x10(%rbp), %rdi callq 0xbb2260 movl %eax, -0x24(%rbp) movl -0x24(%rbp), %eax andl $0xf8, %eax cmpl $0x0, %eax je 0xbae7bf movq -0...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::getCompareDependencies(std::set<glu::DataType, std::less<glu::DataType>, std::allocator<glu::DataType>>&, glu::DataType)
void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) { switch (basicType) { case glu::TYPE_FLOAT_VEC2: case glu::TYPE_FLOAT_VEC3: case glu::TYPE_FLOAT_VEC4: compareFuncs.insert(glu::TYPE_FLOAT); compareFuncs.insert(basicType); break; case glu::TYPE_FLOAT_MAT2:...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl -0xc(%rbp), %eax movl %eax, -0x84(%rbp) addl $-0x2, %eax subl $0x3, %eax jb 0xbaed68 jmp 0xbaed55 movl -0x84(%rbp), %eax addl $-0x5, %eax subl $0x9, %eax jb 0xbaed99 jmp 0xbaedfe movq -0x8(%rbp), %rdi movl $0x1, -0x10(%rbp) lea...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::getCompareFuncForType(glu::DataType)
const char* getCompareFuncForType (glu::DataType type) { switch (type) { case glu::TYPE_FLOAT: return "mediump float compare_float (highp float a, highp float b) { return abs(a - b) < 0.05 ? 1.0 : 0.0; }\n"; case glu::TYPE_FLOAT_VEC2: return "mediump float compare_vec2 (highp vec2 a, highp vec2 b) {...
pushq %rbp movq %rsp, %rbp movl %edi, -0xc(%rbp) movl -0xc(%rbp), %eax decl %eax movl %eax, %ecx movq %rcx, -0x18(%rbp) subl $0x25, %eax ja 0xbaefc1 movq -0x18(%rbp), %rax leaq 0x2e4dd6(%rip), %rcx # 0xe93c1c movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax leaq 0x2e5363(%rip), %rax # 0xe941b9 movq %rax, -0x...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::collectUniqueBasicTypes(std::set<glu::DataType, std::less<glu::DataType>, std::allocator<glu::DataType>>&, deqp::gls::ub::VarType const&)
void collectUniqueBasicTypes (std::set<glu::DataType>& basicTypes, const VarType& type) { if (type.isStructType()) { for (StructType::ConstIterator iter = type.getStruct().begin(); iter != type.getStruct().end(); ++iter) collectUniqueBasicTypes(basicTypes, iter->getType()); } else if (type.isArrayType()) col...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0xbb3d70 testb $0x1, %al jne 0xbaf06f jmp 0xbaf0de movq -0x10(%rbp), %rdi callq 0xbb2100 movq %rax, %rdi callq 0xbb2120 movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0xbb2100 movq %rax, %rdi callq...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::generateValueSrc(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, deqp::gls::ub::UniformLayoutEntry const&, void const*, int)
void generateValueSrc (std::ostringstream& src, const UniformLayoutEntry& entry, const void* basePtr, int elementNdx) { glu::DataType scalarType = glu::getDataTypeScalarType(entry.type); int scalarSize = glu::getDataTypeScalarSize(entry.type); bool isArray = entry.size > 1; const deUint8* elemPtr = (cons...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq -0x10(%rbp), %rax movl 0x20(%rax), %edi callq 0xc30dc0 movl %eax, -0x20(%rbp) movq -0x10(%rbp), %rax movl 0x20(%rax), %edi callq 0xc30da0 movl %eax, -0x24...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::(anonymous namespace)::copyUniformData(deqp::gls::ub::UniformLayoutEntry const&, void*, deqp::gls::ub::UniformLayoutEntry const&, void const*)
void copyUniformData (const UniformLayoutEntry& dstEntry, void* dstBlockPtr, const UniformLayoutEntry& srcEntry, const void* srcBlockPtr) { deUint8* dstBasePtr = (deUint8*)dstBlockPtr + dstEntry.offset; const deUint8* srcBasePtr = (const deUint8*)srcBlockPtr + srcEntry.offset; DE_ASSERT(dstEntry.size <= srcE...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x10(%rbp), %rax movq -0x8(%rbp), %rcx movslq 0x2c(%rcx), %rcx addq %rcx, %rax movq %rax, -0x28(%rbp) movq -0x20(%rbp), %rax movq -0x18(%rbp), %rcx movslq 0x2c(%rcx), %rcx addq %r...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::ub::UniformLayoutEntry::UniformLayoutEntry()
UniformLayoutEntry (void) : type (glu::TYPE_LAST) , size (0) , blockNdx (-1) , offset (-1) , arrayStride (-1) , matrixStride (-1) , isRowMajor (false) { }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) callq 0x4cb6d0 movq -0x10(%rbp), %rax movl $0x5e, 0x20(%rax) movl $0x0, 0x24(%rax) movl $0xffffffff, 0x28(%rax) # imm = 0xFFFFFFFF movl $0xffffffff, 0x2c(%rax) # imm = 0xFFFFFFFF movl $0xffffffff, 0x30(%rax) #...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsUniformBlockCase.cpp
deqp::gls::AttributePack::AttributePack(tcu::TestContext&, glu::RenderContext&, sglr::Context&, tcu::Vector<unsigned int, 2> const&, bool, bool)
AttributePack::AttributePack (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, sglr::Context& drawContext, const tcu::UVec2& screenSize, bool useVao, bool logEnabled) : m_testCtx (testCtx) , m_renderCtx (renderCtx) , m_ctx (drawContext) , m_program (DE_NULL) , m_screen (screenSize.x(), screenSize.y()...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movl %r9d, %eax movq %rcx, -0x70(%rbp) movq %rdx, %rcx movq -0x70(%rbp), %rdx movq %rcx, -0x68(%rbp) movq %rsi, %rcx movq -0x68(%rbp), %rsi movq %rcx, -0x60(%rbp) movq %rdi, %r9 movq -0x60(%rbp), %rdi movb %al, %cl movb 0x10(%rbp), %al movq %r9, -0x8(%rbp) movq %rdi, -0x10(%r...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::AttributePack::~AttributePack()
AttributePack::~AttributePack (void) { clearArrays(); if (m_programID) m_ctx.deleteProgram(m_programID); if (m_program) delete m_program; if (m_useVao) m_ctx.deleteVertexArrays(1, &m_vaoID); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) callq 0xbb8bc0 jmp 0xbb8b1b movq -0x10(%rbp), %rax cmpl $0x0, 0x54(%rax) je 0xbb8b40 movq -0x10(%rbp), %rax movq 0x10(%rax), %rdi movl 0x54(%rax), %esi movq (%rdi), %rax movq 0x3b8(%rax), %rax callq *%rax jmp ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::AttributePack::clearArrays()
void AttributePack::clearArrays (void) { for (std::vector<AttributeArray*>::iterator itr = m_arrays.begin(); itr != m_arrays.end(); itr++) delete *itr; m_arrays.clear(); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x28(%rbp) addq $0x18, %rdi callq 0xbb8e40 movq %rax, -0x10(%rbp) movq -0x28(%rbp), %rdi addq $0x18, %rdi callq 0xbb8eb0 movq %rax, -0x18(%rbp) leaq -0x10(%rbp), %rdi leaq -0x18(%rbp), %rsi callq 0xbb8e70 testb $0x1, %al...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::AttributeArray::AttributeArray(deqp::gls::DrawTestSpec::Storage, sglr::Context&)
AttributeArray::AttributeArray (DrawTestSpec::Storage storage, sglr::Context& context) : m_storage (storage) , m_ctx (context) , m_glBuffer (0) , m_size (0) , m_data (DE_NULL) , m_componentCount (1) , m_bound (false) , m_target (DrawTestSpec::TARGET_ARRAY) , m_inputType (DrawTestSpec::INPUTTYPE_...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x20(%rbp) movl -0xc(%rbp), %eax movl %eax, (%rdi) movq -0x18(%rbp), %rax movq %rax, 0x8(%rdi) movl $0x0, 0x10(%rdi) movl $0x0, 0x14(%rdi) movq $0x0, 0x18(%rdi) movl $0x1, 0x2...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::AttributePack::updateProgram()
void AttributePack::updateProgram (void) { if (m_programID) m_ctx.deleteProgram(m_programID); if (m_program) delete m_program; m_program = new DrawTestShaderProgram(m_renderCtx, m_arrays); m_programID = m_ctx.createProgram(m_program); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) cmpl $0x0, 0x54(%rax) je 0xbb903e movq -0x20(%rbp), %rax movq 0x10(%rax), %rdi movl 0x54(%rax), %esi movq (%rdi), %rax callq *0x3b8(%rax) movq -0x20(%rbp), %rax cmpq $0x0, 0x30(%rax) je 0xbb9067 movq -0x20(%rb...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::AttributeSpec::createAttributeArray(deqp::gls::DrawTestSpec::InputType, deqp::gls::DrawTestSpec::OutputType, deqp::gls::DrawTestSpec::Storage, deqp::gls::DrawTestSpec::Usage, int, int, int, bool, int)
DrawTestSpec::AttributeSpec DrawTestSpec::AttributeSpec::createAttributeArray (InputType inputType, OutputType outputType, Storage storage, Usage usage, int componentCount, int offset, int stride, bool normalize, int instanceDivisor) { DrawTestSpec::AttributeSpec spec; spec.inputType = inputType; spec.outputType ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x28(%rbp) movq %rdi, %rax movq %rax, -0x20(%rbp) movl 0x28(%rbp), %eax movb 0x20(%rbp), %al movl 0x18(%rbp), %r10d movl 0x10(%rbp), %r10d movl %esi, -0x4(%rbp) movl %edx, -0x8(%rbp) movl %ecx, -0xc(%rbp) movl %r8d, -0x10(%rbp) movl %r9d, -0x14(%rbp) andb $0x1, %a...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::AttributeSpec::AttributeSpec()
DrawTestSpec::AttributeSpec::AttributeSpec (void) { inputType = DrawTestSpec::INPUTTYPE_LAST; outputType = DrawTestSpec::OUTPUTTYPE_LAST; storage = DrawTestSpec::STORAGE_LAST; usage = DrawTestSpec::USAGE_LAST; componentCount = 0; offset = 0; stride = 0; normalize = false; ins...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movl $0xc, (%rax) movl $0xc, 0x4(%rax) movl $0x2, 0x8(%rax) movl $0x9, 0xc(%rax) movl $0x0, 0x10(%rax) movl $0x0, 0x14(%rax) movl $0x0, 0x18(%rax) movb $0x0, 0x1c(%rax) movl $0x0, 0x20(%rax) movb $0x0, 0x24(%rax) movb $0x0, 0x25(%rax) movb $0x0, 0x2...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::inputTypeSize(deqp::gls::DrawTestSpec::InputType)
int DrawTestSpec::inputTypeSize (InputType type) { static const int size[] = { (int)sizeof(float), // INPUTTYPE_FLOAT = 0, (int)sizeof(deInt32), // INPUTTYPE_FIXED, (int)sizeof(double), // INPUTTYPE_DOUBLE (int)sizeof(deInt8), // INPUTTYPE_BYTE, (int)sizeof(deInt16), // INPUTTYPE_SHORT, (int)sizeo...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movl %edi, -0x4(%rbp) movl -0x4(%rbp), %esi leaq 0x2db5ab(%rip), %rdi # 0xe95130 callq 0xbcec50 movl (%rax), %eax addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax)
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::AttributeSpec::isBufferStrideAligned() const
bool DrawTestSpec::AttributeSpec::isBufferStrideAligned (void) const { const bool inputTypePacked = inputType == DrawTestSpec::INPUTTYPE_UNSIGNED_INT_2_10_10_10 || inputType == DrawTestSpec::INPUTTYPE_INT_2_10_10_10; // Buffer alignment, offset is a multiple of underlying data type size? if (storage == STORAGE_BUFF...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rcx movq %rcx, -0x28(%rbp) movb $0x1, %al cmpl $0xa, (%rcx) movb %al, -0x19(%rbp) je 0xbb9bcb movq -0x28(%rbp), %rax cmpl $0xb, (%rax) sete %al movb %al, -0x19(%rbp) movq -0x28(%rbp), %rax movb -0x19(%rbp), %cl andb $0x1, %cl movb %cl...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::inputTypeToString[abi:cxx11](deqp::gls::DrawTestSpec::InputType)
std::string DrawTestSpec::inputTypeToString(InputType type) { static const char* types[] = { "float", // INPUTTYPE_FLOAT = 0, "fixed", // INPUTTYPE_FIXED, "double", // INPUTTYPE_DOUBLE "byte", // INPUTTYPE_BYTE, "short", // INPUTTYPE_SHORT, "unsigned_byte", // INPUTTYPE_UNSIGNED_BYTE, "unsi...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x38(%rbp) movq %rdi, %rax movq %rax, -0x40(%rbp) movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl -0xc(%rbp), %esi leaq 0x53158c(%rip), %rdi # 0x10eb260 callq 0xbcebb0 movq (%rax), %rax movq %rax, -0x30(%rbp) leaq -0xd(%rbp), %rdi movq %rdi, -0x28(%rbp) callq ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::usageTypeToString[abi:cxx11](deqp::gls::DrawTestSpec::Usage)
std::string DrawTestSpec::usageTypeToString(Usage usage) { static const char* usages[] = { "dynamic_draw", // USAGE_DYNAMIC_DRAW = 0, "static_draw", // USAGE_STATIC_DRAW, "stream_draw", // USAGE_STREAM_DRAW, "stream_read", // USAGE_STREAM_READ, "stream_copy", // USAGE_STREAM_COPY, "static_read", // USAG...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x38(%rbp) movq %rdi, %rax movq %rax, -0x40(%rbp) movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl -0xc(%rbp), %esi leaq 0x53152c(%rip), %rdi # 0x10eb320 callq 0xbcebd0 movq (%rax), %rax movq %rax, -0x30(%rbp) leaq -0xd(%rbp), %rdi movq %rdi, -0x28(%rbp) callq ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::primitiveToString[abi:cxx11](deqp::gls::DrawTestSpec::Primitive)
std::string DrawTestSpec::primitiveToString (Primitive primitive) { static const char* primitives[] = { "points", // PRIMITIVE_POINTS , "triangles", // PRIMITIVE_TRIANGLES, "triangle_fan", // PRIMITIVE_TRIANGLE_FAN, "triangle_strip", // PRIMITIVE_TRIANGLE_STRIP, "lines", // PRIMITIVE_LINES ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x38(%rbp) movq %rdi, %rax movq %rax, -0x40(%rbp) movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl -0xc(%rbp), %esi leaq 0x53146c(%rip), %rdi # 0x10eb380 callq 0xbcebf0 movq (%rax), %rax movq %rax, -0x30(%rbp) leaq -0xd(%rbp), %rdi movq %rdi, -0x28(%rbp) callq ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::drawMethodToString[abi:cxx11](deqp::gls::DrawTestSpec::DrawMethod)
std::string DrawTestSpec::drawMethodToString (DrawTestSpec::DrawMethod method) { static const char* methods[] = { "draw_arrays", //!< DRAWMETHOD_DRAWARRAYS "draw_arrays_instanced", //!< DRAWMETHOD_DRAWARRAYS_INSTANCED "draw_arrays_indirect", //!< DRAWMETHOD_DRAWARRAYS_INDIRECT "draw_elements", ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x38(%rbp) movq %rdi, %rax movq %rax, -0x40(%rbp) movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl -0xc(%rbp), %esi leaq 0x5313cc(%rip), %rdi # 0x10eb400 callq 0xbcec30 movq (%rax), %rax movq %rax, -0x30(%rbp) leaq -0xd(%rbp), %rdi movq %rdi, -0x28(%rbp) callq ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::getName[abi:cxx11]() const
std::string DrawTestSpec::getName (void) const { const MethodInfo methodInfo = getMethodInfo(drawMethod); const bool hasFirst = methodInfo.first; const bool instanced = methodInfo.instanced; const bool ranged = methodInfo.ranged; const bool indexed = methodInfo.indexed; std::stringstream name; for (s...
pushq %rbp movq %rsp, %rbp subq $0x420, %rsp # imm = 0x420 movq %rdi, -0x2e0(%rbp) movq %rdi, %rax movq %rax, -0x2d8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x2d0(%rbp) movl 0xc(%rax), %edi callq 0xbbab40 movl %eax, %ecx movl %ecx, -0x16(%rbp) shrq $0x20, %rax mo...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::getMethodInfo(deqp::gls::DrawTestSpec::DrawMethod)
static MethodInfo getMethodInfo (gls::DrawTestSpec::DrawMethod method) { static const MethodInfo infos[] = { // indexed instanced ranged first baseVertex indirect { false, false, false, true, false, false }, //!< DRAWMETHOD_DRAWARRAYS, { false, true, false, true, false, false }, //!< DRAWMETHOD_DRA...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl %edi, -0xc(%rbp) movl -0xc(%rbp), %esi leaq 0x2da66b(%rip), %rdi # 0xe951c0 callq 0xbc90e0 movw 0x4(%rax), %cx movw %cx, -0x4(%rbp) movl (%rax), %eax movl %eax, -0x8(%rbp) movw -0x4(%rbp), %ax movw %ax, -0x14(%rbp) movl -0x8(%rbp), %eax movl %eax, -0x18(%rbp) movl -0x...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::getDesc[abi:cxx11]() const
std::string DrawTestSpec::getDesc (void) const { std::stringstream desc; for (size_t ndx = 0; ndx < attribs.size(); ++ndx) { const AttributeSpec& attrib = attribs[ndx]; if (attrib.useDefaultAttribute) { desc << "Attribute " << ndx << ": default, " << ((ndx == 0|| attrib.additionalPositionAttribute) ? ...
pushq %rbp movq %rsp, %rbp subq $0x6e0, %rsp # imm = 0x6E0 movq %rdi, -0x370(%rbp) movq %rdi, %rax movq %rax, -0x368(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x360(%rbp) leaq -0x198(%rbp), %rdi callq 0x4cb610 movq $0x0, -0x1a0(%rbp) movq -0x360(%rbp), %rdi movq -0...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::getMultilineDesc[abi:cxx11]() const
std::string DrawTestSpec::getMultilineDesc (void) const { std::stringstream desc; for (size_t ndx = 0; ndx < attribs.size(); ++ndx) { const AttributeSpec& attrib = attribs[ndx]; if (attrib.useDefaultAttribute) { desc << "Attribute " << ndx << ": default, " << ((ndx == 0|| attrib.additionalPositionAttr...
pushq %rbp movq %rsp, %rbp subq $0x920, %rsp # imm = 0x920 movq %rdi, -0x430(%rbp) movq %rdi, %rax movq %rax, -0x428(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x420(%rbp) leaq -0x198(%rbp), %rdi callq 0x4cb610 movq $0x0, -0x1a0(%rbp) movq -0x420(%rbp), %rdi movq -0...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::DrawTestSpec()
DrawTestSpec::DrawTestSpec (void) { primitive = PRIMITIVE_LAST; primitiveCount = 0; drawMethod = DRAWMETHOD_LAST; indexType = INDEXTYPE_LAST; indexPointerOffset = 0; indexStorage = STORAGE_LAST; first = 0; indexMin = 0; indexMax = 0; instanceCount = 0; indirectOffset = 0; baseVertex = 0; ...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) callq 0xbcecb0 movq -0x10(%rbp), %rdi addq $0x38, %rdi callq 0xbcece0 movq -0x10(%rbp), %rax movl $0xb, 0x4(%rax) movl $0x0, 0x8(%rax) movl $0xa, 0xc(%rax) movl $0x3, 0x10(%rax) movl $0x0, 0x14(%rax) movl $0x2...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::valid() const
bool DrawTestSpec::valid (void) const { DE_ASSERT(apiType.getProfile() != glu::PROFILE_LAST); DE_ASSERT(primitive != PRIMITIVE_LAST); DE_ASSERT(drawMethod != DRAWMETHOD_LAST); const MethodInfo methodInfo = getMethodInfo(drawMethod); for (int ndx = 0; ndx < (int)attribs.size(); ++ndx) if (!attribs[ndx].valid(ap...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x68(%rbp) movl 0xc(%rax), %edi callq 0xbbab40 movl %eax, %ecx movl %ecx, -0x16(%rbp) shrq $0x20, %rax movw %ax, -0x12(%rbp) movl $0x0, -0x1c(%rbp) movq -0x68(%rbp), %rdi movl -0x1c(%rbp), %eax movl %eax, -0x6c(%rbp) a...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::GLValue::getMaxValue(deqp::gls::DrawTestSpec::InputType)
GLValue GLValue::getMaxValue (DrawTestSpec::InputType type) { GLValue rangesHi[(int)DrawTestSpec::INPUTTYPE_LAST]; rangesHi[(int)DrawTestSpec::INPUTTYPE_FLOAT] = GLValue(Float::create(127.0f)); rangesHi[(int)DrawTestSpec::INPUTTYPE_DOUBLE] = GLValue(Double::create(127.0f)); rangesHi[(int)DrawTestSpec::INPUTTYP...
pushq %rbp movq %rsp, %rbp subq $0x1f0, %rsp # imm = 0x1F0 movl %edi, -0x14(%rbp) leaq -0xe0(%rbp), %rax movq %rax, %rcx addq $0xc0, %rcx movq %rcx, -0x1e0(%rbp) movq %rax, -0x1d8(%rbp) movq -0x1d8(%rbp), %rdi movq %rdi, -0x1e8(%rbp) callq 0xbc9100 movq -0x1e8(%rbp), %rax movq -0x1e0(%rbp), %rcx addq $0x10, ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTestSpec::isCompatibilityTest() const
DrawTestSpec::CompatibilityTestType DrawTestSpec::isCompatibilityTest (void) const { const MethodInfo methodInfo = getMethodInfo(drawMethod); bool bufferAlignmentBad = false; bool strideAlignmentBad = false; // Attribute buffer alignment for (int ndx = 0; ndx < (int)attribs.size(); ++ndx) if (!attribs[ndx].isB...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x30(%rbp) movl 0xc(%rax), %edi callq 0xbbab40 movl %eax, %ecx movl %ecx, -0x16(%rbp) shrq $0x20, %rax movw %ax, -0x12(%rbp) movb $0x0, -0x17(%rbp) movb $0x0, -0x18(%rbp) movl $0x0, -0x1c(%rbp) movq -0x30(%rbp), %rdi m...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTest::DrawTest(tcu::TestContext&, glu::RenderContext&, deqp::gls::DrawTestSpec const&, char const*, char const*)
DrawTest::DrawTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const DrawTestSpec& spec, const char* name, const char* desc) : TestCase (testCtx, name, desc) , m_renderCtx (renderCtx) , m_refBuffers (DE_NULL) , m_refContext (DE_NULL) , m_glesContext (DE_NULL) , m_glArrayPack (DE_NULL) , m_r...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x50(%rbp) movq -0x10(%rbp), %rsi movq -0x28(%rbp), %rdx movq -0x30(%rbp), %rcx callq 0xd82290 movq -0x50(%...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTest::getCoordScale(deqp::gls::DrawTestSpec const&) const
float DrawTest::getCoordScale (const DrawTestSpec& spec) const { float maxValue = 1.0f; for (int arrayNdx = 0; arrayNdx < (int)spec.attribs.size(); arrayNdx++) { DrawTestSpec::AttributeSpec attribSpec = spec.attribs[arrayNdx]; const bool isPositionAttr = (arrayNdx == 0) || (attribSpec.additionalPositionAtt...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss 0x2498f8(%rip), %xmm0 # 0xe0a990 movss %xmm0, -0x14(%rbp) movl $0x0, -0x18(%rbp) movl -0x18(%rbp), %eax movl %eax, -0x64(%rbp) movq -0x10(%rbp), %rdi addq $0x38, %rdi callq 0x539d00 movq %rax, %rcx movl -0x64(%rbp), %eax cm...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::DrawTest::getColorScale(deqp::gls::DrawTestSpec const&) const
float DrawTest::getColorScale (const DrawTestSpec& spec) const { float colorScale = 1.0f; for (int arrayNdx = 1; arrayNdx < (int)spec.attribs.size(); arrayNdx++) { DrawTestSpec::AttributeSpec attribSpec = spec.attribs[arrayNdx]; const bool isPositionAttr = (arrayNdx == 0) || (attribSpec.additionalPositionA...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss 0x249728(%rip), %xmm0 # 0xe0a990 movss %xmm0, -0x14(%rbp) movl $0x1, -0x18(%rbp) movl -0x18(%rbp), %eax movl %eax, -0x5c(%rbp) movq -0x10(%rbp), %rdi addq $0x38, %rdi callq 0x539d00 movq %rax, %rcx movl -0x5c(%rbp), %eax cm...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::RandomArrayGenerator::generateAttributeValue(int, deqp::gls::DrawTestSpec::InputType)
rr::GenericVec4 RandomArrayGenerator::generateAttributeValue (int seed, DrawTestSpec::InputType type) { de::Random random(seed); switch (type) { case DrawTestSpec::INPUTTYPE_FLOAT: return rr::GenericVec4(generateRandomVec4(random)); case DrawTestSpec::INPUTTYPE_INT: return rr::GenericVec4(generateRandomI...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movl %edi, -0x14(%rbp) movl %esi, -0x18(%rbp) movl -0x14(%rbp), %esi leaq -0x28(%rbp), %rdi callq 0x523df0 movl -0x18(%rbp), %eax movl %eax, -0x7c(%rbp) testl %eax, %eax je 0xbc1450 jmp 0xbc1439 movl -0x7c(%rbp), %eax subl $0x7, %eax je 0xbc1494 jmp 0xbc1443 movl -0x7c(%rbp),...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::getDrawPrimitiveClass(deqp::gls::DrawTestSpec::Primitive)
static PrimitiveClass getDrawPrimitiveClass (gls::DrawTestSpec::Primitive primitiveType) { switch (primitiveType) { case gls::DrawTestSpec::PRIMITIVE_POINTS: return PRIMITIVECLASS_POINT; case gls::DrawTestSpec::PRIMITIVE_LINES: case gls::DrawTestSpec::PRIMITIVE_LINE_STRIP: case gls::DrawTestSpec::PRIMITIV...
pushq %rbp movq %rsp, %rbp movl %edi, -0x8(%rbp) movl -0x8(%rbp), %eax movl %eax, -0xc(%rbp) testl %eax, %eax je 0xbc3119 jmp 0xbc30f3 movl -0xc(%rbp), %eax decl %eax subl $0x3, %eax jb 0xbc312b jmp 0xbc30ff movl -0xc(%rbp), %eax addl $-0x4, %eax subl $0x5, %eax jb 0xbc3122 jmp 0xbc310c movl -0xc(%rbp), %eax addl $-0x9...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::edgeRelaxedImageCompare(tcu::TestLog&, char const*, char const*, tcu::Surface const&, tcu::Surface const&, tcu::Vector<int, 3> const&, tcu::Vector<int, 3> const&, int)
static bool edgeRelaxedImageCompare (tcu::TestLog& log, const char* imageSetName, const char* imageSetDesc, const tcu::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, const tcu::IVec3& renderTargetThreshold, int maxAllowedInvalidPixels) { DE_ASSERT(result.getWidth() == reference.get...
pushq %rbp movq %rsp, %rbp subq $0xaf0, %rsp # imm = 0xAF0 movl 0x18(%rbp), %eax 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) leaq -0x48(%rbp), %rdi xorl %ecx, %ecx movl %ecx, -0x9a0(%rbp) movl $0...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::GLValue::toFloat() const
float GLValue::toFloat (void) const { switch (type) { case DrawTestSpec::INPUTTYPE_FLOAT: return fl.getValue(); break; case DrawTestSpec::INPUTTYPE_BYTE: return b.getValue(); break; case DrawTestSpec::INPUTTYPE_UNSIGNED_BYTE: return ub.getValue(); break; case DrawTestSpec::INPUTTYPE_SHORT...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movl (%rax), %eax movq %rax, -0x20(%rbp) subq $0x9, %rax ja 0xbc55b6 movq -0x20(%rbp), %rax leaq 0x2cfb51(%rip), %rcx # 0xe94fe0 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movq -0x28(%rbp), %rd...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::DrawTestShaderProgram::genFragmentSource[abi:cxx11](glu::RenderContext const&)
std::string DrawTestShaderProgram::genFragmentSource (const glu::RenderContext& ctx) { std::map<std::string, std::string> params; generateShaderParams(params, ctx.getType()); static const char* fragmentShaderTmpl = "${FRAG_HDR}" "${FRAG_IN} ${COL_PRECISION} vec4 v_color;\n" "void main(void)\n" "{\n" "\t$...
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) leaq -0x40(%rbp), %rdi callq 0x56d0e0 movq -0x10(%rbp), %rdi movq (%rdi), %rax movq 0x10(%rax), %rax callq *%rax movl %eax, -0xa0(%rbp) jmp 0xbc6b62 movl -0xa0(%rbp), %e...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::DrawTestShaderProgram::generateShaderParams(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::a...
void DrawTestShaderProgram::generateShaderParams (std::map<std::string, std::string>& params, glu::ContextType type) { if (glu::isGLSLVersionSupported(type, glu::GLSL_VERSION_300_ES)) { params["VTX_IN"] = "in"; params["VTX_OUT"] = "out"; params["FRAG_IN"] = "in"; params["FRAG_COLOR"] = "dEQP_FragColor"; ...
pushq %rbp movq %rsp, %rbp subq $0x730, %rsp # imm = 0x730 movl %esi, -0x4(%rbp) movq %rdi, -0x10(%rbp) movl -0x4(%rbp), %eax movl %eax, -0x14(%rbp) movl -0x14(%rbp), %edi movl $0x1, %esi callq 0xc30aa0 testb $0x1, %al jne 0xbc6cbe jmp 0xbc71af movq -0x10(%rbp), %rax movq %rax, -0x498(%rbp) leaq -0x39(%rbp),...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::outputTypeToGLType[abi:cxx11](deqp::gls::DrawTestSpec::OutputType)
static std::string outputTypeToGLType (DrawTestSpec::OutputType type) { static const char* types[] = { "float", // OUTPUTTYPE_FLOAT = 0, "vec2", // OUTPUTTYPE_VEC2, "vec3", // OUTPUTTYPE_VEC3, "vec4", // OUTPUTTYPE_VEC4, "int", // OUTPUTTYPE_INT, "uint", // OUTPUTTYPE_UINT, "ivec2", // OUT...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x38(%rbp) movq %rdi, %rax movq %rax, -0x40(%rbp) movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl -0xc(%rbp), %esi leaq 0x5232ac(%rip), %rdi # 0x10eb450 callq 0xbcebb0 movq (%rax), %rax movq %rax, -0x30(%rbp) leaq -0xd(%rbp), %rdi movq %rdi, -0x28(%rbp) callq ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
void deqp::gls::(anonymous namespace)::calcShaderColorCoord<float>(tcu::Vector<float, 2>&, tcu::Vector<float, 3>&, tcu::Vector<float, 4> const&, bool, int)
void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue, bool isCoordinate, int numComponents) { if (isCoordinate) switch (numComponents) { case 1: coord += tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break; case 2: coord += tcu::Vec2((fl...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movb %cl, %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) andb $0x1, %al movb %al, -0x19(%rbp) movl %r8d, -0x20(%rbp) testb $0x1, -0x19(%rbp) je 0xbc8398 movl -0x20(%rbp), %eax decl %eax movl %eax, %ecx movq %rcx, -0x58(%rbp) subl $0x3, %eax ja 0xbc839...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
void deqp::gls::(anonymous namespace)::calcShaderColorCoord<int>(tcu::Vector<float, 2>&, tcu::Vector<float, 3>&, tcu::Vector<int, 4> const&, bool, int)
void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue, bool isCoordinate, int numComponents) { if (isCoordinate) switch (numComponents) { case 1: coord += tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break; case 2: coord += tcu::Vec2((fl...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movb %cl, %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) andb $0x1, %al movb %al, -0x19(%rbp) movl %r8d, -0x20(%rbp) testb $0x1, -0x19(%rbp) je 0xbc8872 movl -0x20(%rbp), %eax decl %eax movl %eax, %ecx movq %rcx, -0x58(%rbp) subl $0x3, %eax ja 0xbc886...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::outputTypeIsFloatType(deqp::gls::DrawTestSpec::OutputType)
static bool outputTypeIsFloatType (DrawTestSpec::OutputType type) { if (type == DrawTestSpec::OUTPUTTYPE_FLOAT || type == DrawTestSpec::OUTPUTTYPE_VEC2 || type == DrawTestSpec::OUTPUTTYPE_VEC3 || type == DrawTestSpec::OUTPUTTYPE_VEC4) return true; return false; }
pushq %rbp movq %rsp, %rbp movl %edi, -0x8(%rbp) cmpl $0x0, -0x8(%rbp) je 0xbc945f cmpl $0x1, -0x8(%rbp) je 0xbc945f cmpl $0x2, -0x8(%rbp) je 0xbc945f cmpl $0x3, -0x8(%rbp) jne 0xbc9465 movb $0x1, -0x1(%rbp) jmp 0xbc9469 movb $0x0, -0x1(%rbp) movb -0x1(%rbp), %al andb $0x1, %al popq %rbp retq
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::RandomArrayGenerator::generatePackedArray(int, int, int, int, int)
char* RandomArrayGenerator::generatePackedArray (int seed, int elementCount, int componentCount, int offset, int stride) { DE_ASSERT(componentCount == 4); DE_UNREF(componentCount); const deUint32 limit10 = (1 << 10); const deUint32 limit2 = (1 << 2); const size_t elementSize = 4; const size_t bufferSize = off...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movl %edi, -0x4(%rbp) movl %esi, -0x8(%rbp) movl %edx, -0xc(%rbp) movl %ecx, -0x10(%rbp) movl %r8d, -0x14(%rbp) movl $0x400, -0x18(%rbp) # imm = 0x400 movl $0x4, -0x1c(%rbp) movq $0x4, -0x28(%rbp) movl -0x10(%rbp), %eax movl -0x8(%rbp), %ecx subl $0x1, %ecx imull -0x14(%r...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
char* deqp::gls::(anonymous namespace)::RandomArrayGenerator::createBasicArray<short, deqp::gls::(anonymous namespace)::GLValue::WrappedType<short>>(int, int, int, int, int)
char* RandomArrayGenerator::createBasicArray (int seed, int elementCount, int componentCount, int offset, int stride) { DE_ASSERT(componentCount >= 1 && componentCount <= 4); const GLType min = extractGLValue<GLType>(GLValue::getMinValue(GLValueTypeTraits<GLType>::Type)); const GLType max = extractGLValue<GLType>(G...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movl %edi, -0x4(%rbp) movl %esi, -0x8(%rbp) movl %edx, -0xc(%rbp) movl %ecx, -0x10(%rbp) movl %r8d, -0x14(%rbp) movl $0x4, %edi callq 0xbcb690 movl %eax, -0x28(%rbp) movq %rdx, -0x20(%rbp) leaq -0x28(%rbp), %rdi callq 0xbcbd40 movw %ax, -0x16(%rbp) movl $0x4, %edi callq 0xbbd...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::(anonymous namespace)::AttributeArray::bindAttribute(unsigned int)
void AttributeArray::bindAttribute (deUint32 loc) { if (!isBound()) { switch (m_inputType) { case DrawTestSpec::INPUTTYPE_FLOAT: { tcu::Vec4 attr = m_defaultAttrib.get<float>(); switch (m_componentCount) { case 1: m_ctx.vertexAttrib1f(loc, attr.x()); break; case 2: m_ctx.vertexAttrib2...
pushq %rbp movq %rsp, %rbp subq $0x140, %rsp # imm = 0x140 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x58(%rbp) callq 0xbcd390 testb $0x1, %al jne 0xbcd70d movq -0x58(%rbp), %rax movl 0x2c(%rax), %eax movl %eax, -0x5c(%rbp) testl %eax, %eax je 0xbcd406 jmp 0xbcd3e7 movl -0...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::pixelNeighborhoodContainsColor(tcu::Surface const&, int, int, tcu::RGBA const&, tcu::Vector<int, 3> const&)
static bool pixelNeighborhoodContainsColor (const tcu::Surface& target, int x, int y, const tcu::RGBA& color, const tcu::IVec3& compareThreshold) { // should not be called for edge pixels DE_ASSERT(x >= 1 && x <= target.getWidth()-2); DE_ASSERT(y >= 1 && y <= target.getHeight()-2); for (int dy = -1; dy < 2; dy++) ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movl %edx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movl $0xffffffff, -0x2c(%rbp) # imm = 0xFFFFFFFF cmpl $0x2, -0x2c(%rbp) jge 0xbcdc73 movl $0xffffffff, -0x30(%rbp) # imm = 0xFFFFFFFF cmpl $0x2, -0x30(%rbp) jge 0...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::pixelNearEdge(int, int, tcu::Surface const&, tcu::Vector<int, 3> const&)
static bool pixelNearEdge (int x, int y, const tcu::Surface& ref, const tcu::IVec3& renderTargetThreshold) { // should not be called for edge pixels DE_ASSERT(x >= 1 && x <= ref.getWidth()-2); DE_ASSERT(y >= 1 && y <= ref.getHeight()-2); // horizontal for (int dy = -1; dy < 2; ++dy) { const tcu::RGBA c1 = ref...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movl %edi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movl $0xffffffff, -0x24(%rbp) # imm = 0xFFFFFFFF cmpl $0x2, -0x24(%rbp) jge 0xbcdf49 movq -0x18(%rbp), %rdi movl -0x8(%rbp), %esi subl $0x1, %esi movl -0xc(%rbp), %edx addl -0x24(%rbp), ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::isEdgeTriplet(tcu::RGBA const&, tcu::RGBA const&, tcu::RGBA const&, tcu::Vector<int, 3> const&)
static bool isEdgeTriplet (const tcu::RGBA& c1, const tcu::RGBA& c2, const tcu::RGBA& c3, const tcu::IVec3& renderTargetThreshold) { // black (background color) and non-black is always an edge { const bool b1 = isBlack(c1); const bool b2 = isBlack(c2); const bool b3 = isBlack(c3); // both pixels with coverag...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq -0x10(%rbp), %rdi callq 0xbcddb0 andb $0x1, %al movb %al, -0x29(%rbp) movq -0x18(%rbp), %rdi callq 0xbcddb0 andb $0x1, %al movb %al, -0x2a(%rbp) movq -0x20(%rbp), %rdi callq 0xbcd...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsDrawTest.cpp
deqp::gls::ShaderExecUtil::generateGeometryShader(deqp::gls::ShaderExecUtil::ShaderSpec const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
static std::string generateGeometryShader (const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) { DE_ASSERT(glu::glslVersionUsesInOutQualifiers(shaderSpec.version)); DE_ASSERT(!inputPrefix.empty() && !outputPrefix.empty()); std::ostringstream src; src << glu::getGLSLVersi...
pushq %rbp movq %rsp, %rbp subq $0x730, %rsp # imm = 0x730 movq %rdi, -0x578(%rbp) movq %rdi, %rax movq %rax, -0x570(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) leaq -0x198(%rbp), %rdi callq 0x4cc040 movq -0x10(%rbp), %rax movl (%rax), %edi callq 0xc309f0 ...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsShaderExecUtil.cpp
deqp::gls::ShaderExecUtil::generateFragmentShader(deqp::gls::ShaderExecUtil::ShaderSpec const&, bool, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__c...
static std::string generateFragmentShader (const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& inputPrefix, const std::string& outputPrefix) { DE_ASSERT(glu::glslVersionUsesInOutQualifiers(shaderSpec.version)); std::ostringstream src; src << glu::g...
pushq %rbp movq %rsp, %rbp subq $0x570, %rsp # imm = 0x570 movq %rdi, -0x4a8(%rbp) movb %dl, %al movq %rdi, %rdx movq %rdx, -0x4a0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) andb $0x1, %al movb %al, -0x11(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) leaq -0x1a8(%rbp), %rdi...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsShaderExecUtil.cpp
deqp::gls::ShaderExecUtil::BufferIoExecutor::computeVarLayout(std::vector<deqp::gls::ShaderExecUtil::Symbol, std::allocator<deqp::gls::ShaderExecUtil::Symbol>> const&, std::vector<deqp::gls::ShaderExecUtil::BufferIoExecutor::VarLayout, std::allocator<deqp::gls::ShaderExecUtil::BufferIoExecutor::VarLayout>>*)
void BufferIoExecutor::computeVarLayout (const std::vector<Symbol>& symbols, std::vector<VarLayout>* layout) { deUint32 maxAlignment = 0; deUint32 curOffset = 0; DE_ASSERT(layout->empty()); layout->resize(symbols.size()); for (size_t varNdx = 0; varNdx < symbols.size(); varNdx++) { const Symbol& symbol = s...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl $0x0, -0x14(%rbp) movl $0x0, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x68(%rbp) movq -0x8(%rbp), %rdi callq 0x66ebe0 movq -0x68(%rbp), %rdi movq %rax, %rsi callq 0xbdb7c0 movq $0x0, -0x20(%rbp) movq -0x20(%rbp), %rax mo...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsShaderExecUtil.cpp
deqp::gls::ShaderExecUtil::getVecStd430ByteAlignment(glu::DataType)
static deUint32 getVecStd430ByteAlignment (glu::DataType type) { switch (glu::getDataTypeScalarSize(type)) { case 1: return 4u; case 2: return 8u; case 3: return 16u; case 4: return 16u; default: DE_ASSERT(false); return 0u; } }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movl %edi, -0x8(%rbp) movl -0x8(%rbp), %edi callq 0xc30da0 decl %eax movl %eax, %ecx movq %rcx, -0x10(%rbp) subl $0x3, %eax ja 0xbd7268 movq -0x10(%rbp), %rax leaq 0x2bee61(%rip), %rcx # 0xe9609c movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movl $0x4, -0x4(%rbp) j...
/kaydenl[P]VK-GL-CTS/modules/glshared/glsShaderExecUtil.cpp
sglr::ReferenceContext::vertexAttribDivisor(unsigned int, unsigned int)
void ReferenceContext::vertexAttribDivisor (deUint32 index, deUint32 divisor) { RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); rc::VertexArray& vao = (m_vertexArrayBinding) ? (*m_vertexArrayBinding) : (m_clientVertexArray); vao.m_arrays[index].divisor = divisor; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rcx movl -0xc(%rbp), %eax cmpl 0x2c(%rcx), %eax jb 0xbfba48 jmp 0xbfba38 movq -0x20(%rbp), %rdi movl $0x501, %esi # imm = 0x501 callq ...
/kaydenl[P]VK-GL-CTS/framework/opengl/simplereference/sglrReferenceContext.cpp
glu::(anonymous namespace)::resetErrors(glw::Functions const&)
void resetErrors (const glw::Functions& gl) { size_t errorNdx = 0; for (errorNdx = 0; errorNdx < MAX_ERROR_COUNT; errorNdx++) { if (gl.getError() == GL_NONE) break; } if (errorNdx == MAX_ERROR_COUNT) TCU_FAIL("Couldn't reset error state"); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq $0x0, -0x10(%rbp) movq $0x0, -0x10(%rbp) cmpq $0xa, -0x10(%rbp) jae 0xc33f04 movq -0x8(%rbp), %rax callq *0x800(%rax) cmpl $0x0, %eax jne 0xc33ef4 jmp 0xc33f04 jmp 0xc33ef6 movq -0x10(%rbp), %rax addq $0x1, %rax movq %rax, -0x10(%rbp) jmp 0xc33edc c...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluStateReset.cpp
glu::Texture1D::Texture1D(glu::RenderContext const&, unsigned int, int)
Texture1D::Texture1D (const RenderContext& context, deUint32 sizedFormat, int width) : m_context (context) , m_format (sizedFormat) , m_refTexture (mapGLInternalFormat(sizedFormat), width) , m_glTexture (0) { const glw::Functions& gl = context.getFunctions(); gl.genTextures(1, &m_glTexture); GLU_EXPECT_NO_...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl %ecx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x48(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movl -0x14(%rbp), %ecx movl %ecx, 0x8(%rax) addq $0x10, %rax movq %rax, -0x50(%rbp) movl -0x14(%rbp...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture2D::Texture2D(glu::RenderContext const&, glu::ContextInfo const&, int, tcu::CompressedTexture const*, tcu::TexDecompressionParams const&)
Texture2D::Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams) : m_context (context) , m_isCompressed (true) , m_format (getGLFormat(levels[0].getFormat())) , m_refTexture (getUncom...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x68(%rbp) leaq 0x4b115f(%rip), %rcx # 0x10e7940 movq %rcx, (%rax) movq -0x10(%rbp), %rcx movq %rcx, 0x8...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture2D::loadCompressed(int, tcu::CompressedTexture const*, tcu::TexDecompressionParams const&)
void Texture2D::loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams) { const glw::Functions& gl = m_context.getFunctions(); deUint32 compressedFormat = getGLFormat(levels[0].getFormat()); TCU_CHECK(m_glTexture); gl.bindTexture(GL_TEXTUR...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x78(%rbp) movq 0x8(%rax), %rdi movq (%rdi), %rax callq *0x18(%rax) movq %rax, -0x28(%rbp) movq -0x18(%rbp), %rdi callq 0xc3bb80 movl %eax, %edi callq 0...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture2D::upload()
void Texture2D::upload (void) { const glw::Functions& gl = m_context.getFunctions(); DE_ASSERT(!m_isCompressed); TCU_CHECK(m_glTexture); gl.bindTexture(GL_TEXTURE_2D, m_glTexture); gl.pixelStorei(GL_UNPACK_ALIGNMENT, computePixelStore(m_refTexture.getFormat())); GLU_EXPECT_NO_ERROR(gl.getError(), "Texture uploa...
pushq %rbp movq %rsp, %rbp pushq %rbx subq $0xb8, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x68(%rbp) movq 0x8(%rax), %rdi movq (%rdi), %rax callq *0x18(%rax) movq %rax, -0x18(%rbp) callq 0xc36540 cmpl $0x0, %eax jne 0xc36dfa movq -0x68(%rbp), %rax cmpl $0x0, 0x68(%rax) jne 0xc36e5e movl $0x38, %e...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture2D::create(glu::RenderContext const&, glu::ContextInfo const&, tcu::Archive const&, int, char const* const*)
Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* levelFileNames) { DE_ASSERT(numLevels > 0); std::string ext = de::FilePath(levelFileNames[0]).getFileExtension(); if (ext == "png") { // Uncompressed texture...
pushq %rbp movq %rsp, %rbp subq $0x270, %rsp # imm = 0x270 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movl %ecx, -0x24(%rbp) movq %r8, -0x30(%rbp) movq -0x30(%rbp), %rax movq (%rax), %rsi leaq -0x70(%rbp), %rdi movq %rdi, -0x180(%rbp) callq 0xc3bbe0 movq -0x180(%rbp), %rsi leaq -0x5...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture2D::create(glu::RenderContext const&, glu::ContextInfo const&, tcu::Archive const&, int, 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&)
Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames) { TCU_CHECK(numLevels == (int)filenames.size()); std::vector<const char*> charPtrs(filenames.size()); for (int ndx = 0; ndx < (int)filena...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq %r8, -0x28(%rbp) callq 0xc36540 cmpl $0x0, %eax jne 0xc37891 movl -0x1c(%rbp), %eax movl %eax, -0x5c(%rbp) movq -0x28(%rbp), %rdi callq 0x4d8c00 movq %rax, %rcx movl -0x5c(%rbp), %...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::TextureCube::TextureCube(glu::RenderContext const&, unsigned int, unsigned int, int)
TextureCube::TextureCube (const RenderContext& context, deUint32 format, deUint32 dataType, int size) : m_context (context) , m_isCompressed (false) , m_format (format) , m_refTexture (mapGLTransferFormat(format, dataType), size) , m_glTexture (0) { const glw::Functions& gl = m_context.getFunctions(); gl.g...
pushq %rbp movq %rsp, %rbp subq $0x60, %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, -0x50(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movb $0x0, 0x8(%rax) movl -0x14(%rbp), %ecx movl %ecx, 0xc(%rax) addq $0x10,...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::TextureCube::create(glu::RenderContext const&, glu::ContextInfo const&, tcu::Archive const&, int, 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&)
TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames) { DE_STATIC_ASSERT(tcu::CUBEFACE_LAST == 6); TCU_CHECK(numLevels*tcu::CUBEFACE_LAST == (int)filenames.size()); std::vector<const char...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq %r8, -0x28(%rbp) callq 0xc36540 cmpl $0x0, %eax jne 0xc38c22 imull $0x6, -0x1c(%rbp), %eax movl %eax, -0x5c(%rbp) movq -0x28(%rbp), %rdi callq 0x4d8c00 movq %rax, %rcx movl -0x5c(%...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture1DArray::Texture1DArray(glu::RenderContext const&, unsigned int, unsigned int, int, int)
Texture1DArray::Texture1DArray (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int numLevels) : m_context (context) , m_format (format) , m_refTexture (mapGLTransferFormat(format, dataType), width, numLevels) , m_glTexture (0) { const glw::Functions& gl = m_context.getFunctions(...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp 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 -0x8(%rbp), %rax movq %rax, -0x50(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movl -0x14(%rbp), %ecx movl %ecx, 0x8(%rax) addq $0x1...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture1DArray::Texture1DArray(glu::RenderContext const&, unsigned int, int, int)
Texture1DArray::Texture1DArray (const RenderContext& context, deUint32 sizedFormat, int width, int numLevels) : m_context (context) , m_format (sizedFormat) , m_refTexture (mapGLInternalFormat(sizedFormat), width, numLevels) , m_glTexture (0) { const glw::Functions& gl = m_context.getFunctions(); gl.genText...
pushq %rbp movq %rsp, %rbp subq $0x60, %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, -0x50(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movl -0x14(%rbp), %ecx movl %ecx, 0x8(%rax) addq $0x10, %rax movq %rax, -0x5...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture1DArray::upload()
void Texture1DArray::upload (void) { const glw::Functions& gl = m_context.getFunctions(); TCU_CHECK(m_glTexture); gl.bindTexture(GL_TEXTURE_1D_ARRAY, m_glTexture); gl.pixelStorei(GL_UNPACK_ALIGNMENT, computePixelStore(m_refTexture.getFormat())); GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed"); Trans...
pushq %rbp movq %rsp, %rbp pushq %rbx subq $0xb8, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x68(%rbp) movq (%rax), %rdi movq (%rdi), %rax callq *0x18(%rax) movq %rax, -0x18(%rbp) callq 0xc36540 cmpl $0x0, %eax jne 0xc39079 movq -0x68(%rbp), %rax cmpl $0x0, 0x60(%rax) jne 0xc390dd movl $0x38, %edi ...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture2DArray::Texture2DArray(glu::RenderContext const&, unsigned int, unsigned int, int, int, int)
Texture2DArray::Texture2DArray (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int numLevels) : m_context (context) , m_isCompressed (false) , m_format (format) , m_refTexture (mapGLTransferFormat(format, dataType), width, height, numLevels) , m_glTexture (0) { // \...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp 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 -0x8(%rbp), %rax movq %rax, -0x50(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movb $0x0, 0x8(%rax) movl -0x14...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture2DArray::Texture2DArray(glu::RenderContext const&, unsigned int, int, int, int)
Texture2DArray::Texture2DArray (const RenderContext& context, deUint32 sizedFormat, int width, int height, int numLevels) : m_context (context) , m_isCompressed (false) , m_format (sizedFormat) , m_refTexture (mapGLInternalFormat(sizedFormat), width, height, numLevels) , m_glTexture (0) { // \todo [2013-04-...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp 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 -0x8(%rbp), %rax movq %rax, -0x50(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movb $0x0, 0x8(%rax) movl -0x14(%rbp), %ecx movl %ecx...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture2DArray::Texture2DArray(glu::RenderContext const&, glu::ContextInfo const&, int, tcu::CompressedTexture const*, tcu::TexDecompressionParams const&)
Texture2DArray::Texture2DArray (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams) : m_context (context) , m_isCompressed (true) , m_format (getGLFormat(levels[0].getFormat())) , m_refTexture ...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x68(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movb $0x1, 0x8(%rax) movq -0x28(%rbp), %rdi callq 0xc3b...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture2DArray::upload()
void Texture2DArray::upload (void) { const glw::Functions& gl = m_context.getFunctions(); if (!gl.texImage3D) throw tcu::NotSupportedError("glTexImage3D() is not supported"); TCU_CHECK(m_glTexture); gl.bindTexture(GL_TEXTURE_2D_ARRAY, m_glTexture); gl.pixelStorei(GL_UNPACK_ALIGNMENT, computePixelStore(m_refTex...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x100, %rsp # imm = 0x100 movq %rdi, -0x18(%rbp) movq -0x18(%rbp), %rax movq %rax, -0xa0(%rbp) movq (%rax), %rdi movq (%rdi), %rax callq *0x18(%rax) movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rax cmpq $0x0, 0x1320(%rax) jne 0xc39bd4 movb $0x1, -0x55(%rbp)...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture3D::Texture3D(glu::RenderContext const&, unsigned int, unsigned int, int, int, int)
Texture3D::Texture3D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int depth) : m_context (context) , m_isCompressed (false) , m_format (format) , m_refTexture (mapGLTransferFormat(format, dataType), width, height, depth) , m_glTexture (0) { // \todo [2013-04-08 p...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp 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 -0x8(%rbp), %rax movq %rax, -0x50(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movb $0x0, 0x8(%rax) movl -0x14...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture3D::Texture3D(glu::RenderContext const&, unsigned int, int, int, int)
Texture3D::Texture3D (const RenderContext& context, deUint32 sizedFormat, int width, int height, int depth) : m_context (context) , m_isCompressed (false) , m_format (sizedFormat) , m_refTexture (mapGLInternalFormat(sizedFormat), width, height, depth) , m_glTexture (0) { // \todo [2013-04-08 pyry] Check sup...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp 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 -0x8(%rbp), %rax movq %rax, -0x50(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movb $0x0, 0x8(%rax) movl -0x14(%rbp), %ecx movl %ecx...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture3D::Texture3D(glu::RenderContext const&, glu::ContextInfo const&, int, tcu::CompressedTexture const*, tcu::TexDecompressionParams const&)
Texture3D::Texture3D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams) : m_context (context) , m_isCompressed (true) , m_format (getGLFormat(leve...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x68(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movb $0x1, 0x8(%rax) movq -0x28(%rbp), %rdi callq 0xc3b...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::Texture3D::upload()
void Texture3D::upload (void) { const glw::Functions& gl = m_context.getFunctions(); DE_ASSERT(!m_isCompressed); if (!gl.texImage3D) throw tcu::NotSupportedError("glTexImage3D() is not supported"); TCU_CHECK(m_glTexture); gl.bindTexture(GL_TEXTURE_3D, m_glTexture); gl.pixelStorei(GL_UNPACK_ALIGNMENT, compute...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x100, %rsp # imm = 0x100 movq %rdi, -0x18(%rbp) movq -0x18(%rbp), %rax movq %rax, -0xa0(%rbp) movq (%rax), %rdi movq (%rdi), %rax callq *0x18(%rax) movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rax cmpq $0x0, 0x1320(%rax) jne 0xc3a884 movb $0x1, -0x55(%rbp)...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::TextureBuffer::TextureBuffer(glu::RenderContext const&, unsigned int, unsigned long)
TextureBuffer::TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize) : m_context (context) , m_format (0) , m_offset (0) , m_size (0) , m_glTexture (0) , m_glBuffer (0) { init(internalFormat, bufferSize, 0, 0, DE_NULL); }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x38(%rbp) movq -0x10(%rbp), %rax movq %rax, (%rdi) movl $0x0, 0x8(%rdi) addq $0x10, %rdi movq %rdi, -0x40(%rbp) callq 0x902eb0 movq -0x38(%rbp), %rdi ...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::TextureBuffer::init(unsigned int, unsigned long, unsigned long, unsigned long, void const*)
void TextureBuffer::init (deUint32 internalFormat, size_t bufferSize, size_t offset, size_t size, const void* data) { const glw::Functions& gl = m_context.getFunctions(); de::UniquePtr<ContextInfo> info (ContextInfo::create(m_context)); if (offset != 0 || size != 0) { if (!(contextSupports(m_context.getType(),...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x88(%rbp) movq (%rax), %rdi movq (%rdi), %rax callq *0x18(%rax) movq %rax, %rcx movq -0x88(%rbp), %rax movq...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::TextureBuffer::TextureBuffer(glu::RenderContext const&, unsigned int, unsigned long, unsigned long, unsigned long, void const*)
TextureBuffer::TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize, size_t offset, size_t size, const void* data) : m_context (context) , m_format (0) , m_offset (0) , m_size (0) , m_glTexture (0) , m_glBuffer (0) { init(internalFormat, bufferSize, offset, size, data...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq 0x10(%rbp), %rax movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x48(%rbp) movq -0x10(%rbp), %rax movq %rax, (%rdi) movl $0x0, 0x8(%rdi) addq $0x10, ...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTexture.cpp
glu::mapGLCompressedTexFormat(unsigned int)
tcu::CompressedTexFormat mapGLCompressedTexFormat (deUint32 format) { switch (format) { case GL_ETC1_RGB8_OES: return tcu::COMPRESSEDTEXFORMAT_ETC1_RGB8; case GL_COMPRESSED_R11_EAC: return tcu::COMPRESSEDTEXFORMAT_EAC_R11; case GL_COMPRESSED_SIGNED_R11_EAC: return tcu::COMPRESSEDTEXFORMAT_EAC_S...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movl %edi, -0x8(%rbp) movl -0x8(%rbp), %eax movl %eax, -0x44(%rbp) subl $0x8d64, %eax # imm = 0x8D64 je 0xc3d5a1 jmp 0xc3d33e movl -0x44(%rbp), %eax subl $0x9270, %eax # imm = 0x9270 je 0xc3d5ad jmp 0xc3d34e movl -0x44(%rbp), %eax subl $0x9271, %eax ...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTextureUtil.cpp
glu::mapGLChannelType(unsigned int, bool)
static tcu::TextureFormat::ChannelType mapGLChannelType (deUint32 dataType, bool normalized) { // \note Normalized bit is ignored where it doesn't apply. using tcu::TextureFormat; switch (dataType) { case GL_UNSIGNED_BYTE: return normalized ? TextureFormat::UNORM_INT8 : TextureFormat::UNSIGNED_INT8; case G...
pushq %rbp movq %rsp, %rbp movb %sil, %al movl %edi, -0x8(%rbp) andb $0x1, %al movb %al, -0x9(%rbp) movl -0x8(%rbp), %eax movl %eax, -0x10(%rbp) subl $0x1400, %eax # imm = 0x1400 je 0xc3df30 jmp 0xc3de22 movl -0x10(%rbp), %eax subl $0x1401, %eax # imm = 0x1401 je 0xc3df15 jmp 0xc3de32 movl -0x10(%rb...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTextureUtil.cpp
glu::isGLInternalColorFormatFilterable(unsigned int)
bool isGLInternalColorFormatFilterable (deUint32 format) { switch (format) { case GL_R8: case GL_R8_SNORM: case GL_RG8: case GL_RG8_SNORM: case GL_RGB8: case GL_RGB8_SNORM: case GL_RGB565: case GL_RGBA4: case GL_RGB5_A1: case GL_RGBA8: case GL_RGBA8_SNORM: case GL_RGB10_A2: case GL_SR8_EXT: ...
pushq %rbp movq %rsp, %rbp movl %edi, -0x8(%rbp) movl -0x8(%rbp), %eax movl %eax, -0xc(%rbp) subl $0x8051, %eax # imm = 0x8051 je 0xc3ee6a jmp 0xc3ecfa movl -0xc(%rbp), %eax addl $0xffff7faa, %eax # imm = 0xFFFF7FAA subl $0x4, %eax jb 0xc3ee6a jmp 0xc3ed0d movl -0xc(%rbp), %eax subl $0x8229, %eax ...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTextureUtil.cpp
glu::mapGLSampler(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)
tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 wrapR, deUint32 minFilter, deUint32 magFilter) { return tcu::Sampler(mapGLWrapMode(wrapS), mapGLWrapMode(wrapT), mapGLWrapMode(wrapR), mapGLMinFilterMode(minFilter), mapGLMagFilterMode(magFilter), 0.0f /* lod threshold */, true /* no...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x50(%rbp) movq %rdi, -0x30(%rbp) movl %esi, -0x4(%rbp) movl %edx, -0x8(%rbp) movl %ecx, -0xc(%rbp) movl %r8d, -0x10(%rbp) movl %r9d, -0x14(%rbp) movl -0x4(%rbp), %edi callq 0xc3efe0 movl %eax, -0x44(%rbp) movl -0x8(%rbp), %edi callq 0xc3efe0 movl %eax, -0x40(%rbp...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTextureUtil.cpp
glu::mapGLWrapMode(unsigned int)
static inline tcu::Sampler::WrapMode mapGLWrapMode (deUint32 wrapMode) { switch (wrapMode) { case GL_CLAMP_TO_EDGE: return tcu::Sampler::CLAMP_TO_EDGE; case GL_CLAMP_TO_BORDER: return tcu::Sampler::CLAMP_TO_BORDER; case GL_REPEAT: return tcu::Sampler::REPEAT_GL; case GL_MIRRORED_REPEAT: return tcu::Sample...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movl %edi, -0x8(%rbp) movl -0x8(%rbp), %eax movl %eax, -0x64(%rbp) subl $0x2901, %eax # imm = 0x2901 je 0xc3f039 jmp 0xc3effd movl -0x64(%rbp), %eax subl $0x812d, %eax # imm = 0x812D je 0xc3f02d jmp 0xc3f009 movl -0x64(%rbp), %eax subl $0x812f, %eax ...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTextureUtil.cpp
glu::mapGLCompareFunc(unsigned int)
tcu::Sampler::CompareMode mapGLCompareFunc (deUint32 mode) { switch (mode) { case GL_LESS: return tcu::Sampler::COMPAREMODE_LESS; case GL_LEQUAL: return tcu::Sampler::COMPAREMODE_LESS_OR_EQUAL; case GL_GREATER: return tcu::Sampler::COMPAREMODE_GREATER; case GL_GEQUAL: return tcu::Sampler::COMPAREMODE_GREAT...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movl %edi, -0x8(%rbp) movl -0x8(%rbp), %eax addl $0xfffffe00, %eax # imm = 0xFFFFFE00 movl %eax, %ecx movq %rcx, -0x68(%rbp) subl $0x7, %eax ja 0xc3f465 movq -0x68(%rbp), %rax leaq 0x25ac94(%rip), %rcx # 0xe9a090 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax ...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTextureUtil.cpp
glu::getGLWrapMode(tcu::Sampler::WrapMode)
deUint32 getGLWrapMode (tcu::Sampler::WrapMode wrapMode) { DE_ASSERT(wrapMode != tcu::Sampler::WRAPMODE_LAST); switch (wrapMode) { case tcu::Sampler::CLAMP_TO_EDGE: return GL_CLAMP_TO_EDGE; case tcu::Sampler::CLAMP_TO_BORDER: return GL_CLAMP_TO_BORDER; case tcu::Sampler::REPEAT_GL: return GL_REPEAT; case...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movl %edi, -0x8(%rbp) movl -0x8(%rbp), %eax movq %rax, -0x48(%rbp) subq $0x4, %rax ja 0xc3f59c movq -0x48(%rbp), %rax leaq 0x25ab4d(%rip), %rcx # 0xe9a0b0 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movl $0x812f, -0x4(%rbp) # imm = 0x812F jmp 0xc3f63c movl $0...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTextureUtil.cpp
glu::getGLFilterMode(tcu::Sampler::FilterMode)
deUint32 getGLFilterMode (tcu::Sampler::FilterMode filterMode) { DE_ASSERT(filterMode != tcu::Sampler::FILTERMODE_LAST); switch (filterMode) { case tcu::Sampler::NEAREST: return GL_NEAREST; case tcu::Sampler::LINEAR: return GL_LINEAR; case tcu::Sampler::NEAREST_MIPMAP_NEAREST: return GL_NEAREST_MIPMAP_...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movl %edi, -0x8(%rbp) movl -0x8(%rbp), %eax movq %rax, -0x48(%rbp) subq $0x5, %rax ja 0xc3f6c4 movq -0x48(%rbp), %rax leaq 0x25aa51(%rip), %rcx # 0xe9a0c4 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movl $0x2600, -0x4(%rbp) # imm = 0x2600 jmp 0xc3f764 movl $0...
/kaydenl[P]VK-GL-CTS/framework/opengl/gluTextureUtil.cpp