Commit Graph
107 Commits
Author SHA1 Message Date
Branimir Karadžić c5f2c5b373 Cleanup. 2016-10-20 19:52:56 -07:00
Branimir Karadžić 23d592a862 Cleanup. 2016-10-19 18:11:47 -07:00
Branimir Karadžić 44a5b7a328 shaderc: Added SPIR-V target. 2016-10-16 10:29:46 -07:00
Branimir Karadžić 272195da3f Updated embedded shaders. 2016-10-05 20:41:25 -07:00
Branimir Karadžić e5b9b8d7aa Cleanup. 2016-10-01 12:38:41 -07:00
Branimir Karadžić ece1a0e49b shaderc: Added pssl stub. 2016-09-30 18:16:04 -07:00
Branimir Karadžić 57d34f557b Cleanup. 2016-09-28 16:42:15 -07:00
Branimir Karadžić 08438fa567 texturev: Added texture array support. 2016-08-23 22:06:50 -07:00
Branimir Karadžić 7537b705e5 GL: Added support for texture array. 2016-08-21 14:03:16 -07:00
Branimir Karadžić e5aa71db4d Added centroid interpolation modifier. 2016-07-10 20:49:10 -07:00
Branimir Karadžić 4b26830fc1 shaderc: Allow shader without color target write. 2016-07-01 20:38:12 -07:00
Jonathan Howard 41580bf263 Potential fix for loss-of-conversion cast in shaderc 2016-06-29 02:39:57 -07:00
Branimir Karadžić dae27de242 Fixed issue #814. 2016-06-21 20:56:39 -07:00
Branimir Karadžić e50bda7818 Cleanup. 2016-06-15 09:33:11 -07:00
Branimir Karadžić d8d17994dc GL: Fixed MSAA texture sampling. 2016-06-13 14:47:37 -07:00
Branimir Karadžić 53e2439eba shaderc: Added half-texel fixup for D3D9 (experimental, commented out). 2016-04-14 19:41:06 -07:00
Branimir Karadžić 310bcfcfeb Cleanup. 2016-03-30 20:32:13 -07:00
Dario Manesku 4ba8725692 Run preprocessor before determining input/output. 2016-03-30 05:29:03 +02:00
Branimir Karadžić a076c1a03b Exposed GL_ARB_gpu_shader5 and GL_ARB_shading_language_packing to shaderc. 2016-03-18 11:32:04 -07:00
Branimir Karadžić 016bfc4290 Improved reader/writer error handling. 2016-01-31 16:00:02 -08:00
Branimir Karadžić d53b27d353 Cleanup. 2016-01-30 21:13:41 -08:00
Branimir Karadžić a972d1fef0 Tools cleanup. 2016-01-30 16:15:25 -08:00
Branimir Karadžić 6d80ef7835 shaderc: Added command line argument for setting preprocessor defines. Issue #662. 2016-01-22 20:27:03 -08:00
Branimir Karadžić 4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Branimir Karadžić 930fbe9e1a shaderc: Normalize EOL before processing shader. 2015-12-28 17:16:11 -08:00
Branimir Karadžić fac71e9e35 Fixed issue #569. 2015-12-08 16:09:30 -08:00
Branimir Karadžić 86839f6e2e shaderc: GLSL autodetect use of profile 130. 2015-10-18 19:35:46 -07:00
Branimir Karadžić 4470f7097c Fixed HLSL reflection for samplers. 2015-09-01 16:44:11 -07:00
Branimir Karadžić 8adc099b02 Cleanup. 2015-07-30 11:36:26 -07:00
Brad Roepstorff b8fc92520f adding better error message for missing varying.def.sc in shaderc 2015-07-29 20:58:35 -04:00
Branimir Karadžić 527ab0bcc1 shaderc: Metal fixes. 2015-06-12 15:22:01 -07:00
Branimir Karadžić ce1b41336d shaderc: Adding metal shader type. 2015-06-12 15:08:01 -07:00
Branimir Karadžić ff01992cb7 Refactored uniform types. 2015-05-28 15:27:00 -07:00
Branimir Karadžić 1deb6a2e9d Fixed issue #385. 2015-05-12 19:55:54 -07:00
Mike Popoloski 121cc748c2 Fixing a shader linkage crash in D3D11 for 10level9 targets
Lower feature level targets in D3D11 also require SV_Position as an input param to the pixel shader, otherwise there are linkage mismatches between the vertex and pixel shaders.
2015-04-16 19:24:27 -04:00
Mike Popoloski 2819f93f26 shaderc dx11 now removes unused constants
The D3D11 shader compiler doesn't remove unused constants because it would change the size of buffers uploaded by the application. This means that all of the default unused bgfx uniforms take up a huge amount of space that forces the app to waste a ton of time uploading zeroes. This change is a bit of a hack but removes the unused constants and improves performance a great deal.
2015-04-11 15:40:31 -04:00
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ć 12184e87de Fixed variable shadowing warnings. 2015-04-02 23:31:28 -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ć 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