Andrew Woloszyn
db0eaf9887
Updated cmake to better organize folders and options.
...
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.
2016-05-05 14:45:53 -04:00
Lei Zhang
3f460532cc
Remove duplicated cmake_minimum_required() calls.
2016-05-04 17:01:36 -04:00
John Kessenich
17f0786418
Parser: Precise: Recognize 'precise', tag types, and do related semantic checking.
...
This partly overlaps pull request #222 , we have divided the work on this one.
2016-05-04 12:54:56 -06:00
John Kessenich
34fb036a9c
HLSL: Add (almost) full expression grammar: Binary, unary (pre/post-fix), assign, ...
2016-05-03 23:33:00 -06:00
John Kessenich
9c86c6ab5b
HLSL: Separate out token stream handling from grammar recognition.
2016-05-03 22:49:24 -06:00
John Kessenich
e512cd943e
Vulkan: Add the #define VULKAN 100 when compiled for Vulkan.
...
Note this requires test-based piecing together of the preamble string,
so it changed to being a std::string to make it easier to do.
This closes issue #254 .
2016-05-03 21:18:59 -06:00
John Kessenich
7e3e486344
Memory: Don't use pool memory to store the entry point name in the intermediate representation.
...
This might address issue #221 , which I couldn't reproduce.
2016-04-06 19:03:15 -06:00
John Kessenich
1c7e70763b
Merge branch 'master' into hlsl-frontend
2016-04-03 20:36:48 -06:00
John Kessenich
aecd497c96
HLSL: Abstract accepting an identifier.
2016-03-14 10:46:34 -06:00
John Kessenich
078d7f24bd
HLSL: Simplify appearances a bit to make easier to read.
2016-03-14 10:02:11 -06:00
John Kessenich
5f934b039a
HLSL: Accept basic funtion definitions. (Not yet mapping input/output for entry point.)
2016-03-13 17:58:25 -06:00
John Kessenich
48882ef5a8
HLSL: Get correct set of reserved words.
2016-03-13 12:22:00 -06:00
John Kessenich
d016be19fb
HLSL: Hook up constructor expressions through the AST.
2016-03-13 11:24:20 -06:00
John Kessenich
87142c71fb
HLSL: Add basic declaration syntax and AST generation.
2016-03-12 21:40:38 -07:00
John Kessenich
e01a9bc8c0
HLSL: Plumb in HLSL parse context and keywords, and most basic HLSL parser and test.
2016-03-12 21:40:08 -07:00