Commit graph

  • 27ffb29908 HLSL: Add 'class' keyword as (so far) synonym for 'struct'. John Kessenich 2017-03-03 17:01:01 -07:00
  • efc972799d Rename KHX to EXT to match the released specs Daniel Koch 2017-03-03 18:40:48 -05:00
  • c18cae2145 Merge pull request #748 from dgkoch/dgkoch_build_fixes2 John Kessenich 2017-03-03 09:20:43 -07:00
  • d9b7a850a8 More build fixes Daniel Koch 2017-03-03 10:34:07 -05:00
  • 854fe24786 HLSL: Fix #747: accept 'struct' in front of previously user-defined type name. John Kessenich 2017-03-02 14:30:59 -07:00
  • 0479437a5c SPV: Fix #739: OpSelect can only operate on scalars and vectors. John Kessenich 2017-03-01 13:49:11 -07:00
  • 173c0c01a6 Merge pull request #744 from realitix/sanitize_sh_link John Kessenich 2017-03-01 13:17:24 -07:00
  • 9c3f7b60ae Merge pull request #746 from dgkoch/dgkoch_build_fixes John Kessenich 2017-03-01 13:14:51 -07:00
  • efeefd9833 Build: Another fix for issue #718: implement the hidden methods of tFinalize. John Kessenich 2017-03-01 13:12:26 -07:00
  • 197082ca34 Fix build warnings on some platforms Daniel Koch 2017-02-28 09:01:43 -05:00
  • bc3fdcc8bd Sanitize ShaderLang.h Jean-Sebastien Bevilacqua 2017-03-01 09:23:14 +01:00
  • 3494d71cfa PP: Fix issue #738: don't assert on characters within a string. John Kessenich 2017-02-28 18:39:20 -07:00
  • fb22b69fc6 PP: Partially address issue #738: handle premature end of argument when token pasting. John Kessenich 2017-02-28 18:04:47 -07:00
  • 45c1b5b980 Merge pull request #742 from steve-lunarg/f16tof32-typefix John Kessenich 2017-02-28 16:18:24 -07:00
  • fdbfb65ec7 HLSL: small fix for index type in f16tof32 opcode steve-lunarg 2017-02-28 14:14:14 -07:00
  • 5a042c0686 GLSL: Fix #741: rationalize per-block vs. per-member offset checking. John Kessenich 2017-02-28 14:10:00 -07:00
  • 69a2c69649 Merge pull request #736 from steve-lunarg/structbuffer-params John Kessenich 2017-02-28 13:10:51 -07:00
  • b67b4a7072 PP: Address #737: accept 'h'/'H' floating-point suffix more broadly. John Kessenich 2017-02-28 12:40:40 -07:00
  • f67f9d7e4d Merge pull request #740 from steve-lunarg/f16tof32 John Kessenich 2017-02-28 09:54:38 -07:00
  • 86b510efd1 WIP: HLSL: add f16tof32 and f32tof16 decompositions. steve-lunarg 2017-02-27 13:09:32 -07:00
  • 42e33c9bec SPV: Update SPV header to official Rev. 10 of 1.0, and fix the consequences of doing so. John Kessenich 2017-02-27 01:50:28 -07:00
  • 6c8aaacd28 SPV: Implement new extensions GL_KHX_device_group and GL_KHX_multiview. John Kessenich 2017-02-27 01:20:51 -07:00
  • dd8287a109 WIP: HLSL: add structuredbuffer pass by reference in fn params steve-lunarg 2017-02-23 18:04:12 -07:00
  • 4a57dced66 SPV: Handle nested opaque types as function parameters. John Kessenich 2017-02-24 19:15:46 -07:00
  • 7491234713 Merge pull request #734 from steve-lunarg/ssbo-reflection John Kessenich 2017-02-22 17:12:09 -07:00
  • cb34945e3b Merge pull request #733 from amdrexu/bugfix John Kessenich 2017-02-22 17:11:00 -07:00
  • 932bb5cc4e Add reflection queries for thread local size and ssbo auto-binding steve-lunarg 2017-02-21 17:19:08 -07:00
  • 3e783f9b49 SPV: Unexpected declarations of capabilities from NV extensions. Rex Xu 2017-02-22 16:44:48 +08:00
  • 2fbe08c763 Merge pull request #725 from steve-lunarg/structurebuffer John Kessenich 2017-02-21 17:01:37 -07:00
  • 5da1f038d8 HLSL: implement 4 (of 6) structuredbuffer types steve-lunarg 2017-02-12 17:50:28 -07:00
  • c8aed91524 Merge pull request #732 from dneto0/fix-overrides John Kessenich 2017-02-21 13:09:05 -07:00
  • 4c64a40d41 Add override where needed by clang++ David Neto 2017-02-21 14:41:15 -05:00
  • 8f674e821e Fix issue #676: emit error message on failure to open spv file. John Kessenich 2017-02-18 09:45:40 -07:00
  • 0302bdf04a SPV: Fix #723: construct vectors from matrices. John Kessenich 2017-02-17 19:06:21 -07:00
  • 36852b838d Merge pull request #727 from jekstrand/image-load-formatted John Kessenich 2017-02-17 17:40:26 -07:00
  • f2b276031b Merge pull request #729 from gwihlidal/master John Kessenich 2017-02-17 17:39:32 -07:00
  • f44d89a398 Implement GL_EXT_shader_image_load_formatted Jason Ekstrand 2017-02-16 20:35:17 -08:00
  • 6f332f3ac6 Warning fixes Graham Wihlidal 2017-02-17 19:05:14 +01:00
  • 005120cce8 HLSL - Support for SV_GroupIndex Graham Wihlidal 2017-02-17 19:03:25 +01:00
  • b0cfcb5c64 Merge pull request #1 from KhronosGroup/master Graham Wihlidal 2017-02-17 18:41:31 +01:00
  • b0561d934c Merge pull request #720 from flaviobortot/master John Kessenich 2017-02-17 09:34:08 -07:00
  • 54f3ab7d47 Merge pull request #728 from MaciejJesionowskiAMD/fix-mismatched-subgroup-vote-string John Kessenich 2017-02-17 09:11:41 -07:00
  • 5227b6decb Fix mismatched doc string for SPV_KHR_subgroup_vote Maciej Jesionowski 2017-02-17 13:45:08 +01:00
  • d950283324 Merge pull request #724 from chaoc/master John Kessenich 2017-02-15 16:41:52 -07:00
  • 15017db971 Removed tabs and replaced with spaces. Changed layout for "else if" Flavio 2017-02-15 14:29:33 -08:00
  • df3956c50f Implement NVX_multiview_per_view_attributes chaoc 2017-02-14 14:52:34 -08:00
  • 8bb3ee53c5 added semantic handling and support for remapping variables with semantics t.jung 2017-01-04 17:55:31 +01:00
  • 7225a1cb1e Support align/offset for all versions GLSL/ESSL targeting SPIR-V. John Kessenich 2017-02-13 09:09:04 -07:00
  • e4e8f7b7a3 Merge pull request #722 from steve-lunarg/tessellation John Kessenich 2017-02-10 18:10:46 -07:00
  • 9a2733a978 PP, nonfunctional: Properly encapsulate a TokenStream. John Kessenich 2017-02-10 18:03:01 -07:00
  • 858c928ac7 Add basic HS/DS implementation. steve-lunarg 2017-01-07 08:54:10 -07:00
  • b49bb2ca5c PP, nonfunctional: Remove crufty bit-twiddling of tokens. John Kessenich 2017-02-10 12:56:05 -07:00
  • 8e711b84bd Fix issue #708: token pasting within macro argument expansion. John Kessenich 2017-02-10 10:04:16 -07:00
  • 0793988697 Merge pull request #707 from KhronosGroup/emit-opSelect John Kessenich 2017-02-08 17:33:11 -07:00
  • f8d0d8c2b8 Address issue #718. Should change which warning is generated, hopefully to a better one. John Kessenich 2017-02-08 17:31:03 -07:00
  • 8e6c6cef6a SPV: Implement specialization constants for ?:. John Kessenich 2017-01-28 19:29:42 -07:00
  • 433e9ff896 SPV: Emit OpSelect when a selection node is simple enough. John Kessenich 2017-01-26 20:31:11 -07:00
  • 509177d136 Merge pull request #685 from KhronosGroup/wrap-entry-point John Kessenich 2017-02-08 17:01:44 -07:00
  • dd40260b63 HLSL: don't do a deepCopy() for typedef, as we still want to share the type graph. John Kessenich 2017-02-08 13:59:30 -07:00
  • 65ee230f1c HLSL: Add tests and refine what decorations are passed through per stage/in/out. John Kessenich 2017-02-06 18:44:52 -07:00
  • bf47286fe7 HLSL: Move to fine-grained control for defining input/output/uniform IO types. John Kessenich 2017-02-05 20:27:30 -07:00
  • 727b374fd3 HLSL: Build IO types bottom up, as parsed, and cache the original (IO). John Kessenich 2017-02-03 17:57:55 -07:00
  • 88c4464df5 HLSL: Have loose uniforms also go through the makeTypeNonIo() path. John Kessenich 2017-02-03 14:06:36 -07:00
  • 2c5ab9c8fc HLSL: remove pervertex output blocks steve-lunarg 2017-02-03 13:37:54 -07:00
  • fbb58a4e0b Build: Fix Linux for older compiler: Use TMap instead of TUndorderedMap. John Kessenich 2017-02-03 11:21:24 -07:00
  • ec712ebea1 HLSL: fix copies between arrays of structs of builtins, and arrayed builtins. steve-lunarg 2017-02-02 16:32:02 -07:00
  • abd8dca86d HLSL: Make the entry-point shadow function have non-IO params and return. John Kessenich 2017-02-01 18:09:17 -07:00
  • 5d3023af03 HLSL: Type sanitization: create non-IO types for var decl and fn param/ret steve-lunarg 2017-01-25 10:03:17 -07:00
  • 0fe106afd2 AST: Have type deepCopy() preserve type graphs as graphs. John Kessenich 2017-02-01 13:14:03 -07:00
  • 02467d8d94 HLSL: Wrap the entry-point; need to write 'in' args, and support 'inout' args. John Kessenich 2017-01-19 15:41:47 -07:00
  • aea3c890d3 Added --vn option to generate a C header file containing a variable assigned to the hex representation of the shader. This is a standard feature on Microsoft's HLSL compiler and it allows developers to include pre-compiled shaders directly into the code. This option enables "Hex output", so it is NOT required to specify -x as well. The output file name is preserved, so no ".h" extension is added. If you want the output file to have ".h" extension then you have to specify it on the output file name. The generated header file uses the "#pragma once" pragma to avoid multiple inclusions. Flavio 2017-02-06 11:46:35 -08:00
  • 18adbdbbb8 Resolve issue #700: allow initializers on struct members. John Kessenich 2017-02-02 15:16:20 -07:00
  • 32fd5d26e3 Memory/constructor/warning clean-up. Addresses issue #705. John Kessenich 2017-02-02 14:55:02 -07:00
  • f1aeac8944 Merge pull request #711 from eoma/fix-friendly-specialization-name John Kessenich 2017-02-02 14:26:06 -07:00
  • ad58d45437 SPV: Emit names of specialization constants Endre Oma 2017-01-31 21:08:19 +01:00
  • 7e134cdfbe Merge pull request #706 from Ralith/install-headers John Kessenich 2017-01-29 20:44:31 -07:00
  • 5a074532af Install headers Benjamin Saunders 2017-01-29 17:45:12 -08:00
  • 62c3e400cf Fix bug from PR #678: NV_EXTENSIONS deleted implicit array sizing. John Kessenich 2017-01-26 22:03:57 -07:00
  • 82e0e58993 Fix issue #693. Ternary operator on void type. John Kessenich 2017-01-26 15:48:27 -07:00
  • c0904c15c2 Merge pull request #690 from ligfx/proper_dependencies John Kessenich 2017-01-26 15:13:27 -07:00
  • 2918a2ef15 README: point to HLSL status issues John Kessenich 2017-01-26 12:12:36 -07:00
  • 24ed24dd0a Merge pull request #702 from resetnow/master John Kessenich 2017-01-26 11:51:31 -07:00
  • 689490fd4d SpvBuilder: add const specifier to vector reference arguments Vlad Ivanov 2017-01-26 20:46:02 +03:00
  • 72754864c1 Merge pull request #694 from mtavenrath/fix_origin_link John Kessenich 2017-01-26 10:39:54 -07:00
  • 7b89e75213 Use correct OriginUpperLeft when linking more than one shader. Markus Tavenrath 2017-01-23 16:53:16 -08:00
  • 047a6a49ef Merge pull request #696 from amdrexu/bugfix2 John Kessenich 2017-01-24 10:58:21 -07:00
  • ab9e5e9f90 Merge pull request #695 from amdrexu/bugfix John Kessenich 2017-01-24 10:57:54 -07:00
  • 00d54b4440 Semantics: Texture clamp functions are available for fragment shader only. Rex Xu 2017-01-24 14:36:10 +08:00
  • c708f98081 Fix a CMakeLists issue Rex Xu 2017-01-24 14:24:21 +08:00
  • 2043da90df Merge pull request #692 from hrydgard/no-nvextensions-build-fix John Kessenich 2017-01-23 12:34:15 -07:00
  • bec5fc898a Fix build if NV_EXTENSIONS is not set Henrik Rydgard 2017-01-23 16:25:50 +01:00
  • 64b010f390 Merge pull request #678 from chaoc/stereo_view_rendering John Kessenich 2017-01-21 12:05:47 -07:00
  • 6077a19ba3 CMake: add target_link_libraries internally Michael Maltese 2017-01-21 10:59:15 -08:00
  • 771d89fc36 support SPV_NV_viewport_array2 and SPV_NV_stereo_view_rendering chaoc 2017-01-13 01:10:53 -08:00
  • 52fceb08f4 Merge pull request #689 from mikew-lunarg/master John Kessenich 2017-01-20 17:10:29 -07:00
  • 4e9e400ec6 Fix for not-handled-in-switch warnings Mike Weiblen 2017-01-20 13:34:10 -07:00
  • c37f8d6b7e Merge pull request #683 from rdb/master John Kessenich 2017-01-20 13:21:43 -07:00
  • a2f0e0e791 Fix compilation with MSVC 2010 rdb 2017-01-20 14:46:39 +01:00
  • 22f25d80c6 Merge pull request #682 from steve-lunarg/split-copy-fix John Kessenich 2017-01-19 16:56:06 -07:00
  • d3aea5edaf Merge pull request #679 from ashwinkolhe/akolhe_spv_khr_subgroup_vote John Kessenich 2017-01-19 16:16:49 -07:00