This website requires JavaScript.
f0bc598dd7
HLSL: Force flat interpolation for structure members. Fixes #940 .
John Kessenich
2017-06-20 13:19:53 -06:00
be1085cb88
Build: add switch default to make compilers happy
John Kessenich
2017-06-20 09:26:06 -06:00
fba125a988
Merge pull request #943 from xxxbxxx/for-upstream-1
John Kessenich
2017-06-20 08:59:50 -06:00
54596ff99e
HLSL: Force flat (nointerp) onto integer fragment inputs.
John Kessenich
2017-06-20 03:20:59 -06:00
b1d97537e8
hlsl: "in out" is also an inout qualifier.
xavier
2017-06-20 07:49:22 +02:00
f02c8e6ba1
Non-functional: Attempt to reset Travis error, while adding more nullptr use.
John Kessenich
2017-06-19 16:25:44 -06:00
2fcdd64e50
HLSL: Remove support for named tbuffer/cbuffer. Fixes #939 .
John Kessenich
2017-06-19 15:41:11 -06:00
054378d988
HLSL: Non-functional: Make test valid HLSL, and related comments/cleanup.
John Kessenich
2017-06-19 15:13:26 -06:00
e2ff404f6b
Merge pull request #917 from KhronosGroup/remove-redundant-locations
John Kessenich
2017-06-15 12:11:37 -06:00
f790b16170
Tests: Fix missing test result.
John Kessenich
2017-06-15 11:10:57 -06:00
a931366f56
Standalone: Implement -D and -U for preprocessor macros.
John Kessenich
2017-06-15 10:40:49 -06:00
04acb1b7c9
Standalone: Rationalize ShaderCompUnit and file data.
John Kessenich
2017-06-14 17:36:50 -06:00
6263fb19fb
Infrastructure: Rationalize command-line options.
John Kessenich
2017-06-14 15:52:44 -06:00
2d46e73b35
Merge pull request #931 from LoopDawg/scalar-mat-assign
John Kessenich
2017-06-14 15:02:01 -06:00
e2713125b9
HLSL: fix several issues in mat construction from scalars
LoopDawg
2017-06-09 14:36:46 -06:00
f7cd88a2b5
Merge pull request #937 from amdrexu/bugfix
John Kessenich
2017-06-14 10:05:19 -06:00
301a2bc8a7
SPV: Fix an typo of SPV_AMD_texture_gather_bias_lod
Rex Xu
2017-06-14 23:09:39 +08:00
82ae8c31e0
HLSL: Fix #924 : Convert between two different arrays with cast.
John Kessenich
2017-06-13 23:13:10 -06:00
0320d090e2
HLSL: Recognize types declared as identifiers as identifiers.
John Kessenich
2017-06-13 22:22:52 -06:00
91c46c6567
Merge pull request #932 from LoopDawg/warning-fix-1
John Kessenich
2017-06-12 10:41:54 -06:00
1892886ae1
HLSL: compilation warning fix: no functional change
LoopDawg
2017-06-10 07:42:03 -06:00
5ea6a192f0
Merge branch 'amdrexu-feature'
John Kessenich
2017-06-09 12:51:03 -06:00
cabbb788b4
Implement extension GL_AMD_gpu_shader_int16
Rex Xu
2017-03-24 13:41:14 +08:00
4d5bcd3162
HLSL: Allow macro expansions to create the 'defined' operator.
John Kessenich
2017-06-08 17:12:56 -06:00
3fcb42cfa6
GLSL: Fix #853 : Only outer dimension of array can be specialization constant.
John Kessenich
2017-06-08 12:26:49 -06:00
d314ecfbe3
GLSL: Correct missing "not" from error message about non writeonly images.
John Kessenich
2017-06-08 10:36:45 -06:00
dd56173d04
GLSL: Disallow 'shared' in nested scopes.
John Kessenich
2017-06-08 10:13:15 -06:00
c5f2ab965f
GLSL: Disallow unsized arrays of atomic_uint.
John Kessenich
2017-06-08 10:07:14 -06:00
885443c788
Build: reset for multi-threaded test error, that reported a single missing character.
John Kessenich
2017-06-07 19:03:11 -06:00
14d65beb06
GLSL: Fix Khronos private Bugzilla 15973: local sizes can't be 0.
John Kessenich
2017-06-07 18:53:33 -06:00
2eb135506a
GLSL: Fix #396 : Error when 'defined' comes from macro expansion.
John Kessenich
2017-06-07 17:15:38 -06:00
65755667d5
Merge pull request #922 from KhronosGroup/dash-I
John Kessenich
2017-06-07 16:04:29 -06:00
971a0a8d2d
Infrastructure: add include search paths (-I, etc.).
John Kessenich
2017-06-07 15:06:58 -06:00
96f65521b4
HLSL: Implement half matrices, and map all half* -> float*.
John Kessenich
2017-06-06 23:35:25 -06:00
f6deacd579
HLSL: Track control-flow nesting and warn on aliasing under it.
John Kessenich
2017-06-06 19:52:55 -06:00
9b2531ba23
Infrastructure: Move nesting counters, etc., to base class.
John Kessenich
2017-06-06 19:19:45 -06:00
b4d46627cb
Build: Fix build warnings.
John Kessenich
2017-06-06 18:31:47 -06:00
a83959fab1
Merge pull request #920 from jeremy-lunarg/jeremy-build
John Kessenich
2017-06-06 16:27:34 -06:00
549764b5ec
Build: Fix linux
Jeremy Hayes
2017-06-06 12:03:54 -06:00
0e07119ae2
HLSL: Fix #919 : for-init-statement is arbitrary declaration or expression.
John Kessenich
2017-06-06 11:37:33 -06:00
e00e8f45a6
GLSL: replace general missing functionality with specific messages.
John Kessenich
2017-06-05 16:42:33 -06:00
21369c825a
Merge pull request #912 from amdrexu/feature
John Kessenich
2017-06-05 09:08:12 -06:00
225e0fcadd
Implement the extension GL_AMD_texture_gather_bias_lod
Rex Xu
2016-11-17 17:47:59 +08:00
7cdf3fc3c6
Replace #422 : Remove the redundant location setting in AST->SPIR-V.
John Kessenich
2017-06-04 13:22:39 -06:00
94c18a84cd
GLSL: Fix bug setting component=0 for an auto-location assignment.
John Kessenich
2017-06-04 13:17:20 -06:00
8de7e7bf14
GLSL: Error when using location on an arrayed block.
John Kessenich
2017-06-04 13:05:50 -06:00
99f289d438
Merge pull request #899 from antiagainst/rm-empty-cpps
John Kessenich
2017-06-03 15:29:06 -06:00
0b94a31ee9
Merge pull request #915 from LoopDawg/subvec4-intrinsic
John Kessenich
2017-06-03 15:28:11 -06:00
70942e5f84
Merge pull request #905 from KhronosGroup/flatten-opaque-structs
John Kessenich
2017-06-02 18:48:26 -06:00
f31507421b
HLSL: Convert run-time sampler assignments to compile-time aliases.
John Kessenich
2017-06-02 16:28:39 -06:00
750c2d07f7
SPV: When passing structs of opaque types, flatten and pass the members instead.
John Kessenich
2017-05-26 00:01:36 -06:00
d66c5b1299
HLSL: iomapper: Fix #914 . Tolerate user aliasing of bindings.
John Kessenich
2017-06-01 18:16:33 -06:00
a696fd1a44
HLSL: add test coverage for sub-vec4 texture intrinsics
LoopDawg
2017-06-01 13:10:25 -06:00
ae99875e42
Merge pull request #907 from KhronosGroup/include
John Kessenich
2017-06-01 12:37:52 -06:00
5052152eef
Merge pull request #913 from amdrexu/bugfix
John Kessenich
2017-06-01 12:36:21 -06:00
3494b4da9b
HLSL: Add an Includer to handle #include.
John Kessenich
2017-05-22 15:00:42 -06:00
0848cc0725
Parser: Add missing codes for float16
Rex Xu
2017-06-01 19:58:54 +08:00
44d2728e3d
Merge pull request #911 from KhronosGroup/debug-info
John Kessenich
2017-05-31 22:47:28 -06:00
e485c7af58
SPV: Debug output: Include OpLine information for execution path.
John Kessenich
2017-05-31 18:50:53 -06:00
121853f4df
SPV: Add OpSource shader source code and file name.
John Kessenich
2017-05-31 17:11:16 -06:00
136b1e2d5d
Merge pull request #856 from TiemoJung/texture_upgrade
John Kessenich
2017-05-29 11:40:43 -06:00
baf570efa5
Pure Texture to Sampled Texture Transform
t.jung
2017-04-25 23:31:03 +02:00
d6af18f621
Merge pull request #901 from LoopDawg/imat-construct
John Kessenich
2017-05-24 23:12:58 -06:00
7c9129bcb7
SPV: Fix #904 : Correctly check for built-in block redeclations for location check.
John Kessenich
2017-05-24 23:10:28 -06:00
84cc15f0d0
HLSL: Fix #903 : Don't short-circuit && or ||.
John Kessenich
2017-05-24 16:44:47 -06:00
6e2295d340
HLSL: Fix #902 : Incorrect protection against zero arguments.
John Kessenich
2017-05-24 16:02:56 -06:00
174ccb8f1d
HLSL: Add imat, umat, and bmat constructors
LoopDawg
2017-05-20 21:40:27 -06:00
2c6f48b1f6
Fix #373 : Implicitly make gl_FragColor a location=0 output.
John Kessenich
2017-05-20 13:23:25 -06:00
1d585ac8bd
SPV: Correctly enforce 'location' presence on in/out blocks.
John Kessenich
2017-05-20 12:14:13 -06:00
557caf2401
Merge pull request #900 from LoopDawg/tx-overloads
John Kessenich
2017-05-20 11:33:54 -06:00
7b8c386c5d
More non-determinism fixed.
John Kessenich
2017-05-19 23:44:51 -06:00
b6cabc4f24
Fix C++ portability, non-deterministic order of argument evaluation.
John Kessenich
2017-05-19 23:29:50 -06:00
80f92a190a
Fix #857 : Convert uniform int to local bool for struct alias assignment.
John Kessenich
2017-05-19 23:00:13 -06:00
0d2b4713c5
HLSL: Don't do logical short-circuits when the operands are bool-vectors.
John Kessenich
2017-05-19 20:19:00 -06:00
132a28aac4
HLSL: allow name mangling based on texture template type
LoopDawg
2017-05-18 17:43:08 -06:00
ddda9cb8ee
Remove empty cpp files
Lei Zhang
2017-05-19 16:59:24 -04:00
ab0847ef01
Merge pull request #896 from KhronosGroup/spv-location
John Kessenich
2017-05-18 21:12:04 -06:00
ff164d87f1
Merge pull request #897 from LoopDawg/remap-specconstop-fix.2
John Kessenich
2017-05-18 18:19:12 -06:00
65c2eed65d
Remapper: handle embedded opcode in OpSpecConstantOp
LoopDawg
2017-05-18 16:13:04 -06:00
71facdf435
SPV: Give error on not assigning locations to I/O.
John Kessenich
2017-05-17 18:28:19 -06:00
24e895b4a3
Merge pull request #860 from steve-lunarg/sb-counter-args.2
John Kessenich
2017-05-17 10:55:22 -06:00
09a29d9b1a
Merge pull request #893 from KhronosGroup/member-call
John Kessenich
2017-05-17 09:25:57 -06:00
2bb1f39fa7
WIP: HLSL: add ability to pass struct buffers with counters to fns
steve-lunarg
2017-04-27 11:22:32 -06:00
0a2a0cd3a4
HLSL: Implement member functions calling member functions.
John Kessenich
2017-05-16 23:16:26 -06:00
b29cc30cdb
Merge pull request #852 from steve-lunarg/declared-builtin
John Kessenich
2017-05-16 10:38:32 -06:00
a4bfed129f
WIP: track declared builtin type [proposal]
steve-lunarg
2017-04-23 19:44:28 -06:00
1a010b8368
Merge pull request #890 from LoopDawg/mip-operator
John Kessenich
2017-05-15 09:39:15 -06:00
726bf96a72
HLSL: add .mips[][] operator for texture types
LoopDawg
2017-05-12 17:14:31 -06:00
c70bbc831c
Merge pull request #889 from antiagainst/travis-android
John Kessenich
2017-05-13 16:03:12 -06:00
b21213e893
Check Android build on Travis CI.
Lei Zhang
2017-05-13 14:26:30 -04:00
ef7efb21ca
Merge pull request #888 from LoopDawg/geometry-stage-mix
John Kessenich
2017-05-13 12:54:08 -06:00
c6510a33ff
HLSL: allow GS-specific methods in other stages
LoopDawg
2017-05-13 09:20:11 -06:00
c49b4efa91
HLSL: Fix #884 : Use promoted children, not pre-promoted, in completing binary nodes.
John Kessenich
2017-05-12 15:25:41 -06:00
c48c8e76e1
Merge pull request #886 from antiagainst/unordered-set
John Kessenich
2017-05-12 14:53:06 -06:00
2840f63fbc
Use unordered_set in ReadableOrderTraverser.
Lei Zhang
2017-05-11 20:46:01 -04:00
d9b08d5c3d
Merge pull request #880 from aras-p/master
John Kessenich
2017-05-10 11:11:44 -06:00
02c4728a83
Merge pull request #874 from xlpiao/DescriptorSet-and-Binding
John Kessenich
2017-05-10 11:10:53 -06:00
23d3c712bc
[lumped builds] Add include guards (#pragma once) to header files that did not have any.
Aras Pranckevicius
2017-05-10 16:58:38 +03:00
8e204b2d67
[lumped builds] Only define _CRT_SECURE_NO_WARNINGS if it’s not defined yet. When glslang is built with some other build system and lumped/unity builds are used, without the checks this would get “macro is being redefined” warnings/errors.
Aras Pranckevicius
2017-05-10 16:52:50 +03:00
36dc82908f
HLSL: Manually configure descriptor set and binding number for resources
Hyangran Park
2017-05-02 16:27:29 +09:00