瀏覽代碼

Add README with instructions

master
Brian Ho 6 年之前
父節點
當前提交
6b2d538ff3
共有 1 個文件被更改,包括 10 次插入 和 0 次删除
  1. 10
    0
      README

+ 10
- 0
README 查看文件

@@ -0,0 +1,10 @@
# 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`

Loading…
取消
儲存