Commit graph

  • 3152718630 Merge pull request #503 from amdrexu/feature3 John Kessenich 2016-09-09 10:41:16 -06:00
  • c9f349234f SPV: Use OpBitcast to implement 4 pack/unpack built-in functions. Rex Xu 2016-09-09 17:50:07 +08:00
  • 99c4dd16db Preprocessor: UINT_MAX is translated to constant incorrectly. Rex Xu 2016-09-06 13:46:12 +08:00
  • cfd7ce87cd HLSL: Support register(..., spaceN) for setting the descriptor set. John Kessenich 2016-09-05 16:03:12 -06:00
  • e3218e270e HLSL: Accept layout(...) also as a post-decl. Issue #454. John Kessenich 2016-09-05 14:37:03 -06:00
  • 7735b94403 HLSL Non-Functional: Move to more robust capturing of postDecls into a qualifier. John Kessenich 2016-09-05 12:40:06 -06:00
  • b804de605c HLSL: Track binding numbers to struct instances; fixes issue #496. John Kessenich 2016-09-05 12:19:18 -06:00
  • 58d2843c6a Merge pull request #498 from amdrexu/bugfix John Kessenich 2016-09-05 11:35:34 -06:00
  • 64bcfdb632 Parser: Add 64-bit type conversion for specialization constant. Rex Xu 2016-09-05 16:10:14 +08:00
  • 7d01bd6f0b HLSL: Handle swizzles on vectors of size 1. Addresses issue #453. John Kessenich 2016-09-02 22:21:25 -06:00
  • 841db35bb3 HLSL: Fix issue #442, smear and truncate shape conversions for == and !=. John Kessenich 2016-09-02 21:12:23 -06:00
  • 07350f3382 HLSL: Handle "fake" entry points, by undoing their built-in variable declarations. John Kessenich 2016-09-02 20:23:27 -06:00
  • 9e079535a0 HLSL: Handle greater/less depth modes. Fixes issue #489. John Kessenich 2016-09-02 20:05:19 -06:00
  • a305166ea4 HLSL: Error if funcion with return type doesn't return a value. John Kessenich 2016-09-02 19:13:36 -06:00
  • 1a4b775cd5 HLSL: Correct line numbers for function definitions. John Kessenich 2016-09-02 19:05:24 -06:00
  • 4bf7155051 SPV: Flatten structs for copy when they are GLSL type aliases. John Kessenich 2016-09-02 11:20:21 -06:00
  • 31207bc20a Merge pull request #495 from steve-lunarg/remapper-tests-2 John Kessenich 2016-09-02 10:57:24 -06:00
  • 65564a4ad6 Remapper: move remapper tests into the glslangtests executable. steve-lunarg 2016-09-02 09:21:12 -06:00
  • f2b7f3353b SPV: Tighten up number of struct-types declared based on decoration. John Kessenich 2016-09-01 17:05:23 -06:00
  • 5e56423046 Front-ends: Remove now defunct afterEOF and related, use scanner's instead. John Kessenich 2016-08-31 13:43:51 -06:00
  • 830b0cc98b HLSL: Start location numbering with the entry-point return value. John Kessenich 2016-08-29 18:10:47 -06:00
  • a05d8b5604 HLSL: Remove recent change to put locations on SV_TARGET*. John Kessenich 2016-08-29 16:49:39 -06:00
  • 510d83b384 HLSL: Create test results for the previous commits. John Kessenich 2016-08-29 16:34:12 -06:00
  • 335fc28e76 Merge branch 'dankbaker-HLSL_Semantic_Mapping' John Kessenich 2016-08-29 16:08:22 -06:00
  • 81d4714908 Merge branch 'HLSL_Semantic_Mapping' of https://github.com/dankbaker/glslang into dankbaker-HLSL_Semantic_Mapping John Kessenich 2016-08-29 16:07:29 -06:00
  • a88ef3978d Merge pull request #490 from KhronosGroup/hlsl-output-return John Kessenich 2016-08-29 15:43:21 -06:00
  • 6f220c0fd1 HLSL: Setting SV_DEPTHGREATEREQUAL and SV_DEPTHLESSEQUAL to EbvFragDepth for now Dan Baker 2016-08-29 15:56:55 -04:00
  • 6fd31fd7e3 Merge branch 'hlsl-output-return' of github.com:KhronosGroup/glslang into hlsl-output-return John Kessenich 2016-08-28 20:13:36 -06:00
  • 6a70eb7161 HLSL: Emulate write-to-output on return-from-entry-point, for return value. John Kessenich 2016-08-28 15:00:23 -06:00
  • be2f6b05c3 HLSL: Emulate write-to-output on return-from-entry-point, for return value. John Kessenich 2016-08-28 15:00:23 -06:00
  • 81cd764b5f Non-functional: Add some missing const, related to signature selection. John Kessenich 2016-08-26 14:01:43 -06:00
  • 1389e3e63d Merge pull request #488 from antiagainst/c4996-warning John Kessenich 2016-08-26 13:16:30 -06:00
  • 424cf80f8b Disable C4996 (secure CRT) recommendation on Windows for strtok(). Lei Zhang 2016-08-26 14:43:14 -04:00
  • f00c245a5f Merge pull request #473 from steve-lunarg/remapper-tests John Kessenich 2016-08-26 11:32:54 -06:00
  • e3f2c8f98a HLSL: Include shape-changing conversions in overloaded signature selection. John Kessenich 2016-08-25 15:57:56 -06:00
  • 26aa8a4b16 HLSL: Format updates and some minor adjustments to SV_ handling Dan Baker 2016-08-25 17:13:25 -04:00
  • 90dd70f752 HLSL: Allow arbitrary baseType -> baseType conversion of calling arguments. John Kessenich 2016-08-25 10:49:21 -06:00
  • a8456415b8 WIP: SPV Remapper: add remapper test framework steve-lunarg 2016-08-17 16:18:06 -06:00
  • deec03cfca First stab at system value interpretation Dan Baker 2016-08-25 11:59:17 -04:00
  • 4c3a7fd100 Merge pull request #483 from steve-lunarg/precise-fix-2 John Kessenich 2016-08-25 09:32:19 -06:00
  • 36e87d0871 HLSL: add precise keyword steve-lunarg 2016-08-24 23:49:36 -06:00
  • fcc0aa3b64 HLSL: Switch to generic selector, but using GLSL #version 400 rules. John Kessenich 2016-08-24 18:34:43 -06:00
  • ab89bbe702 Merge branch 'overloaded-400' of github.com:KhronosGroup/glslang John Kessenich 2016-08-23 18:20:19 -06:00
  • 32c169dbdf Front-end: Warn for likely missed change in default precisions. John Kessenich 2016-08-03 17:35:19 -06:00
  • 54571c2519 Vulkan: Have desktop shaders respect precision qualifiers. John Kessenich 2016-08-03 16:41:53 -06:00
  • 4d535640e4 Front-End: Non-ES trigger for processing precision qualifiers. John Kessenich 2016-08-03 15:19:37 -06:00
  • 219b025d7e Non-functional: Fix commit 98f164ec48. John Kessenich 2016-08-23 17:51:13 -06:00
  • 98f164ec48 Merge pull request #461 from dankbaker/Error_Message_Fixes_for_HLSL John Kessenich 2016-08-23 17:48:14 -06:00
  • 6577a0e26c Merge pull request #476 from steve-lunarg/string-literals John Kessenich 2016-08-23 17:41:54 -06:00
  • 3de0a6d427 Merge pull request #477 from amdrexu/bugfix John Kessenich 2016-08-23 17:40:53 -06:00
  • 2bbbe0621d SPV: Some group invocation operations should be applied to scalars. Rex Xu 2016-08-23 15:41:05 +08:00
  • efe9724795 HLSL: Add EHTokStringConstant, so that string attributes may be parsed steve-lunarg 2016-08-22 16:13:47 -06:00
  • 370234888d Front-end: Add a function selector under implicit type conversion. John Kessenich 2016-08-19 07:31:31 -06:00
  • afe6e9c4fc HLSL and standalone, modifying Standalone to send filename as string source, and HLSL backend will use this to print a better error mesage when things fail dankbaker 2016-08-21 12:29:08 -04:00
  • 0a04b4df02 Front-end/Non-functional: Add some const/auto, useful for upcoming changes. John Kessenich 2016-08-19 07:27:28 -06:00
  • b9e39120b4 HLSL: Partially address issue #463: accept GLSL layout(...). John Kessenich 2016-08-17 10:22:08 -06:00
  • 78a8b0737c Merge pull request #471 from steve-lunarg/remapper-literal64-b John Kessenich 2016-08-17 09:23:46 -06:00
  • 811d9f4cad WIP: SPIRV remapper: allow 64 bit literals in OperandVariableLiteralId class iteration steve-lunarg 2016-08-17 08:33:49 -06:00
  • 057c01efb4 Merge pull request #467 from dankbaker/HLSL_Changing_defualt_language John Kessenich 2016-08-15 15:14:55 -06:00
  • 2c646b7afa Updating tests, sadly every single HLSL test needs updating becuase of the language identifier Dan Baker 2016-08-15 16:25:55 -04:00
  • 55d5f2d4df HLSL: Changing SPIRV source language to unkown Dan Baker 2016-08-15 16:05:45 -04:00
  • 15c0fbee32 Merge pull request #466 from baldurk/minor-msvc-warning-fix John Kessenich 2016-08-15 10:47:28 -06:00
  • 1eb1c11dea fix x64 warning about conversion size_t -> int baldurk 2016-08-15 18:01:15 +02:00
  • 7fb66097e1 Merge pull request #458 from dneto0/revert-remap-64bit-patch John Kessenich 2016-08-12 15:02:40 -06:00
  • b86e8b629a Revert "Merge pull request #456 from steve-lunarg/remapper-literal64" David Neto 2016-08-12 16:49:21 -04:00
  • ad08b30f69 Merge pull request #456 from steve-lunarg/remapper-literal64 John Kessenich 2016-08-12 11:33:19 -06:00
  • b249f2fc24 SPIRV: allow 64 bit literals in OperandVariableLiteralId class iteration. steve-lunarg 2016-08-11 21:07:45 -06:00
  • 28660bb580 Merge pull request #450 from dankbaker/standalone_change John Kessenich 2016-08-11 16:37:52 -06:00
  • 5afdd78131 Standalong: Changing -T to -S since it's a stage now instead of a target Dan Baker 2016-08-11 17:53:57 -04:00
  • 895275e357 Standalone: Changing some comments and user strings Dan Baker 2016-08-11 14:55:49 -04:00
  • c6ede8938a Changing target to stage Dan Baker 2016-08-11 14:06:06 -04:00
  • 359dcee715 Merge pull request #427 from wesleygriffin/master John Kessenich 2016-08-11 10:11:13 -06:00
  • 2c6038ecf1 Merge branch 'cpp-headers' John Kessenich 2016-08-11 10:00:57 -06:00
  • 10e0efeb42 Merge pull request #451 from steve-lunarg/stagemask-all John Kessenich 2016-08-11 09:58:01 -06:00
  • 61da5e41f7 HLSL: Put intrinsics in symbol table for all stages steve-lunarg 2016-08-11 07:29:30 -06:00
  • 0a6fb85494 Infrastructure: Make shared symbol-table cache complete, delete work around. John Kessenich 2016-08-09 19:15:17 -06:00
  • 0b5214486b Merge pull request #448 from steve-lunarg/promotions John Kessenich 2016-08-09 15:29:25 -06:00
  • c4a1307403 HLSL: add implicit promotions for assignments and function returns. steve-lunarg 2016-08-09 11:28:03 -06:00
  • 45d49bcd51 Allowing explicit specification of shader compiltion type via -T option, rather then looking at file extension. For HLSL files, this is nice because .hlsl extension is natively udnerstood by visual studio, likely to be used with the -e option. dankbaker 2016-08-08 21:43:07 -04:00
  • 426542ba57 Front-end: Fix issue #443: dvec3 uses only 2 components of second location. John Kessenich 2016-08-08 15:31:36 -06:00
  • 34177cd778 Tests: Test base case for fixing issue #443. John Kessenich 2016-08-08 14:11:28 -06:00
  • 4583b61e20 HLSL: Smear scalars to match vectors for relational operations. John Kessenich 2016-08-07 19:14:22 -06:00
  • 267590d452 Whitespace: Nonfunctional: fix inconsistent white space, esp. no tabs. John Kessenich 2016-08-05 17:34:34 -06:00
  • 5c72a73971 Merge pull request #436 from dankbaker/master John Kessenich 2016-08-05 17:29:43 -06:00
  • bbd1b0ef76 Tests: Add some location-decoration tests, to aid PR #422. John Kessenich 2016-08-05 15:19:46 -06:00
  • 66ec80e01b Build: C++ headers: Replace PR #366 with a more directed version. John Kessenich 2016-08-05 14:04:23 -06:00
  • 349ac3df86 Merge branch 'master' of https://github.com/dankbaker/glslang Dan Baker 2016-08-05 14:56:40 -04:00
  • c0962f1e90 Merge pull request #2 from KhronosGroup/master dankbaker 2016-08-05 14:55:44 -04:00
  • c7e501613a Commenting out attempt to parse DX9 samplers, since this is imcompatible with DX10+ shaders Dan Baker 2016-08-05 14:52:38 -04:00
  • 9f9bad09b4 PP: Add missing atoms that effect -E mode. John Kessenich 2016-08-04 22:46:19 -06:00
  • cfc5fbb967 Merge pull request #429 from steve-lunarg/samplers.sm5 John Kessenich 2016-08-03 14:35:07 -06:00
  • 7dfcf4d1ad HLSL: Add GatherRed/Green/Blue/Alpha methods, inc 4-offset forms steve-lunarg 2016-07-31 10:37:02 -06:00
  • 0e46eaef0e Merge pull request #1 from KhronosGroup/master dankbaker 2016-08-03 15:32:58 -04:00
  • 98a2e92f0c Merge pull request #431 from steve-lunarg/semicolon-fix John Kessenich 2016-08-03 12:07:45 -06:00
  • cb88de5e5e HLSL: allow semicolons between global scope declarations. steve-lunarg 2016-08-03 07:04:18 -06:00
  • f6640761c4 Front-end: Implement 2nd task of issue #400; precision of result and operation. John Kessenich 2016-08-01 19:44:00 -06:00
  • 6c136223ed Merge pull request #428 from dankbaker/master John Kessenich 2016-08-02 12:58:22 -06:00
  • b49806b0bf Fixing some casts that warn when compiled to 64 bit (size_t is 64 bit rather then 32 bit) Dan Baker 2016-08-02 14:42:43 -04:00
  • ac39cdc2f8 bump required CMake version down to 2.8.11 since no features are required in cmake>2.8.11 and this allows building on stock CentOS 7 Wesley Griffin 2016-08-01 15:36:15 -04:00
  • 1176530bf5 SPV: Prevent issue #415 with better semantic checking. John Kessenich 2016-07-31 12:39:46 -06:00