This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void R_ETC1DecodeBlock_RGBA8( uint8_t *block, struct uint_8_4 colors[ETC1_BLOCK_WIDTH * ETC1_BLOCK_HEIGHT] ) | |
| { | |
| // implementation: https://registry.khronos.org/OpenGL/extensions/OES/OES_compressed_ETC1_RGB8_texture.txt | |
| // BCF -- Base Color Flag | |
| // no diff bit is set | |
| // 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 | |
| // ----------------------------------------------- | |
| // | base col1 | base col2 | base col1 | base col2 | | |
| // | R1 (4bits)| R2 (4bits)| G1 (4bits)| G2 (4bits)| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Language: Cpp | |
| AccessModifierOffset: -4 | |
| AlignAfterOpenBracket: AlwaysBreak | |
| AlignConsecutiveAssignments: false | |
| AlignConsecutiveDeclarations: false | |
| AlignEscapedNewlines: Right | |
| AlignOperands: false | |
| AlignTrailingComments: false | |
| AllowAllArgumentsOnNextLine: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MESA_VK_TRACE=rgp MESA_VK_TRACE_FRAME=500 ./Amnesia |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cMaterial* cMaterialManager::LoadFromFile(const tString& asName, const tWString& asPath) { | |
| tinyxml2::XMLDocument document; | |
| FILE *pFile = cPlatform::OpenFile(asPath, _W("rb")); | |
| if(!pFile) { | |
| LOGF(LogLevel::eERROR, "failed to load material: %s", asName.c_str()); | |
| return nullptr; | |
| } | |
| document.LoadFile(pFile); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "graphics/ForgeHandles.h" | |
| #include <folly/small_vector.h> | |
| #include <algorithm> | |
| #include <optional> | |
| #include <array> | |
| #include <span> | |
| #include <cstdint> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "math/Uuid.h" | |
| #include <cstdint> | |
| #include <engine/RTTI.h> | |
| #include <folly/small_vector.h> | |
| #include <optional> | |
| namespace hpl::material { |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1 "/home/michaelpollind/projects/Nabla/src/nbl/video/IPhysicalDevice.cpp" | |
| # 1 "<built-in>" 1 | |
| # 1 "<built-in>" 3 | |
| # 447 "<built-in>" 3 | |
| # 1 "<command line>" 1 | |
| # 1 "<built-in>" 2 | |
| # 1 "/home/michaelpollind/projects/Nabla/build/src/nbl/CMakeFiles/Nabla.dir/cmake_pch.hxx.cxx" 1 | |
| # 2 "<built-in>" 2 | |
| # 1 "/home/michaelpollind/projects/Nabla/build/src/nbl/CMakeFiles/Nabla.dir/cmake_pch.hxx" 1 | |
| # 4 "/home/michaelpollind/projects/Nabla/build/src/nbl/CMakeFiles/Nabla.dir/cmake_pch.hxx" 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| U __assert_fail@GLIBC_2.2.5 | |
| U calloc@GLIBC_2.2.5 | |
| U close@GLIBC_2.2.5 | |
| U connect@GLIBC_2.2.5 | |
| w __cxa_finalize@GLIBC_2.2.5 | |
| U __errno_location@GLIBC_2.2.5 | |
| U fcntl@GLIBC_2.2.5 | |
| U free@GLIBC_2.2.5 | |
| U freeaddrinfo@GLIBC_2.2.5 | |
| U getaddrinfo@GLIBC_2.2.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright (c) Contributors to the Open 3D Engine Project. | |
| * For complete copyright and license terms please see the LICENSE at the root of this distribution. | |
| * | |
| * SPDX-License-Identifier: Apache-2.0 OR MIT | |
| * | |
| */ | |
| #include "AzCore/Debug/Trace.h" | |
| #include "AzCore/Math/MathStringConversions.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/o3de/o3de/issues/9130 |