doc: up cmake requirement and add badges

This commit is contained in:
chyyran 2023-02-04 17:01:22 -05:00
parent 0f4c1ba163
commit 1ed4c811e2

View file

@ -2,6 +2,8 @@
Safe Rust bindings to [spirv-to-dxil](https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/microsoft/spirv_to_dxil/spirv_to_dxil.h).
[![Latest Version](https://img.shields.io/crates/v/spirv-to-dxil.svg)](https://crates.io/crates/spirv-to-dxil) [![Docs](https://docs.rs/spirv-to-dxil/badge.svg)](https://docs.rs/spirv-to-dxil) ![License](https://img.shields.io/crates/l/spirv-to-dxil)
## Building
spirv-to-dxil-rs builds a copy of spirv-to-dxil statically from Mesa. Many of the build requirements are [the same as needed to build Mesa](https://docs.mesa3d.org/install.html).
@ -12,7 +14,7 @@ spirv-to-dxil-rs builds a copy of spirv-to-dxil statically from Mesa. Many of th
* [Python 3.6](https://www.python.org/) or later.
Lex and Yacc are not required. Additionally, [CMake 3.6](https://cmake.org/) or later is required to run the build script.
Lex and Yacc are not required. Additionally, [CMake 3.8](https://cmake.org/) or later is required to run the build script.
A script to clone a minimal subset of Mesa required to build spirv-to-dxil has been provided.