Binary that renders a triangle using Vulkan and scans the resulting image to a PNG. 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 6b2d538ff3 Add README with instructions il y a 7 ans
.gitignore Create VkQueue and VkPipeline il y a 7 ans
Makefile Render triangle and output to PNG il y a 7 ans
README Add README with instructions il y a 7 ans
triangle.cc Render to optimally tiled images and blit to linear before scanout il y a 7 ans
triangle.frag Create VkQueue and VkPipeline il y a 7 ans
triangle.vert Create VkQueue and VkPipeline il y a 7 ans

README

# 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`