Binary that renders a triangle using Vulkan, scans the resulting image to a PNG, and makes an occlusion query to determine the number of fragments shaded. To be used in developing Turnip.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Brian Ho 8a49fbeeaa Deploy to a subdirectory on DUT il y a 5 ans
.gitignore Initial commit forked from brkho/triangle il y a 5 ans
Makefile Deploy to a subdirectory on DUT il y a 5 ans
README.md Initial commit forked from brkho/triangle il y a 5 ans
occlusion.cc Add a depth buffer il y a 5 ans
occlusion.frag Add another triangle for occlusion il y a 5 ans
occlusion.vert Deploy to a subdirectory on DUT il y a 5 ans

README.md

Vulkan occlusion query demo

Overview

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.

Instructions

  • Enter the CrOS chroot and set up the boards you want to test against (setup_board --board=${BOARD}).
  • Emerge Vulkan, mesa, and libpng to the device under test (emerge vulkan-loader media-libs/mesa libpng && cros deploy ${IP_ADDR} ${PACKAGES}).
  • make shaders
  • target={local, atlas (i915), cheza (adreno)} make