Example application for subpasses in Vulkan.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Brian Ho d985c4caf3 Initial commit that renders two triangles 5年前
.gitignore Initial commit that renders two triangles 5年前
Makefile Initial commit that renders two triangles 5年前
README.md Initial commit that renders two triangles 5年前
subpass.cc Initial commit that renders two triangles 5年前
subpass.frag Initial commit that renders two triangles 5年前
subpass.vert Initial commit that renders two triangles 5年前

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