Example application for subpasses in Vulkan.
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 f92d434d39 Add a second subpass that darkens the output of the first il y a 5 ans
.gitignore Add a second subpass that darkens the output of the first il y a 5 ans
Makefile Add a second subpass that darkens the output of the first il y a 5 ans
README.md Initial commit that renders two triangles il y a 5 ans
darken.frag Add a second subpass that darkens the output of the first il y a 5 ans
darken.vert Add a second subpass that darkens the output of the first il y a 5 ans
draw.frag Add a second subpass that darkens the output of the first il y a 5 ans
draw.vert Add a second subpass that darkens the output of the first il y a 5 ans
subpass.cc Add a second subpass that darkens the output of the first il y a 5 ans

README.md

Vulkan subpass demo

Overview

This repo contains the source for a Vulkan applicaiton that renders a triangle in one subpass, and in the next, darkens it. The application then saves the output as a PNG.

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