- 10 May, 2016 10 commits
-
-
John Kessenich authored
Add badge status for Appveyor build in README.
-
Lei Zhang authored
-
John Kessenich authored
Configuration for Windows buildbot & fix a bug
-
Lei Zhang authored
We can have multiple instances of the same string, so comparing const char* is not guaranteed working. Fixed the failure on VS 2013 with Debug build.
-
Lei Zhang authored
-
John Kessenich authored
Full stack: Support *precise* qualifier
-
John Kessenich authored
Use proper precision qualifiers for bitfield build-in functions on ES
-
John Kessenich authored
fix check for non-positive array size
-
qining authored
-
- 09 May, 2016 9 commits
-
-
GregF authored
-
scygan authored
This change causes ES shaders to precision qualifiers for build-in functions as defined in ESSL spec. It especially mattersfor functions that are defined as highp or taking a highp. Fixes vulkanCTS dEQP-VK.glsl.builtin.function.integer.bitfieldreverse.*, where bitfieldReverse() retval was wrongly marked as RelaxedPrecision. Note: floatBitsToInt/floatBitsToUInt precision is also broken, but in different way - so it is not addressed here.
-
qining authored
-
qining authored
-
qining authored
-
qining authored
1. Sink adding noContraction decoration to createBinaryOperation() and createUnaryOperation(). 2. Fix comments. 3. Remove the #define of my delimiter, use global constant char.
-
qining authored
-
qining authored
Reimplement the whole workflow to make that: precise'ness of struct members won't spread to other non-precise members of the same struct instance. Approach: 1. Build the map from symbols to their defining nodes. And for each object node (StructIndex, DirectIndex, Symbol nodes, etc), generates an accesschain path. Different AST nodes that indicating a same object should have the same accesschain path. 2. Along the building phase in step 1, collect the initial set of 'precise' (AST qualifier: 'noContraction') objects' accesschain paths. 3. Start with the initial set of 'precise' accesschain paths, use it as a worklist, do as the following steps until the worklist is empty: 1) Pop an accesschain path from worklist. 2) Get the symbol part from the accesschain path. 3) Find the defining nodes of that symbol. 4) For each defining node, check whether it is defining a 'precise' object, or its assignee has nested 'precise' object. Get the incremental path from assignee to its nested 'precise' object (if any). 5) Traverse the right side of the defining node, obtain the accesschain paths of the corresponding involved 'precise' objects. Update the worklist with those new objects' accesschain paths. Label involved operations with 'noContraction'. In each step, whenever we find the parent object of an nested object is 'precise' (has 'noContraction' qualifier), we let the nested object inherit the 'precise'ness from its parent object.
-
- 06 May, 2016 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
-
- 05 May, 2016 19 commits
-
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
CMake: Updated to better organize folders and options.
-
John Kessenich authored
-
John Kessenich authored
Use strtoll, as stoll is unavailable on Android.
-
Andrew Woloszyn authored
-
Andrew Woloszyn authored
This adds solution folders that properly group gtest/glslang/hlsl. This also marks gtest options as advanced so they don't show up in cmake-gui by default.
-
John Kessenich authored
-
Dejan Mircevski authored
-
John Kessenich authored
Avoid printing to stdout directly in library functions.
-
John Kessenich authored
README: Explain test organization and deduplication.
-
Lei Zhang authored
-
Lei Zhang authored
-
Lei Zhang authored
-
Lei Zhang authored
Previously GlslangToSpv() reported missing/TBD functionalities by directly writing to stdout using printf. That could cause problems to callers of GlslangToSpv(). This patch cleans up the error reporting logic in GlslangToSpv(), TGlslangToSpvTraverser, and spv::Builder a little bit to use ostringstream. Also fixed the usage of GlslangToSpv() in GTest fixtures to capture warnings/errors reported when translating AST to SPIR-V.
-
Rex Xu authored
-
Rex Xu authored
Add new built-in variables and functions to the parser (SPIR-V tokens are missing).
-