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 "Common.h" | |
| /* | |
| author: Bastian Kuth | |
| description: A d3d12 mesh shader that receives a polygon of up to 32 points and triangulates it using ear clipping. | |
| Threads of a wave perform the checks in parallel, so should be fairly fast. | |
| Requires 32 wave size, so WARP or some intel hardware might not work. | |
| how to run: Meant to be used with the WorkGraphPlayground: https://github.com/GPUOpen-LibrariesAndSDKs/WorkGraphPlayground |
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
| // note: -D_7ZIP_ST is required when compiling on non-Windows platforms | |
| // g++ -o lzma_sample -std=c++14 -D_7ZIP_ST lzma_sample.cpp LzmaDec.c LzmaEnc.c LzFind.c | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <memory> | |
| #include "LzmaEnc.h" | |
| #include "LzmaDec.h" |