GithubHelp home page GithubHelp logo

angle-validator's Introduction

angle-validator

A working build is shipped in out/. Installation and (re)building is only necessary if modifying source.

Init and Build (Mac/Linux)

  1. git clone https://github.com/brendankenny/angle-validator.git
  2. cd angle-validator/
  3. Download, install, and activate the Emscripten SDK
    git clone https://github.com/juj/emsdk.git
    ./emsdk/emsdk install latest
    ./emsdk/emsdk activate latest
  4. git clone https://chromium.googlesource.com/angle/angle (TODO: lock version)
  5. yarn build

Test

yarn test yarn lint yarn type-check

Update source list

Occasionally, the list of source files and compile flags will need to be regenerated as ANGLE is updated.

  1. Check for changes to shader translator sample
    cd angle
    git fetch
    git diff origin/master -R -- samples/shader_translator/shader_translator.cpp
    git diff origin/master -R # optional, will be very large
    git pull # if desired
    cd ..
  2. If update needed, initialize ANGLE
    cd angle
    python scripts/bootstrap.py
    gclient sync
    cd ..
  3. yarn gen
  4. Compare to checked-in build config (git diff build/build-config.json)
  5. yarn build if ANGLE or build changes require it

Update test expectation binary

If ANGLE is updated, should update test expectation generator from ANGLE source.

  1. yarn build --gt

angle-validator's People

Contributors

brendankenny avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.