- 28 Apr, 2016 1 commit
-
-
John Kessenich authored
Scanner/PP: Fix the infinite loop when an input file lacks EOF
-
- 27 Apr, 2016 4 commits
-
-
qining authored
-
qining authored
The input scanner can be trapped in an infinite loop if the given input file does not have EOF (and is not ended with a 'whitespace'). The problem is caused by unget(), which keeps rolling back the scanner pointer without hitting an EOF at the end of the file. This makes getch() function keep returning the last character of the file and never ends, and the effect of advance() is always counteracted by unget().
-
John Kessenich authored
SPV: Use OpLogicalEqual/OpLogicalNotEqual for boolean type comparison.
-
Rex Xu authored
-
- 22 Apr, 2016 1 commit
-
-
John Kessenich authored
Remove use of std::mutex in gtest code.
-
- 21 Apr, 2016 1 commit
-
-
David Neto authored
Gtest runs in single-threaded mode. So the GlslangInitializer object in the test code doesn't have to do its own synchronization.
-
- 18 Apr, 2016 1 commit
-
-
John Kessenich authored
SPV: Spec-consts: Fix constructors matrix and vector
-
- 14 Apr, 2016 2 commits
-
-
qining authored
fix the problem that spec constant composite instruction being used when only front-end constants are used in the constructor
-
qining authored
Fix issue: #237 1. The code generated for matrix constructor should 1) build column vectors first, 2) build matrix with the vectors. 2. When there is only one scalar type constituent in vector's constructor, we should populate the constituent to fill all the slots in the vector. As for matrix, the single constituent should be populated to the diagonal positions (top-left to bottom-right diagonal). remove createSpvConstantFromConstSubTree()
-
- 13 Apr, 2016 5 commits
-
-
John Kessenich authored
SPV: SpecOp bool->uint/int and uint<->int conversion
-
qining authored
-
qining authored
Bool -> uint/int with OpSpecConstantOp OpSelect instruction. uint <-> int conversion with OpSpecConstantOp OpIAdd instruction. Note, implicit conversion: `const uint = an_int_spec_constant` is not supported. Explicit type casting is required: `const uint = uint(an_int_spec_constant)`
-
John Kessenich authored
Unit test executable should link to libHLSL
-
John Kessenich authored
-
- 12 Apr, 2016 1 commit
-
-
David Neto authored
No unit tests exercise it.
-
- 11 Apr, 2016 1 commit
-
-
John Kessenich authored
A couple of small warning fixes
-
- 09 Apr, 2016 2 commits
- 07 Apr, 2016 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
This might address issue #221, which I couldn't reproduce.
-
- 06 Apr, 2016 5 commits
-
-
John Kessenich authored
This is according to the expected KHR_vulkan_glsl without floating point. So, floating-point spec-const operations no longer work, and that's reflected in the tests.
-
John Kessenich authored
SPV: Generate OpSpecConstantOp for all subtrees indicated by the AST.
-
qining authored
-
qining authored
Move SpecConstantOpModeGuard from makeSpvConstantFromConstSubTree() to visitbinary() and visitunary(). Checking if the visiting node is a spec constants, if so, turn on the SpecConstantOpMode, otherwise, stay in the normal mode.
-
qining authored
fix the wrong generated code when a non-constant array is declared with its size derived from spec constant operations
-
- 04 Apr, 2016 3 commits
-
-
John Kessenich authored
Handle built-in constants redeclared with a specialization constant id.
-
qining authored
Support declaring built-in values as spec constants. Refine the code in createSpvConstant().
-
John Kessenich authored
-
- 03 Apr, 2016 4 commits
-
-
John Kessenich authored
-
John Kessenich authored
VS2010 compile fixes
-
John Kessenich authored
Fix spelling mistakes
-
Eric Engestrom authored
-
- 02 Apr, 2016 3 commits
-
-
John Kessenich authored
-
baldurk authored
-
baldurk authored
-
- 31 Mar, 2016 4 commits
-
-
John Kessenich authored
Add Google Test as the new test framework
-
John Kessenich authored
Parser: Update array size of gl_ClipDistance/gl_CullDistance in gl_in[].
-
John Kessenich authored
SPV: Spec Constant Operations
-
qining authored
fix format; remove unnecessary parameters; rename some spec op mode guard class; remove support of float point comparison and composite type comparison; update the tests.
-