Commit graph

844 commits

Author SHA1 Message Date
Branimir Karadžić
a819a3f73e Added error check for use of TextureFormat::BGRA8 in compute. 2015-03-05 19:31:20 -08:00
Branimir Karadžić
4419338b27 Merge branch 'master' of github.com:bkaradzic/bgfx 2015-03-05 17:45:05 -08:00
Branimir Karadžić
d858dde912 Added RGBA8 texture format. 2015-03-05 17:44:56 -08:00
Branimir Karadžić
5185e2f901 GL: Fixing texture formats for GL and GLES31. 2015-03-04 22:08:54 -08:00
Branimir Karadžić
64a32ecdf5 D3D11: Fixed crash with RenderDoc. 2015-03-03 15:16:17 -08:00
Branimir Karadžić
ac34be556a D3D11: Fixed buffer update. Issue #271. 2015-03-03 14:37:18 -08:00
Branimir Karadžić
93b5b0a20c Added imageLoad/Store overloads. 2015-03-02 17:58:43 -08:00
Branimir Karadžić
478449e23a Adding vertex textures WIP. 2015-03-01 22:01:30 -08:00
Branimir Karadžić
7bd37979ab Added separate table for RBO format. Issue #272. 2015-03-01 12:33:27 -08:00
Branimir Karadžić
676127bc5d GLES: Fixed D0S8 texture format. 2015-02-26 17:51:00 -08:00
Branimir Karadžić
a396f671ec Added more handle checks. 2015-02-25 22:40:56 -08:00
Branimir Karadžić
579f43fad7 Added number of views to caps. 2015-02-25 21:12:52 -08:00
Branimir Karadžić
b80edd19ff Added handle debug checks. 2015-02-25 19:46:10 -08:00
Branimir Karadžić
26e96b0489 GL: Fixed program sampler count. 2015-02-24 15:18:33 -08:00
Branimir Karadžić
fb6aa4f51d Removed need to set texture format for compute's setImage. 2015-02-23 17:25:06 -08:00
Branimir Karadžić
7652b05cc5 Fixed GCC 4.9 type-limit warning. 2015-02-23 11:33:02 -08:00
Branimir Karadžić
cc9ed76048 D3D11: Disable alt-enter. 2015-02-22 20:30:17 -08:00
Branimir Karadžić
4685fdeca3 Fixed dynamic vertex/index buffer leak warning. Issue #263. 2015-02-21 21:51:06 -08:00
Branimir Karadžić
c3112bce2a Fixed GCC warning. 2015-02-21 21:50:16 -08:00
Branimir Karadžić
8790649495 Moved imgui to last view. 2015-02-21 15:51:03 -08:00
Branimir Karadžić
2883be5c1a Increased number of views to 256. Added view remap support. 2015-02-21 15:40:51 -08:00
Branimir Karadžić
ca3a6e5c84 Fixed Emscripten. 2015-02-20 15:35:20 -08:00
Branimir Karadžić
78f415e812 GL: Added unsigned int image samplers. 2015-02-19 20:06:02 -08:00
Branimir Karadžić
5a4afee0ea Fixed compute unsigned image. 2015-02-19 16:23:27 -08:00
Branimir Karadžić
078dd5127f Added HLSL pack/unpackHalf2x16. 2015-02-18 17:37:07 -08:00
Branimir Karadžić
1295de90ea Remove destroyed uniform from hash map. 2015-02-17 17:08:08 -08:00
Branimir Karadžić
3838492e8d Dispatch compute is always in sequential mode. 2015-02-17 16:26:35 -08:00
Branimir Karadžić
b8d065da79 Merge branch 'master' of github.com:bkaradzic/bgfx 2015-02-17 11:50:38 -08:00
Branimir Karadžić
7279a31768 GL: Cache current GL context. Issue #262. 2015-02-17 11:50:31 -08:00
Branimir Karadžić
5ff63f93b6 Cleanup. 2015-02-16 22:53:06 -08:00
Branimir Karadžić
13ac805085 Cleanup. 2015-02-16 21:58:13 -08:00
Branimir Karadžić
895f697f50 Removed 16-bit API limit from vertex buffer. 2015-02-16 19:01:32 -08:00
Branimir Karadžić
a57634cd09 Added D3D12 enum. 2015-02-15 18:27:54 -08:00
Branimir Karadžić
39e6eff1e0 Updated DDS formats. 2015-02-14 15:45:51 -08:00
Branimir Karadžić
3fb7221df2 Cleanup. 2015-02-13 09:33:56 -08:00
Branimir Karadžić
4f28cffa1a Fixed issue #259. 2015-02-12 08:26:21 -08:00
Branimir Karadžić
06eef99ce9 Added legacy DDS pixel format decoding. 2015-02-11 14:57:09 -08:00
Branimir Karadžić
b27c945cef Reverted bad commit. 2015-02-10 14:26:13 -08:00
Branimir Karadžić
06ad146d9f Updated compute shader header. 2015-02-10 14:22:56 -08:00
Branimir Karadžić
74b59f1692 GL: Fixed optional import. 2015-02-09 16:19:53 -08:00
Branimir Karadžić
f81f34545c Added cubemap to texture info. Fixed issue #255. 2015-02-09 11:24:59 -08:00
Branimir Karadžić
ef84ba3f1f Cleanup. 2015-02-08 11:02:39 -08:00
Branimir Karadžić
1d4eb335a7 Removed X11 include in bgfxplatform.h. 2015-02-06 16:49:04 -08:00
Branimir Karadžić
b01f289340 Fixed issue #252. 2015-02-06 10:47:53 -08:00
Branimir Karadžić
5fc9ac494b DX11: Embedded ID3D11InfoQueue GUID. 2015-02-04 19:33:31 -08:00
Branimir Karadžić
f0f0d08417 Fixed texture info. 2015-02-02 20:42:59 -08:00
Branimir Karadžić
8942628ec1 Fixed texture size calculation. 2015-02-02 20:30:57 -08:00
Branimir Karadžić
c2e100d65d Added minimum number of blocks for PTC textures. Issue #250. 2015-02-01 21:38:47 -08:00
Branimir Karadžić
c7a32e63cc Cleanup. 2015-01-31 15:06:44 -08:00
Branimir Karadžić
aea2cd2ce3 Fixed GLX context. 2015-01-31 13:55:02 -08:00
Branimir Karadžić
c65f04ae05 EGL: Added ability to use EGL on Linux. 2015-01-31 13:47:27 -08:00
Branimir Karadžić
524b28a9f7 Cleanup. 2015-01-30 10:31:50 -08:00
Branimir Karadžić
a1d50d6ea4 Cleanup. 2015-01-29 19:54:23 -08:00
Branimir Karadžić
3de816bf34 Added dynamic buffer resizing. 2015-01-28 17:56:29 -08:00
Branimir Karadžić
34ab21c7cf Merge branch 'master' of github.com:bkaradzic/bgfx 2015-01-28 11:53:21 -08:00
Branimir Karadžić
37ec631ec7 Fixed issue #249. 2015-01-28 11:52:58 -08:00
Branimir Karadžić
3b54571447 Reverted bad commit. 2015-01-26 19:46:18 -08:00
Branimir Karadžić
b2a91c4a29 Cleanup. 2015-01-26 19:09:51 -08:00
Branimir Karadžić
02d32dc1bb Fixed vertex buffer update offset. 2015-01-26 09:19:34 -08:00
Branimir Karadžić
5129b8462e Updated DX12 stub. 2015-01-24 22:19:42 -08:00
Branimir Karadžić
f763ec9355 Updated .gitignore. 2015-01-24 22:07:42 -08:00
Branimir Karadžić
3a7e9ff7cd Fixed transient buffer alignment. 2015-01-23 22:40:04 -08:00
Branimir Karadžić
2764d9d2aa Fixed issue #239. 2015-01-23 22:18:07 -08:00
Branimir Karadžić
938c1a0e92 Fixed dynamic index buffer offset. 2015-01-23 17:27:15 -08:00
Branimir Karadžić
6fda797b23 Merge branch 'dev' 2015-01-21 20:41:48 -08:00
Branimir Karadžić
0516b5603b Added max anisotropy reset flag. 2015-01-21 20:39:42 -08:00
Branimir Karadžić
a47839be56 Removed glcontext_ios.h issue #237. 2015-01-20 22:14:27 -08:00
Branimir Karadžić
be8c9576f5 Fixed issue #225. 2015-01-20 22:07:30 -08:00
Branimir Karadžić
6cb953af14 Rename bx::swap to bx::xchg. 2015-01-20 00:04:30 -08:00
Branimir Karadžić
21fff2de4b Cleanup. 2015-01-14 21:31:08 -08:00
Branimir Karadžić
1cf70cbcdd Fixed compiler warning. 2015-01-13 22:49:39 -08:00
Branimir Karadžić
069de61bdb Combined sampler and compute binding. 2015-01-13 22:34:48 -08:00
Branimir Karadžić
99af670622 Cleanup. 2015-01-13 19:43:04 -08:00
Miodrag Milanovic
86d6e003cc Mark DX11 as unsuported if build is created for higher windows version but running on WinXP or lower 2015-01-13 19:35:44 +01:00
Miodrag Milanovic
13ca8fc45b On 32bit we should try DX9 too on Win 8 2015-01-13 16:03:50 +01:00
Branimir Karadžić
4e39749b1e DX11: Fixed initialization error when D3D11 SDK Layers is not present. 2015-01-12 20:46:50 -08:00
Branimir Karadžić
8d70a2abde Added gl_PrimitiveID builtin for fragment shaders. 2015-01-12 19:37:42 -08:00
Branimir Karadžić
904f52ab91 Fixed compile error. 2015-01-11 18:02:34 -08:00
Branimir Karadžić
bb96d76c0a Added discard framebuffer resources after use. 2015-01-11 18:00:08 -08:00
Branimir Karadžić
ff7f967c1b Removed _BIT suffix from BGFX_CLEAR_* flags. 2015-01-10 21:39:45 -08:00
Branimir Karadžić
a038b6d426 Added ability to bind static index buffer to compute. 2015-01-10 20:56:38 -08:00
Branimir Karadžić
ef05e607d6 Added support for GPU compute dynamic index buffer. 2015-01-10 20:38:47 -08:00
Branimir Karadžić
eef76d08cb Added PTC14(A) to emulated formats. 2015-01-10 15:16:08 -08:00
Branimir Karadžić
01ac66258e Added PTC14(A) decoding fallback. 2015-01-09 22:31:52 -08:00
Branimir Karadžić
dbca2689ca Fixed issue#226. 2015-01-08 20:43:36 -08:00
Branimir Karadžić
86765854b0 Fixed missing DX11 defines when building with MinGW on Linux. 2015-01-05 20:59:58 -08:00
Branimir Karadžić
4b1b62e6bd Fixed MinGW build from Linux. 2015-01-04 16:23:00 -08:00
Branimir Karadžić
649d7f74d2 Updated copyright year. 2015-01-02 14:43:11 -08:00
Branimir Karadžić
c25dd466be Updated copyright year. 2015-01-01 15:04:46 -08:00
Branimir Karadžić
efe0bc3c47 Fixed build. 2014-12-28 12:51:06 -08:00
Branimir Karadžić
1be040f2ab Added compute dispatch flags. 2014-12-28 11:36:36 -08:00
Branimir Karadžić
9d83a5307c Fixed example 24-nbody with OVR. 2014-12-28 10:12:24 -08:00
Branimir Karadžić
6e73d4ea34 Predefined uniforms refactoring. 2014-12-27 19:00:41 -08:00
Branimir Karadzic
c8a112d71e X11: Relax polling input. 2014-12-25 09:27:51 -08:00
Miodrag Milanovic
3df7041cba Fixed compile and linking under mingw environment 2014-12-24 11:46:49 +01:00
Branimir Karadžić
857a2b18f1 Android: Fixed GLES3+ build. 2014-12-23 23:32:36 -08:00
Branimir Karadžić
08d97d8c4b OVR: Support for multiple SDK versions. 2014-12-21 18:55:33 -08:00
Branimir Karadžić
83f151f71b Added 24-nbody compute shader example. 2014-12-19 21:09:58 -08:00
Branimir Karadzic
9d1d59604c Implemented missing casts. 2014-12-18 10:22:27 -08:00
Branimir Karadžić
341eb4e609 Fixed issue #202. 2014-12-16 23:25:18 -08:00