- 15 Jun, 2017 1 commit
-
-
John Kessenich authored
Works for both GLSL and HLSL. Fixes #87.
-
- 14 Jun, 2017 8 commits
-
-
John Kessenich authored
ShaderCompUnit was poorly done, a mix of a list of things and hard coding to a single thing. This makes it all a true list. File data was greatly simplified to be a single string, no longer supporting breaking a single file into multiple strings.
-
John Kessenich authored
Makes alphabetical order, fit in 80 columns, abstract in-option string argument.
-
John Kessenich authored
HLSL: fix several issues in mat construction from scalars
-
LoopDawg authored
This fixes: 1. A compilation error when assigning scalars to matricies 2. A semantic error in matrix construction from scalars. This was initializing the diagonal, where HLSL semantics require the scalar be replicated to every matrix element. 3. Functions accepting mats can be called with scalars, which will be shape-converted to the matrix type. This was previously failing to match the function signature. NOTE: this does not yet handle complex scalars (a function call, say) used to construct matricies. That'll be added when the node replicator service is available. For now, there's an assert. There's one new test (hlsl.scalar2matrix.frag). An existing test lsl.type.half.frag changes, because of (2) above, and a negative test error message changes due to (3) above. Fixes #923.
-
John Kessenich authored
SPV: Fix an typo of SPV_AMD_texture_gather_bias_lod
-
Rex Xu authored
-
John Kessenich authored
-
John Kessenich authored
E.g., in float float; (float) * float; The "(float)" is not a type cast, it is an expression.
-
- 12 Jun, 2017 1 commit
-
-
John Kessenich authored
HLSL: compilation warning fix: no functional change
-
- 10 Jun, 2017 1 commit
-
-
LoopDawg authored
One liner to eliminate a compile warning.
-
- 09 Jun, 2017 2 commits
-
-
John Kessenich authored
-
Rex Xu authored
- Add int16 types (int16_t, uint16_t, i16vec, u16vec). - Add int16 support to GLSL operators. - Add int16 type conversions (to int16, from int16). - Add int16 built-in functions.
-
- 08 Jun, 2017 7 commits
-
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
This implements Khronos-private specification bug 16130.
-
John Kessenich authored
This tracks Khronos-private specification bug 15945.
-
John Kessenich authored
-
John Kessenich authored
-
- 07 Jun, 2017 7 commits
-
-
John Kessenich authored
-
John Kessenich authored
Infrastructure: add include search paths (-I, etc.). Fixes #921.
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
This lets all languages share the same definitions.
-
John Kessenich authored
-
- 06 Jun, 2017 3 commits
-
-
John Kessenich authored
Build: Fix linux
-
Jeremy Hayes authored
I believe this is a repeat of 12d69368.
-
John Kessenich authored
Unlike "if (XXX)" and "while (XXX)", with "for (YYY...", the YYY can be more kinds of statements than the XXX.
-
- 05 Jun, 2017 3 commits
-
-
John Kessenich authored
-
John Kessenich authored
Implement the extension GL_AMD_texture_gather_bias_lod
-
Rex Xu authored
-
- 04 Jun, 2017 2 commits
-
-
John Kessenich authored
Setting component=0 is later taken to mean the shader did so, which is not always legal. It should instead set the component as not set by the shader.
-
John Kessenich authored
This implements a recent change to the GLSL specification to enforce this ill-defined situation.
-
- 03 Jun, 2017 4 commits
-
-
John Kessenich authored
Remove empty cpp files
-
John Kessenich authored
HLSL: add test coverage for sub-vec4 texture intrinsics
-
John Kessenich authored
SPV: When passing structs of opaque types, flatten and pass the membe…
-
John Kessenich authored
For "s.m = t", a sampler member assigned a sampler, make t an alias for s.m, and when s.m is flattened, it will flatten to the alias t. Normally, assignments to samplers are disallowed.
-
- 02 Jun, 2017 1 commit
-
-
John Kessenich authored
This avoids either A) needing uniformConstant struct, or B) initializing a struct with opaque members, as writing them is not allowed.
-