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 f0b22a7979 Update Makefile to properly remove artifacts from DUT 6 лет назад
.gitignore Create VkQueue and VkPipeline 6 лет назад
Makefile Update Makefile to properly remove artifacts from DUT 6 лет назад
README.md Change extension on README to md 6 лет назад
triangle.cc Update nonconformant shaders 6 лет назад
triangle.frag Update nonconformant shaders 6 лет назад
triangle.vert Update nonconformant shaders 6 лет назад

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