Commit graph

79 commits

Author SHA1 Message Date
Mike Popoloski
6e53a5e229 Remove last dependence on legacy DXSDK / D3DX
The legacy DXSDK was only needed for DX9 shader compilation, but D3DCompile can handle old shader models. The only other thing needed was reflection support for getting constant data, which I've added.
2015-04-10 22:01:57 -04:00
Branimir Karadžić
7cd9af179f Fixed file names. 2015-04-05 11:55:04 -07:00
Branimir Karadžić
9604a3f23b Fixed issue #322. 2015-04-05 11:24:59 -07:00
Branimir Karadžić
12184e87de Fixed variable shadowing warnings. 2015-04-02 23:31:28 -07:00
Branimir Karadžić
2d426d0e50 Added D3DXDisassembleShader definition for MinGW. 2015-04-01 10:59:10 -07:00
Branimir Karadžić
dbca022e31 Cleanup. 2015-04-01 09:20:40 -07:00
Miodrag Milanovic
364f80eb5e D3DXDisassembleShader is not exposed in mingw libraries (nw) 2015-04-01 13:29:19 +02:00
Branimir Karadžić
55d9a43a3c Fixed MinGW compile error. 2015-03-31 15:09:43 -07:00
Branimir Karadžić
a8b8cedb1b shaderc: Fixed ESSL build. 2015-03-23 16:14:40 -07:00
Branimir Karadžić
baebc645c0 Fixed shaderc. 2015-03-23 15:23:25 -07:00
Branimir Karadžić
b2da0cce93 Added [u/i]sampler3D. 2015-03-17 17:27:04 -07:00
Branimir Karadžić
100673b736 shaderc: Rename BITANGENT semantics to BINORMAL when building with D3D9 SM3 compiler. 2015-01-15 17:32:43 -08:00
Branimir Karadžić
8d70a2abde Added gl_PrimitiveID builtin for fragment shaders. 2015-01-12 19:37:42 -08:00
Branimir Karadžić
c25dd466be Updated copyright year. 2015-01-01 15:04:46 -08:00
Daniele Bartolini
98e3552fe8 Fix shaderc debug assert failed (issue #120) 2014-12-11 16:12:58 +01:00
Branimir Karadžić
878cbd41bd shaderc: Added shader strip. 2014-12-05 20:28:15 -08:00
Branimir Karadžić
18e9c30a0c Updated OVR SDK 0.4.4. 2014-12-05 19:17:59 -08:00
Branimir Karadžić
8cd9551f26 shaderc source split into multiple files. 2014-12-03 20:16:20 -08:00
Dario Manesku
984463c773 Removed redundant NOMINMAX define as it's now defined in 'bx/platform.h'. 2014-11-26 05:13:40 +01:00
Branimir Karadzic
bb0a305333 shaderc: Added error message with input source file is not found. 2014-11-23 09:37:13 -08:00
Branimir Karadžić
748da31049 Skip white space between $input/$output. 2014-10-31 21:54:35 -07:00
Branimir Karadzic
02346be7cb Skip white space before parsing /. 2014-10-31 09:46:50 -07:00
Branimir Karadžić
29b7249fc1 Cleanup. 2014-10-18 15:44:45 -07:00
Branimir Karadžić
6b00f65849 Increased number of MRT to 8. 2014-09-01 11:24:51 -07:00
Branimir Karadžić
66890595b9 Added serialization for vertex decl attribute enums. Binary format changes. Rebuilt all meshes and shaders. 2014-08-17 17:20:15 -07:00
Branimir Karadžić
c6fe2577c4 Added support for *s_4_0_level_9_3 profile DX11 shaders. 2014-08-11 20:34:52 -07:00
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