This website requires JavaScript.
72df15061d
CompilerMSL do not clear used_by_shader flag of contextual vertex attributes and resource bindings.
Bill Hollings
2016-12-04 21:57:29 -0500
aca1b55449
MSL sort interface struct members by offset instead of location.
Bill Hollings
2016-12-04 12:32:58 -0500
b9600aa8d3
Only dump block size for blocks which have a physical size.
Hans-Kristian Arntzen
2016-11-29 09:04:28 +0100
740fce8ebd
Merge pull request #77 from KhronosGroup/nested-struct-fix
Hans-Kristian Arntzen
2016-11-28 15:39:15 +0100
2d79d365dc
Fix get_declared_struct_size for nested arrays of structs.
Hans-Kristian Arntzen
2016-11-28 15:01:36 +0100
d14a29f893
Merge pull request #76 from brenwill/master
Hans-Kristian Arntzen
2016-11-28 14:35:16 +0100
c2e6013f4b
CompilerMSL supports promoting unnamed global vars to function args. CompilerMSL use correct MSL type name for 3D textures.
Bill Hollings
2016-11-27 15:00:06 -0500
c5c073699e
CompilerMSL fix func_call_arg() cast error when not passed SPIRVariable type. CompilerGLSL allow retrieval of partial source if an error occurs.
Bill Hollings
2016-11-27 12:34:04 -0500
9075262787
Use -D__STDC_LIMIT_MACROS.
Hans-Kristian Arntzen
2016-11-25 23:38:57 +0100
70ea5a6469
Updated Android build
rob
2016-11-25 13:22:11 +0900
43020e2f74
Merge pull request #73 from luboslenco/master
Hans-Kristian Arntzen
2016-11-22 08:19:39 +0100
0028b4f278
Legacy GL_ARB_shader_texture_lod support.
Lubos Lenco
2016-11-21 22:37:20 +0100
7630d3cc9c
MSVC maintenance.
Hans-Kristian Arntzen
2016-11-21 12:14:02 +0100
810fa633d0
Merge pull request #71 from KhronosGroup/cfg-analysis
Hans-Kristian Arntzen
2016-11-21 09:11:54 +0100
69761cc80f
Merge pull request #72 from cdwfs/python3
Hans-Kristian Arntzen
2016-11-19 11:37:23 +0100
ffb6613482
Fixed python3 detection for spirv-cross-test.
Cort
2016-11-18 14:02:48 -0800
b847c88559
Cleanup, and make cfg analysis optional.
Hans-Kristian Arntzen
2016-11-18 17:06:49 +0100
5ff11cc689
Handle more corner cases with the CFG traversal.
Hans-Kristian Arntzen
2016-11-18 16:45:11 +0100
0c9683cd85
Distinguish between cross edges and back edges.
Hans-Kristian Arntzen
2016-11-18 09:59:54 +0100
edbe867b74
Improve handling of dead blocks.
Hans-Kristian Arntzen
2016-11-17 22:15:07 +0100
dad4a34072
Start adding CFG analysis.
Hans-Kristian Arntzen
2016-11-11 18:04:14 +0100
f7ce25b6c2
Add some documentation for HLSL.
Hans-Kristian Arntzen
2016-11-13 11:24:13 +0100
67aad48e50
Run format.sh.
Hans-Kristian Arntzen
2016-11-12 10:04:50 +0100
526d06d0a4
Add more descriptive error message.
Hans-Kristian Arntzen
2016-11-12 10:03:18 +0100
81c3caeeca
Merge pull request #67 from brenwill/master
Hans-Kristian Arntzen
2016-11-11 09:20:09 +0100
23ff950390
When flattening global structs for MSL, don't qualify names of built-in members.
Bill Hollings
2016-11-10 21:07:50 -0500
8199986c0e
Merge pull request #64 from brenwill/master
Hans-Kristian Arntzen
2016-10-28 09:09:35 +0200
2f68ea39f1
Merge upstream.
Bill Hollings
2016-10-27 19:03:01 -0400
f5f910483b
Support MSL-specific functions.
Bill Hollings
2016-10-27 18:47:17 -0400
03abf6a534
Fix formatting after merge.
Hans-Kristian Arntzen
2016-10-27 16:27:15 +0200
75c2285f6e
Merge branch 'master' of git://github.com/brenwill/SPIRV-Cross
Hans-Kristian Arntzen
2016-10-27 16:26:00 +0200
943191a1c8
Compliance fixes for pull request.
Bill Hollings
2016-10-27 10:20:01 -0400
48636b4af8
Fix style nits from last merge.
Hans-Kristian Arntzen
2016-10-27 13:55:47 +0200
376f19cf61
Merge branch 'master' of git://github.com/baszalmstra/SPIRV-Cross
Hans-Kristian Arntzen
2016-10-27 13:53:22 +0200
e042eab551
Changed keywords to const static unordered_set and indented the keywords
Bas Zalmstra
2016-10-27 13:48:15 +0200
f537adf6e9
Added all glsl reserved keywords to replace_illegal_names
Bas Zalmstra
2016-10-27 12:51:22 +0200
ac00c6032f
Run clang-format.
Bill Hollings
2016-10-24 09:24:24 -0400
0943d9fece
MoltenVK shader converter handle missing names.
Bill Hollings
2016-10-23 21:42:54 -0400
9577568d56
Corrects some problems converting to compilable MSL from SPIRV. A better solution is to refactor the glsl compiler base-class so some keywords and actions can be overridden, and then the msl subclass can override them - this is a quick & dirty solution. - adds some common macros that correct for intrinsic differences - adds some inline functions to adapt for GLSL terms - injects structure member names when the original SPV has been stripped - there is another way to use the correct temporarily assigned member name, but using m_<id> based on the inside SPV code yields metal code that more correctly maps to the original SPV opcodes/slots.
Nathaniel Brown
2016-10-21 13:48:21 -0700
a759e2c872
Merge Brenwill fork with upstream.
Bill Hollings
2016-10-19 14:09:51 -0700
206cb9157c
Handle interpolation qualifiers inside IO blocks.
Hans-Kristian Arntzen
2016-10-07 16:27:39 +0200
a2d2d2e6fb
Merge git://github.com/Kangz/SPIRV-Cross
Hans-Kristian Arntzen
2016-10-05 23:21:26 +0200
ef9ee49276
Fix compilation on some old C++11 standard libraries.
Corentin Wallez
2016-10-05 13:01:31 -0400
f10fbc8131
Split CMake build into separate static libs.
Hans-Kristian Arntzen
2016-10-05 21:43:04 +0200
301e981203
Merge pull request #60 from KhronosGroup/spec-constant
Hans-Kristian Arntzen
2016-10-03 17:33:28 +0200
253b15ff0c
Remove fixed FIXME.
Hans-Kristian Arntzen
2016-10-03 17:25:20 +0200
5d4bb687bc
Support arrays which have spec constant size.
Hans-Kristian Arntzen
2016-10-03 17:17:11 +0200
7e8afa872b
Implement OpSpecConstantOp.
Hans-Kristian Arntzen
2016-10-03 15:54:02 +0200
081620f811
Emit spec constants directly with Vulkan semantics.
Hans-Kristian Arntzen
2016-10-03 12:52:56 +0200
6bd545bc6b
Basic support for specialization constant reflection.
Hans-Kristian Arntzen
2016-09-17 15:16:07 +0200
48ca43c8e0
Merge pull request #59 from h3xl3r/master
Hans-Kristian Arntzen
2016-10-01 09:37:32 +0200
8bdc4060e8
MSL: Add color attribute qualifiers to fragment function outputs
rob
2016-10-01 15:46:43 +0900
25c4467a10
Add tests for all geometry shader primitive types.
Hans-Kristian Arntzen
2016-09-28 08:23:21 +0200
f3220833e8
Fix triangle mode in tessellation output.
Hans-Kristian Arntzen
2016-09-28 08:12:04 +0200
6204d8e45d
Move static extension checking out to appropriate method.
Hans-Kristian Arntzen
2016-09-23 14:21:30 +0200
18129663d9
Run format.sh.
Hans-Kristian Arntzen
2016-09-21 08:20:16 +0200
62d223adda
Comment the workaround for layout_for_variable.
Hans-Kristian Arntzen
2016-09-21 08:20:04 +0200
64f62e53ce
Merge branch 'master' of git://github.com/h3xl3r/SPIRV-Cross
Hans-Kristian Arntzen
2016-09-21 08:17:02 +0200
ace1911bd4
No layout qualifiers for versions that can't support GL_ARB_shading_language_420pack
rob
2016-09-21 13:20:28 +0900
42fe8c31f1
Do not add layout qualifiers to variables for GLSL versions that don't support it
rob
2016-09-18 13:18:33 +0900
4d4e6d7a41
Document variable type remap interface a bit more.
Hans-Kristian Arntzen
2016-09-20 10:55:09 +0200
66e76d903f
Add support of variable type remapping
Panagiotis Christopoulos Charitos
2016-09-20 10:17:41 +0200
394521b287
Workaround compiler crash in VS 2013.
Hans-Kristian Arntzen
2016-09-19 13:17:04 +0200
6cc9624e88
Run format.sh.
Hans-Kristian Arntzen
2016-09-17 18:46:10 +0200
64a2803dec
Merge pull request #53 from luboslenco/master
Hans-Kristian Arntzen
2016-09-17 18:45:01 +0200
30dfd0d9b7
Clean up.
Lubos Lenco
2016-09-17 18:42:38 +0200
1caaf2bba6
Typo.
Lubos Lenco
2016-09-17 15:59:41 +0200
521586445f
Clean up.
Lubos Lenco
2016-09-17 15:56:23 +0200
80c394160a
Legacy GLES extensions.
Lubos Lenco
2016-09-17 14:33:16 +0200
b812cec992
Merge pull request #52 from h3xl3r/master
Hans-Kristian Arntzen
2016-09-17 14:20:52 +0200
691072894f
Reset MSL sequential resource binding EACH pass
Rob Fischer
2016-09-17 18:30:58 +0900
2199063e3c
For arrayed textures in GLSL < 130, require GL_EXT_texture_array and emit correct texture lookup function names
Rob Fischer
2016-09-17 17:01:50 +0900
5fa4bc6874
Merge pull request #51 from h3xl3r/master
Hans-Kristian Arntzen
2016-09-17 08:46:29 +0200
e2a37b6301
Emit header_lines for MSL also
Rob Fischer
2016-09-17 12:21:37 +0900
f1079941c4
Merge pull request #50 from h3xl3r/master
Hans-Kristian Arntzen
2016-09-16 08:03:17 +0200
3e45786fbc
Correct vector's size begin checked
Rob Fischer
2016-09-16 09:14:22 +0900
706d3ead29
Always run spirv-val for SPIR-V files created.
Hans-Kristian Arntzen
2016-09-12 20:11:30 +0200
88681fd7fd
Struct packing test now works again in glslang.
Hans-Kristian Arntzen
2016-09-12 19:39:43 +0200
41f9fd9ef0
Merge pull request #48 from KhronosGroup/combined-image-samplers
Hans-Kristian Arntzen
2016-09-11 19:18:17 +0200
378fbe8b92
Consistently use "image" nomenclature for separate images.
Hans-Kristian Arntzen
2016-09-11 13:47:06 +0200
3c5f55cde1
Add special test for more coverage in combined image sampler.
Hans-Kristian Arntzen
2016-09-11 13:41:38 +0200
50839910a2
Separate image samplers are compatible now.
Hans-Kristian Arntzen
2016-09-11 13:26:03 +0200
fab9ee8adf
Update separate sampler test.
Hans-Kristian Arntzen
2016-09-11 13:23:38 +0200
b4c67dafdd
Pass down combined samplers to callees.
Hans-Kristian Arntzen
2016-09-11 13:20:35 +0200
bff273636f
Skip arguments if necessary.
Hans-Kristian Arntzen
2016-09-11 13:05:44 +0200
313cb5f820
Declare shadow arguments.
Hans-Kristian Arntzen
2016-09-11 12:54:08 +0200
948930b171
Build new IDs for shadow arguments.
Hans-Kristian Arntzen
2016-09-11 12:36:12 +0200
a5f0abdc11
Use the "SPIRV_Cross" naming scheme for generated uniforms.
Hans-Kristian Arntzen
2016-09-11 12:13:31 +0200
dfb6597ee4
Begin redirecting separate params to other params.
Hans-Kristian Arntzen
2016-09-11 12:05:20 +0200
ed98a8ec86
Begin implementing parameter remapping for combined image sampler.
Hans-Kristian Arntzen
2016-09-11 11:39:20 +0200
901b45e09a
Fix remap_parameter.
Hans-Kristian Arntzen
2016-09-10 22:21:57 +0200
dd1513b814
Trace usage of image/sampler variants through calls.
Hans-Kristian Arntzen
2016-09-10 21:52:22 +0200
14bc1ffed8
Correctly emit variable declarations for combined image samplers.
Hans-Kristian Arntzen
2016-09-10 18:07:52 +0200
71bacc4469
Basic combined image sampler emulation hooked up.
Hans-Kristian Arntzen
2016-09-10 17:48:52 +0200
1b5ca8d868
Move combined image hiding logic into is_hidden.
Hans-Kristian Arntzen
2016-09-10 16:20:19 +0200
bcb5560109
Sketch out interface for combined image samplers.
Hans-Kristian Arntzen
2016-09-10 13:56:36 +0200
e92020819e
Add reflection support for separate textures and samplers.
Hans-Kristian Arntzen
2016-09-10 13:05:35 +0200
32b463f740
Only check for image load/store if sampling type is 2.
Hans-Kristian Arntzen
2016-09-10 13:00:07 +0200
b6847168b2
Update test suite for latest glslang.
Hans-Kristian Arntzen
2016-09-10 12:52:23 +0200
b4ce4e4b2f
MSL handle input structs originating from HLSL.
Bill Hollings
2016-08-31 22:51:51 -0400
cf476f36d1
Merge MSL with upstream.
Bill Hollings
2016-08-31 21:00:56 -0400
bf41aeccb3
Merge pull request #45 from KhronosGroup/eliminate-dead-variables
Hans-Kristian Arntzen
2016-08-26 13:54:14 +0200
885c24fab5
Use correct types in C++ in/out variables.
Hans-Kristian Arntzen
2016-08-26 13:43:21 +0200
f61a5d1e5d
Implement dead variable elimination.
Hans-Kristian Arntzen
2016-08-26 12:58:50 +0200
bd5eb1d2c6
Merge pull request #42 from KhronosGroup/legacy-frag-data-fix
Hans-Kristian Arntzen
2016-08-18 13:06:44 +0200
6ae838c192
Fix legacy GLSL output with gl_FragData.
Hans-Kristian Arntzen
2016-08-18 12:55:19 +0200
1a48d7d4fc
Output code for OpFMod in HLSL when required
Robert Konrad
2016-08-18 12:54:22 +0200
8e9bf1f7af
Implement some common GLSL lib insts in HLSL
Robert Konrad
2016-08-18 12:40:35 +0200
7534b224d9
Add remaining matrix multiplication ops for HLSL
Robert Konrad
2016-08-18 11:45:50 +0200
f3740a00ee
Support HLSL shader models > 3
Robert Konrad
2016-08-18 00:51:12 +0200
15679c724f
Range check Compiler::get_member_decoration.
Hans-Kristian Arntzen
2016-08-17 11:35:34 +0200
95a716f7de
Adjust HLSL vertex shader positions
Robert Konrad
2016-08-16 00:27:39 +0200
a896868215
Sort variables in HLSL input/output structs
Robert Konrad
2016-08-15 20:33:10 +0200
da5f99bb6d
Handle matrix times vector ops correctly in HLSL
Robert Konrad
2016-08-14 23:54:51 +0200
d2b29c900e
Add basic HLSL texture support
Robert Konrad
2016-08-14 23:09:06 +0200
e9cd04e8ec
Format code
Robert Konrad
2016-08-14 22:02:38 +0200
80fcf554f9
Handle HLSL input/output
Robert Konrad
2016-08-14 21:33:32 +0200
096d46f62c
Start supporting proper HLSL type names
Robert Konrad
2016-08-14 20:28:52 +0200
02fd8e92ab
Use input/output structs for HLSL
Robert Konrad
2016-08-14 17:58:56 +0200
45270f618f
Start on HLSL using a CompilerGLSL descendant
Robert Konrad
2016-08-14 16:21:43 +0200
1c78f353a4
Merge pull request #39 from KTXSoftware/master
Hans-Kristian Arntzen
2016-08-13 23:41:50 +0200
3a40860869
Remove unused variable in replace_illegal_names
Robert Konrad
2016-08-13 22:56:53 +0200
866cb014d1
Never try to rename remapped variables
Robert Konrad
2016-08-13 22:56:08 +0200
0eb89ecce0
Fix mistaken nullptr returned instead of empty string.
Hans-Kristian Arntzen
2016-08-13 10:31:01 +0200
7693656d68
Change variable names beginning with gl_ in GLSL
Robert Konrad
2016-08-13 00:14:52 +0200
b34a0067a2
Merge pull request #36 from KTXSoftware/master
Hans-Kristian Arntzen
2016-08-12 11:52:11 +0200
8f7c1af046
Do not try to pump OpLine instructions into a block
Robert Konrad
2016-08-10 02:43:51 +0200
0dfeabc6d2
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
Bill Hollings
2016-08-01 15:38:57 -0400
85fb618f96
Merge pull request #35 from KhronosGroup/multiple-entry-points-impl
Hans-Kristian Arntzen
2016-07-29 08:03:49 +0200
042475e88e
Add support for multiple entry points.
Hans-Kristian Arntzen
2016-07-28 11:16:02 +0200
121f69927a
Merge pull request #33 from KhronosGroup/fp64
Hans-Kristian Arntzen
2016-07-27 11:32:27 +0200
fc2230ffff
Add support for int64/uint64 in GLSL.
Hans-Kristian Arntzen
2016-07-27 11:27:00 +0200
fa0255c43b
Add support for FP64 in GLSL.
Hans-Kristian Arntzen
2016-07-27 10:59:00 +0200
7c255dde4d
Merged with upstream
Bill Hollings
2016-07-24 22:40:20 -0700
81d00da573
Implement OpImageQueryLevels.
Hans-Kristian Arntzen
2016-07-19 09:28:32 +0200
1b4f7662d3
Add support for OpImageQueryLod.
Hans-Kristian Arntzen
2016-07-19 09:22:54 +0200
5c24d99ff2
Add distinction between type_id and base_type_id in resource interface.
Hans-Kristian Arntzen
2016-07-12 21:20:18 +0200
7d8add33e4
Avoid conflict with C99 keyword.
Hans-Kristian Arntzen
2016-07-12 15:00:10 +0200
36a0b63f28
Fix various corner cases with expression dependencies.
Hans-Kristian Arntzen
2016-07-12 14:33:04 +0200
2bfe98c35d
Fix image-format test to use desktop extension.
Hans-Kristian Arntzen
2016-07-12 09:37:31 +0200
606ecce0f1
Handle all desktop image formats.
Hans-Kristian Arntzen
2016-07-12 09:35:15 +0200
3265e1fc3f
Implement subpassInputMS loading.
Hans-Kristian Arntzen
2016-07-11 13:36:11 +0200
7af13b68d5
Support ImageRead/Write on multisampled images.
Hans-Kristian Arntzen
2016-07-11 13:25:37 +0200
2c7d2e4d3c
Implement OpImageQuerySamples.
Hans-Kristian Arntzen
2016-07-11 12:47:46 +0200
c45e74f1c0
MSL support global input vars as automatic function args.
Bill Hollings
2016-07-08 12:39:22 -0400
416566bab6
Throw if word count of SPIR-V instruction is 0.
Hans-Kristian Arntzen
2016-07-08 10:47:03 +0200
65cc931da0
MSL support textures and samplers as global function args.
Bill Hollings
2016-07-06 21:47:42 -0400
b321b83c8f
MSL support textures and samplers as function args.
Bill Hollings
2016-07-06 20:30:47 -0400
14f4339b1c
Merge upstream.
Bill Hollings
2016-07-06 17:10:42 -0400
fe8b8604bc
For MSL, extract global var refs from within functions and convert them to function args.
Bill Hollings
2016-07-06 16:55:45 -0400
cc3aba52ba
Merge pull request #27 from KhronosGroup/remap-variables
Hans-Kristian Arntzen
2016-07-06 11:32:56 +0200
c972894cea
Be less conservative about which names are reserved.
Hans-Kristian Arntzen
2016-07-06 11:19:20 +0200
078eec5894
Add support for generic remapping of variables.
Hans-Kristian Arntzen
2016-07-06 11:04:06 +0200
8e63c770da
Add explicit support for remapping variables.
Hans-Kristian Arntzen
2016-07-06 09:58:01 +0200
d5dc5f3f1c
Fix issue with new glslang behavior for samplers as parameters.
Hans-Kristian Arntzen
2016-07-05 13:21:26 +0200
a81d664d4e
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
Bill Hollings
2016-07-04 11:50:52 -0400
8f2dec358c
Add support for BuiltInFragCoord (changed from BuiltInSamplePosition).
Bill Hollings
2016-07-04 11:49:46 -0400
3c285a15e0
Add support for reflecting execution modes.
Hans-Kristian Arntzen
2016-07-04 13:30:05 +0200
0a8894af5f
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
Bill Hollings
2016-06-27 16:25:43 -0400
05a97883d2
Don't emit invocation layout for invocations == 1.
Hans-Kristian Arntzen
2016-06-23 13:42:59 +0200
4bb9f092ab
Only split expression in OpCompositeExtract if we forward the temporary.
Hans-Kristian Arntzen
2016-06-23 12:11:36 +0200
9d4360fddf
Fix sampler2DMS texelFetch.
Hans-Kristian Arntzen
2016-06-22 12:35:58 +0200
449335fd34
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
Bill Hollings
2016-06-13 19:49:43 -0400
5f629276a7
Use Boolean instead of Bool.
Hans-Kristian Arntzen
2016-06-05 20:13:45 +0200
691844f9d7
Support builtin inputs glVertexIndex, glVertexID, glInstanceIndex and glInstanceID even if they are not identified in the SPIR-V.
Bill Hollings
2016-05-31 20:27:13 -0400
81a8fc1952
Add support for OpQuantizeF16.
Hans-Kristian Arntzen
2016-05-31 16:56:15 +0200
c172a3507c
Add support for custom C++ interface names.
Hans-Kristian Arntzen
2016-05-30 21:45:16 +0200
5bfbe0dc36
Add C++ samples to format_all script.
Hans-Kristian Arntzen
2016-05-30 21:34:18 +0200
b96c3b002e
Merge pull request #16 from KhronosGroup/cpp-examples
Hans-Kristian Arntzen
2016-05-30 21:31:43 +0200
7620c65ed2
Add shared memory C++ sample.
Hans-Kristian Arntzen
2016-05-25 08:56:03 +0100
8471ad55b2
Add atomics C++ sample.
Hans-Kristian Arntzen
2016-05-25 08:40:02 +0100
1b5cef5f0e
Add first C++ backend sample.
Hans-Kristian Arntzen
2016-05-24 20:38:42 +0100
5ba6296a51
Merge pull request #20 from KhronosGroup/std-array
Hans-Kristian Arntzen
2016-05-28 20:27:16 +0200
168e46fdf9
Use std::array in C++ backend.
Hans-Kristian Arntzen
2016-05-28 13:09:26 +0200
4739d16e98
Remove workaround for overly conservative memory barriers.
Hans-Kristian Arntzen
2016-05-28 11:46:33 +0200
1a199f2ad0
Fixed typo in NumWorkGroups.
Hans-Kristian Arntzen
2016-05-28 11:30:38 +0200
5ad4340976
Workaround case with identical structs but different types.
Hans-Kristian Arntzen
2016-05-28 09:47:52 +0200
2eb6037ff3
Remove type aliases when emitting buffer blocks in C++.
Hans-Kristian Arntzen
2016-05-23 14:18:00 +0200
46892ab745
Fix MSVC warnings.
Hans-Kristian Arntzen
2016-05-23 13:45:20 +0200
5ea59bd11b
Non-functional: Update formatting.
Hans-Kristian Arntzen
2016-05-23 13:30:02 +0200
efaf75e620
Remove unused interface_block_names member.
Hans-Kristian Arntzen
2016-05-23 13:29:18 +0200
6aa2007cba
Deal better with OpName and OpMemberName which alias.
Hans-Kristian Arntzen
2016-05-23 12:25:09 +0200
f05373bdd1
Do not rely on OpName when finding OpTypeStruct aliases.
Hans-Kristian Arntzen
2016-05-23 10:57:22 +0200
78e7615af6
Do not use flexible member arrays in C++.
Hans-Kristian Arntzen
2016-05-23 09:15:49 +0200
e717daee76
Merge pull request #14 from Think-Silicon/constant_expression_cpp
Hans-Kristian Arntzen
2016-05-19 13:52:47 +0200
e108d85c99
CompilerCPP now properly initializes arrays with constant expressions
papostolou
2016-05-18 10:46:33 +0300
5c16c885c0
Merge pull request #8 from KhronosGroup/integer-bitcast-ops
Hans-Kristian Arntzen
2016-05-13 15:35:22 +0200
ba47be9896
README tweaks.
Hans-Kristian Arntzen
2016-05-13 15:32:16 +0200
ffc5544c0b
Don't need to force specific type for left shifts.
Hans-Kristian Arntzen
2016-05-13 15:30:40 +0200
45ad58a903
Implement more correct integer op handling.
Hans-Kristian Arntzen
2016-05-10 23:39:41 +0200
56f1f3d894
Merge pull request #7 from KhronosGroup/out-of-tree-testing
Hans-Kristian Arntzen
2016-05-12 08:13:26 +0200
8869a167d6
Drop --vulkan flag to test_shaders.py
Hans-Kristian Arntzen
2016-05-11 19:55:57 +0200
78c9a80600
Make test_shaders.py more robust with out-of-tree builds.
Hans-Kristian Arntzen
2016-05-11 19:39:38 +0200
0b54291950
Merge pull request #3 from dneto0/add-cmake-support
Hans-Kristian Arntzen
2016-05-11 16:09:55 +0200
59d6898fd0
Add a CMakeLists.txt file for use by cmake, ctest
David Neto
2016-03-19 17:13:06 -0400
44ef367141
Handle padding for struct members in buffers.
Hans-Kristian Arntzen
2016-05-05 16:32:15 +0200
2d38c6e192
Fixups for struct-packing test.
Hans-Kristian Arntzen
2016-05-05 11:59:33 +0200
f144b767ce
Always emit DescriptorSet decoration for Vulkan GLSL.
Hans-Kristian Arntzen
2016-05-05 11:51:18 +0200
b7a30b659e
Remove stale reference shader.
Hans-Kristian Arntzen
2016-05-05 10:46:34 +0200
dbee4e4346
Add support for Vulkan GLSL as output target.
Hans-Kristian Arntzen
2016-05-05 10:16:22 +0200
5af1a51727
Treat more opcodes as impure.
Hans-Kristian Arntzen
2016-05-05 09:51:42 +0200
4b8ed53974
Add Clang format.
Hans-Kristian Arntzen
2016-05-05 09:33:18 +0200
9d4b5c0c59
Use texel fetch instead of normalized sampling for subpass.
Hans-Kristian Arntzen
2016-05-05 09:19:38 +0200
926916d745
Add -Wshadow.
Hans-Kristian Arntzen
2016-05-05 09:15:25 +0200
874d30130e
Update MSVC build with MSL.
Hans-Kristian Arntzen
2016-05-04 23:39:27 -0700
700a4c3fb6
Update SPIR-V headers to latest from SPIRV-Headers repo.
Hans-Kristian Arntzen
2016-05-05 08:31:23 +0200
e5107c8102
Merge pull request #2 from brenwill/master
Hans-Kristian Arntzen
2016-05-05 08:06:05 +0200
2b1e6a8706
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
Bill Hollings
2016-05-04 12:02:45 -0400
12cfbb221f
Add support for querying DecorationInputAttachmentIndex.
Hans-Kristian Arntzen
2016-05-04 13:41:04 +0200
2436f4cb5c
CompilerMSL DimBuffer image type uses 2D MTLTexture.
Bill Hollings
2016-04-29 15:04:17 +0200
762947e3dd
CompilerMSL move Private global variables to entry-point function variables. CompilerMSL add support for texture read() without sampler for OpImageFetch.
Bill Hollings
2016-04-27 19:54:33 +0200
5aafb28cc7
Track sampler ID in Meta for OpSampledImage objects. Add virtual CompilerGLSL emit_sampled_image_op function for OpSampledImage. Under MSL, set sampler ID for local OpSampledImage objects and extract it when emitting sampler.
Bill Hollings
2016-04-23 21:47:41 -0400
1dbd18daaf
Add pixel type qualifier to MSL image type names. Add MSL support for half-precision base formats (short, ushort, half).
Bill Hollings
2016-04-21 20:47:57 -0400
2570121582
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
Bill Hollings
2016-04-19 10:14:01 -0400
b6e3a00976
Support sampler and texture as function arguments.
Hans-Kristian Arntzen
2016-04-19 11:27:17 +0200
7652c90802
Add support for separate samplers and textures.
Hans-Kristian Arntzen
2016-04-19 11:13:47 +0200
d7660fa129
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
Bill Hollings
2016-04-18 22:41:58 -0400
b424851706
Fix floating point OpMod.
Hans-Kristian Arntzen
2016-04-16 09:25:14 +0200
7c738c5068
Workaround some MSVC issues.
Hans-Kristian Arntzen
2016-04-16 09:21:56 +0200
d8132df2de
Bump number of compilation loops to 3 in C++ as well.
Hans-Kristian Arntzen
2016-04-16 09:19:33 +0200
defb416bc0
Add information to README about contributions.
Hans-Kristian Arntzen
2016-04-07 09:37:00 +0200
fa46c14a78
Clean up commented uniform code and replace with TODO statement.
Bill Hollings
2016-04-11 17:34:26 -0400
257b10eef4
Fix MSL reference to instruction stream modified in subclass update.
Bill Hollings
2016-04-11 14:16:12 -0400
6236cc79f0
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
Bill Hollings
2016-04-11 13:35:14 -0400
78b6877368
MSL outputs vertex input struct even when vertex attribute configuration input is missing.
Bill Hollings
2016-04-11 13:28:43 -0400
b2e313ef3e
Support 3 compilation loops for MSL.
Bill Hollings
2016-04-11 12:23:31 -0400
5f2d666b69
Add CLI support for Metal.
Bill Hollings
2016-04-11 11:31:03 -0400
f9e5fb38b8
Fix compiler warnings.
Bill Hollings
2016-04-11 10:19:20 -0400
1230dd9fe2
Build static library during Makefile build.
Hans-Kristian Arntzen
2016-04-11 14:30:17 +0200
a1fd2403e9
Add API usage sample to README.md.
Hans-Kristian Arntzen
2016-04-11 14:22:51 +0200
5ac882765d
Avoid out of range access to spirv data.
Hans-Kristian Arntzen
2016-04-11 13:38:18 +0200
6ddd80e3fe
Fixes from code review of MSL functionality.
Bill Hollings
2016-04-08 15:12:40 -0400
8f30f07eb5
Clarify CompileMSL config parameters and move to compile() function. CompileMSL supports marking vertex attributes and resource bindings as to whether they are used by the shader, and feeding back to caller.
Bill Hollings
2016-04-07 21:25:51 -0400
103aabf5e8
Initial support for Metal Shading Language.
Bill Hollings
2016-04-06 17:42:27 -0400
147e53aeb2
Rename project to SPIRV-Cross.
Hans-Kristian Arntzen
2016-04-04 09:36:04 +0200
ba0ab875c8
Fix cases where SPIR-V conditionally branches to loop headers.
Hans-Kristian Arntzen
2016-04-04 08:53:37 +0200
92134e410a
Do not add dependencies for variables loaded from UniformConstant.
Hans-Kristian Arntzen
2016-04-01 19:58:26 +0200
97f81ba1e2
Implement workaround to deal with older glslang loop output.
Hans-Kristian Arntzen
2016-04-01 12:37:29 +0200
e50e04c247
Add --keep argument to test_shaders.py.
Hans-Kristian Arntzen
2016-03-22 14:56:50 +0100
72e93672d3
Add array-of-SSBO test.
Hans-Kristian Arntzen
2016-03-22 14:49:43 +0100
0a5b3a6c78
Add --update flag and --malisc flag to test_shaders.py.
Hans-Kristian Arntzen
2016-03-22 14:44:12 +0100
0ae2bcc3d0
Ensure that floating point literals are float.
Hans-Kristian Arntzen
2016-03-12 14:17:19 +0100
75471fbb98
Initial commit.
Hans-Kristian Arntzen
2016-03-02 18:09:16 +0100