Commit Graph

56 Commits

Author SHA1 Message Date
John Kessenich
adacba3ee9
Update README.md 2020-06-22 01:44:53 -06:00
John Kessenich
0cc27fb68c Update news for header location change and recommendation. 2020-06-01 23:24:37 -06:00
dan sinclair
f15982ebeb
Remove install to the SPIRV/ folder. (#2256)
This CL updates the build scripts to only install to glslang/SPIRV
instead of also installing to the SPIRV/ folder. The deprecation notice
is also removed.

Note, this may cause downstream build issues if include directories have
not been updated

Fixes #1964 #2216
2020-06-01 23:21:03 -06:00
John Kessenich
bcf6a2430e Move to SPIR-V 1.5 Rev. 3, bump revision, remove a status from README. 2020-04-27 02:12:05 -06:00
John Kessenich
1b57332746
Note about Build Status. 2020-04-24 12:01:14 -06:00
Kai Ninomiya
817d0f63d3 update README 2020-03-23 12:50:33 -07:00
Spencer Fricke
442f561ad5 Add Android build instructions to README 2020-03-04 15:33:59 -08:00
John Kessenich
c6a4c6d3d8
Improve formatting. 2020-03-04 00:15:20 -07:00
John Kessenich
c40c4bc38a
Add "news" section and component status.
Includes an additional deprecation and rationalizing the beginning sections.
2020-03-04 00:07:50 -07:00
wangli28
717264316a Add vcpkg installation instructions 2020-02-28 06:41:58 +00:00
Kai Ninomiya
5166bc1859 Split "is emscripten" config from "enable glslang.js"
This should enable glslang to be used as a dependency of other projects
that target WebAssembly, instead of assuming "EMSCRIPTEN" => "Want
glslang.js".
2020-02-06 14:06:20 -08:00
John Kessenich
3ed344dd78 Fix #2059, and also attempt to skip test bots [skip ci] 2020-01-16 00:52:28 -07:00
Ian Romanick
9216e8cf16 Update README.md to include other test requirements
Knowing this in advance would have saved me some time.
2019-12-02 10:53:46 -08:00
dan sinclair
af7c73b1c3 Add deprecation for SPIRV/ install folder location.
This Cl updates the README.md to reference the deprecation date for the
current SPIRV/ install location.

Issue #1964
2019-11-06 09:50:40 -05:00
Xottab_DUTY
3c8b4daabd
Fixed typo in README.md 2019-10-12 16:23:54 +05:00
John Kessenich
d0848b72fa
Merge branch 'master' into separate-web-and-emscripten 2019-09-18 01:55:12 -06:00
Kai Ninomiya
4391924ac5 Separate GLSLANG_WEB (min-size build) and Emscripten options
Allows building non-min-size builds with Emscripten.
Adds ENABLE_GLSLANG_WEB_DEVEL.
Moves the glslang.js files to OSDependent/Web.
Small cleanups and docs update.
2019-09-17 23:18:03 -07:00
John Kessenich
e0932f676d README: Fix WASM typos. 2019-09-18 00:17:31 -06:00
John Kessenich
df1d4ccf5f ESSL/SPV: Fix #1856: Allow ESSL shaders to compile to OpenGL SPIR-V. 2019-08-28 02:51:38 -06:00
John Kessenich
efd47a8fae Documentation: Provide more detail in setting up the environment. 2019-08-28 02:25:26 -06:00
John Kessenich
369ffa9543 web: Fix accidental additon of refract() prototypes and update README. 2019-08-21 07:54:27 -06:00
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