Commit Graph

462 Commits

Author SHA1 Message Date
Branimir Karadžić
cdd658b44c Cleanup. 2017-10-09 21:41:59 -07:00
Branimir Karadžić
d4e3828e80 Cleanup. 2017-10-09 21:17:58 -07:00
Branimir Karadžić
2008a041ab Cleanup. 2017-10-09 21:08:03 -07:00
Branimir Karadžić
be158a6055 Cleanup. 2017-10-09 20:10:03 -07:00
Branimir Karadžić
426c56b635 Moving uniform/query set validation into encoder. 2017-10-08 22:02:21 -07:00
Branimir Karadžić
61cee3d3bb Refactoring internal frame structure to separate submit encoder. 2017-10-08 20:47:51 -07:00
Branimir Karadžić
7a32c14157 Cleanup. 2017-10-07 21:19:47 -07:00
Branimir Karadžić
e1a9422445 Cleanup. 2017-10-07 18:17:16 -07:00
Branimir Karadžić
cfa81f314a Cleanup. 2017-10-06 21:50:38 -07:00
Branimir Karadžić
4cdab3e971 Exposed internal profiler callbacks. 2017-10-06 18:07:40 -07:00
Branimir Karadžić
b5af383cf8 Cleanup. 2017-09-23 16:27:16 -07:00
Branimir Karadžić
4b4b1c31a6 Added perf timer for API thread. 2017-09-22 21:39:16 -07:00
Branimir Karadžić
ad4be46c79 Fixed program ref counting issue. 2017-09-18 18:25:08 -07:00
Branimir Karadžić
4f79945ebf Fixed sequential sort. 2017-09-15 13:01:11 -07:00
Branimir Karadžić
dbbb670d7f Added separate draw sort key for sequential view mode. 2017-09-14 18:59:49 -07:00
Branimir Karadžić
b88e566b80 Cleanup. 2017-09-06 19:04:04 -07:00
Branimir Karadžić
3bd460d39a Fail to create static vertex buffer when VertexDecl is incorrect. 2017-09-06 16:20:35 -07:00
Branimir Karadžić
3aec2b89bf Added bgfx::setName to set resource debug name. 2017-08-30 21:46:57 -07:00
Branimir Karadžić
0286e209dd D3D9: Implemented per view GPU profiler. 2017-08-27 20:34:00 -07:00
Branimir Karadžić
f0971eda83 Removed Remotery. 2017-08-20 14:24:15 -07:00
Branimir Karadžić
07bd69c56c Fixed compute program shader ref counting. 2017-08-14 18:25:57 -07:00
Branimir Karadžić
1d5c3386fe Fixed shader ref counting. 2017-08-07 17:41:08 -07:00
Branimir Karadžić
bed131c879 Cleanup. 2017-07-28 19:50:33 -07:00
Branimir Karadžić
54c8d69590 Fixed shader ref counting. 2017-07-28 16:43:16 -07:00
Branimir Karadžić
6225876692 If hash match reuse existing shaders instead creating. 2017-07-28 09:43:45 -07:00
Branimir Karadžić
8272809534 Added 32-bit dispatch dimension. 2017-07-27 14:57:31 -07:00
Branimir Karadžić
3e212b519f Moving code around and renaming files. 2017-07-15 21:01:08 -07:00
Branimir Karadžić
58d915d88d Cleanup. 2017-06-20 21:44:23 -07:00
Branimir Karadžić
236ef4b875 Fixed shader binary truncation. Issue #1170. 2017-06-20 20:34:41 -07:00
Branimir Karadžić
0780a3a7c9 Encoding sort key depending on view mode. 2017-06-15 16:41:59 -07:00
Branimir Karadžić
d8968e1214 Updated sort key. 2017-06-14 22:29:12 -07:00
Branimir Karadžić
6910ddba9e WIP: Adding more sort key modes. 2017-06-14 18:10:42 -07:00
Branimir Karadžić
c39c6121a6 Removed obsolete platform. 2017-06-11 22:54:52 -07:00
Branimir Karadžić
07d799f72e Renamed constants to new style. 2017-06-09 21:57:08 -07:00
Branimir Karadžić
24569934a1 Added color2/3 attributes. 2017-06-06 17:25:17 -07:00
Branimir Karadžić
b0a122449c Cleanup. 2017-05-18 17:44:31 -07:00
Branimir Karadžić
b72b3df894 Fixed issue #1135. 2017-05-18 08:55:52 -07:00
Branimir Karadžić
6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00
Branimir Karadžić
814d04fcc5 noop: Pretend all features are available. 2017-04-08 10:17:55 -07:00
Branimir Karadžić
c44c68ed4c Release memory inside any function that takes Memory argument and it could fail when out of handles. 2017-04-07 20:02:31 -07:00
Branimir Karadžić
8b14a7e977 Added fall back to noop renderer when device is removed. 2017-04-07 19:07:20 -07:00
Branimir Karadžić
81f9162d58 Moved bindings outside of render item. 2017-04-06 20:32:48 -07:00
Branimir Karadžić
5ffdd2de23 Cleanup. 2017-04-06 19:40:22 -07:00
Branimir Karadžić
e5395db19c Rename setShaderBuffer to setBuffer. 2017-04-06 19:03:16 -07:00
PyryM
83e30ec609 api changes (#1107)
d3d11 + opengl implementations

everything else will have very strange behavior if you try to bind a
buffer to a shader

avoid compiler error/warning about unused parameter

copy paste mistake

add in function for index buffers as well

Might as well cover all the bases; index buffers are also a convenient
way to create int-typed buffers, since there aren't int32 vertex
attributes.

get rid of precision loss warnings

d3d12 bindShaderBuffer implementation

throw an assert on d3d9 at least

BX_CHECK on metal as well (no compute support atm)

simplify api since access is restricted to read

hide from public api at the moment

move comment into correct branch of if

Feature: bind vertex/index buffers for vertex/fragment shaders
2017-04-06 18:59:30 -07:00
Branimir Karadžić
8ce85d2462 Added bimg dependency. 2017-04-03 22:42:27 -07:00
Branimir Karadžić
96fec2cbf3 Fixed vertex decl cleanup. 2017-03-30 22:07:23 -07:00
Branimir Karadžić
28c0cb3ace Always create separate dynamic vertex buffer for compute. 2017-03-30 21:27:05 -07:00
Branimir Karadžić
139c1353ee Cleanup. 2017-03-29 21:53:09 -07:00
Branimir Karadžić
31312f897d Fixed VertexDecl tracking. 2017-03-29 17:54:38 -07:00