- 2011 - A trip through the Graphics Pipeline 2011
- 2013 - Performance Optimization Guidelines and the GPU Architecture behind them
- 2015 - Life of a triangle - NVIDIA's logical pipeline
- 2015 - Render Hell 2.0
- 2016 - How bad are small triangles on GPU and why?
- 2017 - GPU Performance for Game Artists
- 2019 - Understanding the anatomy of GPUs using Pokémon
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
| # Released under the terms of WTFPL public license: Do whatever you please with it. | |
| # Smallcaps tag: {sc} | |
| # | |
| # Usage: | |
| # | |
| # This will be {sc}excellent{/sc} | |
| # | |
| # In some situations, giving an explicit size to the small caps letters | |
| # may be required: | |
| # |
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
| #include <iostream> | |
| #include <time.h> | |
| #define INFINITY 100000.0 | |
| using namespace std; | |
| class PSOTestFunction | |
| { | |
| public: | |
| /** |
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
| cmake_minimum_required(VERSION 3.1) | |
| project(CMakeProject CXX) | |
| set(CMAKE_C_STANDARD 11) | |
| set(CMAKE_C_STANDARD_REQUIRED ON) | |
| set(CMAKE_C_EXTENSIONS OFF) | |
| set(CMAKE_CXX_STANDARD 17) | |
| set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
| set(CMAKE_CXX_EXTENSIONS OFF) |
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
| /.idea/ | |
| /cmake-build-debug/ | |
| /dungeon |
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
| # @brief Downloads and Includes cmake-conan | |
| # @param VERSION -- The cmake-conan release version to get. Commit codes | |
| # also applicable. | |
| # @option INSTALL -- Specifies if cmake-conan should be installed to the user's home directory. | |
| # This allows cmake-conan to only be downloaded once, rather than every | |
| # time the build directory is cleaned. | |
| # @note Browse release versions at: https://github.com/conan-io/cmake-conan/releases | |
| # @note cmake-conan is a CMake wrapper for the Conan C and C++ package manager. | |
| # It allows cmake to automatically configure and launch `conan install` as | |
| # part of cmake configuration. It will take CMake current settings (os, |
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
| ## | |
| ## Automagically update CMake to version required by build | |
| ## | |
| ## NOTES: | |
| ## - DOWNLOAD_DIR/cmake/bin/ must be added to PATH before running this script | |
| ## - [bash] running "hash -r" after this script (but before starting build) might be required | |
| ## when downloading CMake for a first time | |
| ## - [win] updating running executable might be "tricky" on windows, it's better to delete DOWNLOAD_DIR/cmake/ | |
| ## when required version might change (eg. using AppVeyor' cache invalidation) | |
| ## |
Download and Install Emscripten
- My preferred installation location is
/home/user - Get the latest sdk:
git clone https://github.com/emscripten-core/emsdk.git - Enter the cloned directory:
cd emsdk - Checkout main:
git checkout main - Install the lastest sdk tools:
./emsdk install latest - Activate the latest sdk tools:
./emsdk activate latest - Activate path variables:
source ./emsdk_env.sh
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
| # References: | |
| # https://cmake.org/cmake/help/latest/command/add_custom_target.html | |
| # https://samthursfield.wordpress.com/2015/11/21/cmake-dependencies-between-targets-and-files-and-custom-commands/ | |
| # https://gist.github.com/socantre/7ee63133a0a3a08f3990 | |
| # https://stackoverflow.com/questions/24163778/how-to-add-custom-target-that-depends-on-make-install | |
| # https://stackoverflow.com/questions/30719275/add-custom-command-is-not-generating-a-target | |
| # https://stackoverflow.com/questions/26024235/how-to-call-a-cmake-function-from-add-custom-target-command | |
| # https://blog.csdn.net/gubenpeiyuan/article/details/51096777 | |
| cmake_minimum_required(VERSION 3.10) |
NewerOlder