Commit graph

103 commits

Author SHA1 Message Date
Branimir Karadžić
ac49c6f129 Added RG8 texture format. 2014-07-25 23:16:11 -07:00
Branimir Karadžić
2f292bd348 Removed need for varying.def semicolont terminator. 2014-07-22 21:04:03 -07:00
Branimir Karadžić
62b620a1a0 Initial compute support. 2014-07-20 20:27:13 -07:00
Branimir Karadžić
0ebb4923fc Added interpolator qualifier support. 2014-06-25 18:43:26 -07:00
Branimir Karadžić
bba2ef8031 Added predefined uniforms for inverted view/proj/viewproj matrices.
shaderc: Added raw shader support.
shaderc: Fixed uniform types.
2014-05-10 20:51:54 -07:00
Branimir Karadžić
7bc62b1d07 Added tristrip support. 2014-04-26 23:48:41 -07:00
Branimir Karadžić
bc36c29f2a Added ability to retrieve uniforms used by shader. 2014-04-15 19:10:56 -07:00
Branimir Karadžić
6eee3cca63 Added shadow samplers and updated example 15-shadowmaps-simple to use them. 2014-02-24 21:44:12 -08:00
Branimir Karadžić
a68ffbf4a0 WIP: Adding texture compare modes and shadow samplers support. 2014-02-23 11:21:23 -08:00
Branimir Karadžić
771909c988 Fixed issue #74. 2014-02-13 22:13:19 -08:00
bkaradzic
a2b4b96e55 Regenerated parsers. 2014-02-11 19:47:47 -08:00
Branimir Karadžić
557dcef3dd Updated glsl-optimizer. 2014-02-10 23:06:13 -08:00
Branimir Karadžić
9ff1d0c513 Updated copyright year. 2014-02-10 22:07:04 -08:00
Branimir Karadžić
ad335be715 shaderc: Added ARB_shader_texture_lod extension. 2014-02-09 16:46:50 -08:00
bkaradzic
cc77e7c743 shaderc: Improved error output. Added code preprocessing before substituting code. 2014-02-08 21:48:35 -08:00
bkaradzic
877621105d Added MRT support. 2014-02-05 23:07:11 -08:00
bkaradzic
d401bd992a Write GLSL shader #version before compiling shader. 2014-02-01 22:42:50 -08:00
bkaradzic
3e3de1e35a Pass precision qualifier from varying.def.sc to shader. 2014-02-01 21:15:14 -08:00
bkaradzic
7e656fa4ef Added GL 3.1 core profile shader patching. 2013-12-20 19:51:17 -08:00
bkaradzic
8c2b39efe2 Fixed warnings. 2013-12-07 10:45:15 -08:00
bkaradzic
b584873b50 Added ability to specify arbitrary source pitch when uploading textures.
Added reference weldVertices implementation.
2013-11-07 23:00:53 -08:00
bkaradzic
e93449571d shaderc: Fixed return value on error. 2013-10-05 18:53:15 -07:00
bkaradzic
e78dc677d5 Fixed function argument comma insertion. 2013-10-01 22:50:56 -07:00
bkaradzic
a2466367ac Added gl_FrontFacing builtin for HLSL. 2013-10-01 22:07:40 -07:00
bkaradzic
e05d250948 Added debug info for shaders build with DX11 compiler. 2013-08-26 22:40:02 -07:00
bkaradzic
2d21e92cd8 Added Clang toolchain support for Linux. 2013-08-11 19:01:17 -07:00
bkaradzic
8f026846ff DX9: Improved shader debug info output. 2013-08-09 21:32:23 -07:00
bkaradzic
4c4c2eb5cb examples-common: Reogranized sources. Added command interpreter and input bindings support. 2013-08-07 21:45:56 -07:00
bkaradzic
640c61fe45 Cleanup. 2013-08-06 21:09:02 -07:00
bkaradzic
ba4a32d79a shaderc: Added missing options to help. 2013-07-28 18:41:00 -07:00
bkaradzic
4ade0981f1 Fixed include path to be relative to input file. Issue #34. 2013-05-20 22:20:11 -07:00
bkaradzic
c487afa8ef Added varying.def to dependencies. 2013-05-17 22:13:32 -07:00
bkaradzic
507af8c9f1 Fixed shaderc crash when $in/output lines have comments. 2013-04-11 20:36:28 -07:00
bkaradzic
159b1ce8b2 Fixed MinGW warnings. 2013-04-07 23:53:58 -07:00
bkaradzic
253f313a34 Added wglSwapInterval and ARB_debug_output. Removed BX_UNUSED used for removing warnings when debug messages are compiled out. 2013-04-07 22:12:49 -07:00
bkaradzic
84bfec136a Removed some HLSL intrinsic from .sc shaders in favor of GLSL. Fixed varying.def parsing. 2013-04-05 20:40:50 -07:00
bkaradzic
789552fd34 Ignore anything after semicolon to end of line in varying.def. 2013-04-04 21:23:21 -07:00
bkaradzic
d34cd0251b Added ability to pass multiple include dirs. 2013-04-01 23:04:37 -07:00
bkaradzic
a703d6129f Added -i 'include dir' argument to shaderc. 2013-04-01 22:52:06 -07:00
bkaradzic
6582276e3e Fixed L4 warnings. 2013-03-25 21:13:54 -07:00
bkaradzic
c44db7eaa0 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-02-22 09:05:13 -08:00
bkaradzic
8e0e21f40d Normalized line endings. 2013-02-21 21:07:31 -08:00
bkaradzic
5e15534628 Fixed GCC warning in release build. 2013-02-17 11:31:04 -08:00
bkaradzic
4494bcf6bc Normalize shader source EOL to LF. 2013-02-16 23:00:57 -08:00
bkaradzic
cc69b20e14 Fixed 'unexpected EOL' when building shaders. Added error message for missing shader entry point. 2013-02-14 17:27:10 -08:00
bkaradzic
391ebaefc3 Fixed shaderc arguments. 2013-02-13 20:18:18 -08:00
bkaradzic
43ce51b8ec Updated year in copyright notice. 2013-01-13 10:57:24 -08:00
bkaradzic
b52cc77a14 Reorganized opcode type and location bits in constant buffer opcode. 2013-01-05 22:34:31 -08:00
bkaradzic
1bc2ec8015 Initial version of geometry compiler. 2012-12-28 17:09:34 -08:00
bkaradzic
9473fb1ffd Fixed eol. 2012-12-26 22:52:10 -08:00
bkaradzic
bda65c2c0d Fixed arguments. 2012-12-01 17:04:28 -08:00
bkaradzic
e3b0a82f0d Cleanup. 2012-11-25 22:14:47 -08:00
bkaradzic
a3b0dde24b Fixes. Added vsh output/fsh input hash matching. 2012-11-25 18:24:50 -08:00