- 10 May, 2017 1 commit
-
-
John Kessenich authored
Included changing related parameters to const. Should fix complaints with previous commit. See issue #879.
-
- 08 May, 2017 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
Fixes Vulkan Khronos-internal issue 770.
-
- 05 May, 2017 1 commit
-
-
John Kessenich authored
-
- 04 May, 2017 1 commit
-
-
John Kessenich authored
HLSL: implement [unroll] and [loop] attributes
-
- 03 May, 2017 3 commits
-
-
steve-lunarg authored
This adds infrastructure suitable for any front end to create SPIR-V loop control flags. The only current front end doing so is HLSL. [unroll] turns into spv::LoopControlUnrollMask [loop] turns into spv::LoopControlDontUnrollMask no specification means spv::LoopControlMaskNone
-
John Kessenich authored
Fix iomapper build warnings
-
steve-lunarg authored
-
- 02 May, 2017 2 commits
-
-
John Kessenich authored
HLSL: Implement missing GatherCmp method
-
steve-lunarg authored
-
- 30 Apr, 2017 1 commit
-
-
John Kessenich authored
Modernise CMake #2
-
- 29 Apr, 2017 4 commits
-
-
David Seifert authored
This reverts commit cfc69d95. * Change CMAKE_INSTALL_PREFIX default on Windows in order to prevent permission denied errors when trying to install to "Program Files".
-
John Kessenich authored
Revert "Modernise CMake"
-
John Kessenich authored
-
John Kessenich authored
Modernise CMake
-
- 28 Apr, 2017 6 commits
-
-
David Seifert authored
-
David Seifert authored
* Use `GNUInstallDirs` in order to respect GNU conventions. This is especially important for multi-arch/multi-lib setups. * Specify position independent mode building properly, without using the historic hack of adding `-fPIC` as a definition. This makes the build system more portable. * Only detect C++ (and not C) to slightly speed up configuring. * Specify C++11 mode using modern CMake idioms. * Fix some whitespace issues.
-
John Kessenich authored
Notification phase for io remapper
-
John Kessenich authored
HLSL: Allow empty struct initializers
-
t.jung authored
Adds a notification phase to the io remapper. The idea behind this is to give the user a chance to group uniforms and/or in/out variables for a better pipeline layout sharing for vulkan. Change-Id: I7492421085a4156ed3534f01d906ab390d73a623
-
steve-lunarg authored
Review request: does this harm GLSL in any way?
-
- 27 Apr, 2017 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
HLSL: add standard sample position return form of GetSamplePosition m…
-
- 26 Apr, 2017 1 commit
-
-
steve-lunarg authored
Multisample textures support a GetSamplePosition() method intended to query positions given a sample index. This cannot be truly implemented in SPIR-V, but #753 requested returning standard positions for the 1..16 cases, which this PR adds. Anything besides that returns (0,0). If the standard positions are not used, this will be wrong. This should be revisited when there is a real query available.
-
- 25 Apr, 2017 2 commits
-
-
John Kessenich authored
HLSL: Add ConstantBuffer<T> syntax
-
steve-lunarg authored
Note: multi-dimension arrays of ConstantBuffer objects will go through uniform flattening.
-
- 22 Apr, 2017 1 commit
-
-
John Kessenich authored
Fix Android build errors
-
- 21 Apr, 2017 7 commits
-
-
Daniel Koch authored
glslang/MachineIndependent/iomapper.cpp:207:9: error: field 'resolver' will be initialized after field 'stage' [-Werror,-Wreorder] : resolver(r) ^ glslang/MachineIndependent/iomapper.cpp:263:9: error: field 'resolver' will be initialized after field 'stage' [-Werror,-Wreorder] : resolver(r) ^ hlsl/hlslParseHelper.cpp:70:5: error: field 'gsStreamOutput' will be initialized after field 'inputPatch' [-Werror,-Wreorder] gsStreamOutput(nullptr), ^ -
John Kessenich authored
HLSL: add error for expected comparison sampler in SampleCmp* ops
-
steve-lunarg authored
This adds an error message if a non-comparison sampler is used with comparison sampling methods. There's no functional change for correct shaders.
-
John Kessenich authored
Vector conditions properly convert the true/false expression types to same width vector as the condition. Scalar conditions make the true/false expressions convert to each other.
-
John Kessenich authored
HLSL: fix for byte address buffers in fn parmeters
-
John Kessenich authored
HLSL: cast non-int types to uint on Load/Store indexes
-
John Kessenich authored
HLSL: hlsl register class iomapping
-
- 20 Apr, 2017 6 commits
-
-
steve-lunarg authored
Byte address buffers were failing to detect that they were byte address buffers when used as fn parameters. Note: this detection is a little awkward, and could be simplified if it was easy to obtain the declared builtin type for an object.
-
steve-lunarg authored
-
steve-lunarg authored
Adds --hlsl-iomap option to perform IO mapping in HLSL register space. --shift-cbuffer-binding is now a synonym for --shift-ubo-binding. The idea way to do this seems to be passing in a dedicated IO resolver, but that would require more intrusive restructuring, so maybe best for its own PR. The TDefaultHlslIoResolver class and the former TDefaultIoResolver class share quite a bit of mechanism in a common base class. TODO: tbuffers are landing in the wrong register class, which needs some investigation. They're either wrong upstream, or the detection in the resolver is wrong.
-
John Kessenich authored
Also, fixed one test file that didn't have its syntax error as the last line.
-
John Kessenich authored
-
steve-lunarg authored
Some texture and SB operations can take non-integer indexes, which should be cast to integers before use if they are not already. This adds makeIntegerIndex() for the purpose. Int types are left alone. (This was done before for operator[], but needs to apply to some other things too, hence its extraction into common function now)
-