![]() |
5 years ago | |
---|---|---|
.gitignore | 5 years ago | |
Makefile | 5 years ago | |
README.md | 5 years ago | |
occlusion.cc | 5 years ago | |
occlusion.frag | 5 years ago | |
occlusion.vert | 5 years ago |
This repo contains the source for an applicaiton that renders a triangle using Vulkan, saves the output as a PNG, and outputs the number of shaded fragments via an occlusion query. This applicaiton is used to debug turnip occlusion queries on Chrome OS.
setup_board --board=${BOARD}
).emerge vulkan-loader media-libs/mesa libpng && cros deploy ${IP_ADDR} ${PACKAGES}
).make shaders
target={local, atlas (i915), cheza (adreno)} make