Branimir Karadžić
895c3e43d3
texturec: Added normalmap BC5 encoding.
2016-01-07 17:31:57 -08:00
Branimir Karadžić
6c25d56551
texturec: Added basic normalmap mipmap filter.
2016-01-06 18:15:05 -08:00
Branimir Karadžić
8f5202ca99
Cleanup.
2016-01-05 18:32:54 -08:00
Branimir Karadžić
4770831b11
texturec: Support for normal maps WIP.
2016-01-04 21:48:01 -08:00
Branimir Karadžić
4bb2b623d3
Happy New Year!
2016-01-01 00:11:04 -08:00
Branimir Karadžić
026a2563f1
texturec: Added mip-map gen.
2015-12-31 20:05:00 -08:00
Branimir Karadžić
930fbe9e1a
shaderc: Normalize EOL before processing shader.
2015-12-28 17:16:11 -08:00
Branimir Karadžić
30b7d5dc26
Cleanup.
2015-12-27 20:04:17 -08:00
Branimir Karadžić
76e45fe53c
texturec: Fixed ETC1 encoder.
2015-12-23 22:17:51 -08:00
Branimir Karadžić
c525059d18
Added tinyexr.
2015-12-22 20:31:46 -08:00
Branimir Karadžić
69a0f6fa4e
texturec: Added PVR1 RGB/A 4-bpp compression.
2015-12-22 18:05:06 -08:00
Branimir Karadžić
c82d3e86d9
texturec: Added BC4/5 compression.
2015-12-22 15:40:55 -08:00
Branimir Karadžić
8ab70bd8cf
Added stripped down NVTT library.
2015-12-20 20:40:35 -08:00
Branimir Karadžić
35340d121f
texturec: Added BC1/2/3 and ETC1 compression.
2015-12-18 18:15:30 -08:00
Branimir Karadžić
61b78529af
Added ETC1.
2015-12-15 22:13:01 -08:00
Branimir Karadžić
d1eaafc138
Added libsquish.
2015-12-14 17:35:24 -08:00
Branimir Karadžić
fac71e9e35
Fixed issue #569 .
2015-12-08 16:09:30 -08:00
Branimir Karadžić
39409696e6
Cleanup.
2015-11-19 20:10:51 -08:00
Branimir Karadžić
de347e9f23
Cleanup.
2015-11-17 23:31:34 -08:00
Branimir Karadžić
8677017bac
KTX: Added support for more formats and stubbed writer.
2015-11-15 20:40:23 -08:00
Branimir Karadžić
86839f6e2e
shaderc: GLSL autodetect use of profile 130.
2015-10-18 19:35:46 -07:00
Branimir Karadžić
3d2405232e
geometryc: Fixed empty primitive group crash.
2015-08-29 23:46:10 -07:00
Branimir Karadžić
d1f99896ec
Moved public header files into bgfx subdirectory.
...
grep -rl '<bgfx.h>' . | xargs sed -i 's@<bgfx.h>@<bgfx/bgfx.h>@g'
2015-09-18 20:19:12 -07:00
Branimir Karadžić
86ec6b5f90
Cleanup.
2015-09-03 18:33:41 -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
Nodrev
4df0cca212
Fixing geometryc for meshes exported without uv coordinates
2015-06-02 22:37:22 +02:00
Branimir Karadžić
ff01992cb7
Refactored uniform types.
2015-05-28 15:27:00 -07:00
Branimir Karadžić
29001134ca
Removed dxguid from shaderc, use INITGUID instead.
2015-05-26 12:08:12 -07:00
Branimir Karadžić
1deb6a2e9d
Fixed issue #385 .
2015-05-12 19:55:54 -07:00
Branimir Karadžić
ea375d5c03
Fixed MinGW compile error.
2015-04-22 19:43:19 -07:00
James Darpinian
bc08ef142e
Stop hardcoding the GUID for ID3D11ShaderReflection.
...
This GUID changes depending on what version of the DirectX SDK you have.
The GUID is defined in d3d11shader.h as a const global, not a preprocessor
macro, so this #ifndef was clobbering it always. This caused DX11 shader
compliation to fail when using the Windows 8.1 SDK.
2015-04-22 19:15:08 -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
Branimir Karadžić
6878b8de29
Cleanup.
2015-04-13 14:45:14 -07:00
Branimir Karadžić
cea3815dff
Fixed HLSL shader stripping.
2015-04-13 12:54:45 -07:00
Branimir Karadžić
a17f9cfa9b
Cleanup.
2015-04-12 22:26:18 -07:00
Branimir Karadžić
7825f3a41e
Cleanup.
2015-04-11 20:52:05 -07:00
Mike Popoloski
643d7939d7
Fixing a uniform parsing issue.
2015-04-11 16:11:16 -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
Branimir Karadžić
db9802a73f
Fixed Linux build.
2015-04-10 21:24:25 -07:00
Mike Popoloski
9976f6cc4c
Removing now unused shaderc_dx9 source and renaming dx11 source file.
2015-04-10 22:23:01 -04:00
Mike Popoloski
3e49bf536d
Can't use #ifdef for checking IID_ID3D11ShaderReflection, because it's not a macro...
2015-04-10 22:08:04 -04:00
Mike Popoloski
f919f7811f
Cleanup
2015-04-10 22:01:58 -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ć
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ć
efed576e75
Fixed variable shadowing.
2015-04-04 19:45:45 -07:00