Commit Graph

35 Commits

Author SHA1 Message Date
Ryan Harrison
734176a25c Move build instructions to README.md 2019-08-09 10:32:47 -04:00
John Kessenich
6fef1ca6f9 Latest known-good SPIRV-Tools: WARNING: Needs python 3.x.
You may need to install python 3.x and also
[windows users] may need to get it in your path in front of python 2.7.x.

If you don't need the external projects (i.e., SPIRV-Tools) and don't want
to upgrade to python 3, don't create the External subdirectory and CMake
won't require python 3.  (CMake has a bug that makes it find the wrong one
on a first pass if the top level does not require the version needed by
lower levels.)
2019-05-09 10:11:54 -06:00
John Kessenich
00054da5e6 Infrastructure: Fix .gitattributes typo eof -> eol. Also update README
Add to README: git config --global core.fileMode false
2018-12-10 16:54:58 -07:00
Rémi Verschelde
ebfd91a719 Remove Unix executable permission from text files 2018-12-10 10:49:16 +01:00
John Kessenich
f0928b3f56 Build: Pin googletest to a version that works with visual studio 2013. 2018-10-26 11:28:37 -06:00
John Kessenich
56a75975e3 Fix #1469: Make it easier to copy/paste build instructions. 2018-08-09 13:58:12 -06:00
John Kessenich
88a6a18119 README: Expand on the C++11 compiler requirement for MSVS. 2018-04-06 10:38:38 -06:00
John Kessenich
10971553b8 Non-Functional: Remove unused parts of the disassembler. 2018-03-30 00:11:39 -06:00
Cory Bloor
384b20705c Improve build instructions
- Mention that the instructions are written for Bash.
- Quote the CMAKE_INSTALL_PREFIX to handle spaces in $(pwd).
- Remove SSH clone instructions. Instructions on how to clone are for
  those unfamiliar with GitHub, so fewer options are better and SSH
  requires additional configuration to make work.
- Replace ninja with make, because more people are familiar with it and
  we probably don't need to explain how to install it. Fixes #956.
- Remove the section mentioning cygwin, as it's unclear and doesn't
  seem necessary.
- Mention minimum language version in the Dependencies section.
- Move `cd $BUILD_DIR` out of the Linux configuration section because
  it's needed on both platforms. Add a line about creating the build
  directory, too.
2017-12-05 00:28:32 -07:00
Lei Zhang
30c60bdfa0 Update README about the automatic master-tot relase 2017-11-13 15:28:52 -05:00
John Kessenich
263986eb6e Readme: Update with additional Windows build information for SPIRV-tools build. 2017-10-06 00:24:41 -06:00
GregF
cd1f169c6a Enable HLSL legalization
Also added known-good mechanism to fetch latest validated spirv-tools.
Also added -Od and -Os to disable optimizer and optimize for size.

Fetching spirv-tools is optional for both glsl and hlsl. Legalization
of hlsl is done by default if spirv-opt is present at cmake time.
Optimization for glsl is currently done through the option -Os.

Legalization testing is currently only done on four existing shaders.
A separate baseLegalResults directory holds those results. All previous
testing is done with the optimizer disabled.
2017-09-27 15:06:05 -06:00
John Kessenich
2918a2ef15 README: point to HLSL status issues 2017-01-26 12:12:36 -07:00
Anny
0b3b6e17bd Updated README.md
Added an alternative link for cloning the repo in the build instructions
2016-09-29 16:29:58 -07:00
John Kessenich
e15509e450 Infrastructure: Address issue #414, build instructions. 2016-07-27 13:14:36 -06:00
John Kessenich
0c4702407c README: Fix numbered list. 2016-07-25 16:27:24 -06:00
John Kessenich
fd6b0fd51e README: Update the component list. 2016-07-25 16:21:08 -06:00
John Kessenich
91b7533d70 README: remove reference to todo.txt, it is obsolete. 2016-07-11 16:30:45 -06:00
Lei Zhang
48e296b18c Remove duplicated tests from the runtests script. 2016-06-28 17:54:07 -04:00
Lei Zhang
0e101c9613 Add badge status for Appveyor build in README. 2016-05-10 13:04:55 -04:00
John Kessenich
3bdf24267c README: Editorial update. 2016-05-06 00:08:03 -06:00
Lei Zhang
d7b552a907 Improve README steps for building and testing glslang. 2016-05-05 10:50:09 -04:00
Lei Zhang
f5e33b0bac Explain organization and build steps for source code and tests. 2016-05-05 10:19:12 -04:00
John Kessenich
758bb5520d Bison: Non-functional: Move to revision 3.0.4.
This hopefully prevents obsucuring actual changes in a future commit.

Also, adds a script to update the grammar.
2016-05-04 12:54:56 -06:00
Lei Zhang
c4ebb55347 Add configuration for Travis to test on Linux and Mac OS X. 2016-05-04 11:55:10 -04:00
John Kessenich
6e620c4674 Nonfunctional: Remove stray ';' and fix Google Test sentence in README. 2016-04-07 09:10:47 -06:00
Eric Engestrom
6a6d6dda95 fix spelling mistakes 2016-04-03 01:17:13 +01:00
Lei Zhang
414eb60482 Link in Google Test framework.
The existing test harness is a homemade shell script. All the tests
and the expected results are written in plain text files. The harness
just reads in a test, invoke the glslangValidator binary on it, and
compare the result with the golden file. All tests are kinda
integration tests.

This patch add Google Test as an external project, which provides a
new harness for reading shader source files, compile to SPIR-V, and
then compare with the expected output.
2016-03-31 10:31:30 -04:00
baldurk
ac13240328 Add a note to README.md about how to build the bison grammar 2016-02-28 09:12:01 +01:00
baldurk
5100d5603f Remove legacy build system 2015-11-16 23:51:35 +01:00
John Kessenich
79807811b5 README: Update testing section. 2015-09-09 16:34:13 -06:00
John Kessenich
ebb7bf37fd Remove executables from the source tree. This addresses issue #48. 2015-09-09 15:33:41 -06:00
John Kessenich
3a194f7ba4 Update readme to point to Khronos landing page. 2015-07-13 11:41:06 -06:00
John Kessenich
63cebdb4c2 Building README: Update to CMake information. 2015-06-29 10:42:27 -06:00
Lei Zhang
65299b9ef0 Format README using markdown. 2015-06-28 18:11:13 -04:00