Binary that renders a triangle using Vulkan and scans the resulting image to a PNG. To be used in developing Turnip.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Brian Ho 0e8ec58344 Properly select index for allocating memory 7年前
.gitignore Create VkQueue and VkPipeline 7年前
Makefile Render triangle and output to PNG 7年前
README.md Change extension on README to md 7年前
triangle.cc Properly select index for allocating memory 7年前
triangle.frag Create VkQueue and VkPipeline 7年前
triangle.vert Create VkQueue and VkPipeline 7年前

README.md

Vulkan triangle example application

Overview

This repo contains the source for an applicaiton that renders a triangle using Vulkan and then saves the output as a PNG. This applicaiton is meant as a starting point to debug freedreno featurework for 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