Commit Graph

353 Commits

Author SHA1 Message Date
Branimir Karadžić
236ef4b875 Fixed shader binary truncation. Issue #1170. 2017-06-20 20:34:41 -07:00
Branimir Karadžić
10d78210f7 Fixed build. 2017-06-12 23:51:07 -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ć
52c28fa531 Cleanup. 2017-05-14 10:48:51 -07:00
Branimir Karadžić
8a675c66b1 D3D9: Added multiple vertex stream support. 2017-05-13 22:21:02 -07:00
Branimir Karadžić
5be58d37c6 Fixix blit submit. 2017-05-05 22:22:14 -07:00
Branimir Karadžić
45e7bf5df4 Making RG11B10F name consistent with other texture formats. 2017-04-24 20:31:58 -07:00
Branimir Karadžić
c9679731a5 Renaming string functions. 2017-04-22 14:47:02 -07:00
Branimir Karadžić
6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00
Branimir Karadžić
370abf6788 Cleanup. 2017-04-09 19:31:24 -07:00
Branimir Karadžić
91f7782223 Cleanup. 2017-04-08 10:46:27 -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
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ć
423c655095 Cleanup. 2017-04-03 20:43:57 -07:00
Branimir Karadžić
b0e13445db Exposed occlusion query result. 2017-03-06 17:23:22 -08:00
Branimir Karadžić
a1184d53c5 Invalidate occlusion queries in flight when new occlusion query with the same id is created. 2017-03-03 18:05:36 -08:00
Branimir Karadžić
cd263210f3 D3D9: Implemented swap chain screen shot. 2017-03-02 22:48:10 -08:00
Branimir Karadžić
1444704901 Cleanup. 2017-03-02 19:29:34 -08:00
Branimir Karadžić
86fc54ccfc Added ability to specify swap chain for screenshot. 2017-03-02 18:02:14 -08:00
Branimir Karadžić
b99ebb9535 Cleanup. 2017-02-08 19:55:31 -08:00
Branimir Karadžić
aa2a9deb5f Cleanup. 2017-02-08 18:17:59 -08:00
Branimir Karadžić
b62fe2749f Fixed create/destroy windows. 2017-01-26 15:34:11 -08:00
Branimir Karadžić
ec4f98f33a Fixed VS build. 2017-01-14 17:45:27 -08:00
Branimir Karadžić
8b3f752af5 Skip rendering when scissor is zero area. 2017-01-11 20:38:38 -08:00
Branimir Karadžić
14dbb67320 Fixed IFH debug flag. 2017-01-10 17:14:50 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
5a0d824331 Exposed a few more internal performats stats. 2016-12-19 17:18:07 -08:00
Branimir Karadžić
706facc788 Fixed blit with view remapping. 2016-11-20 14:29:37 -08:00
Branimir Karadžić
afb7ec3d73 Cleanup. 2016-11-15 16:57:28 -08:00
Branimir Karadžić
e86aee5f2e Don't present backbuffer if it's not affected by rendering. 2016-11-13 20:59:41 -08:00
Branimir Karadžić
025d806c70 Present swap chain only when it's updated. 2016-11-09 14:29:37 -08:00
Branimir Karadžić
a3113ab94c Added ability to retrieve uniform info. 2016-11-02 00:12:40 -07:00
benoitjacquier
eaea9551fb readtextur mip level fix (#956) 2016-10-25 08:59:37 -07:00
Branimir Karadžić
a43f63e8e2 Cleanup. 2016-10-24 10:58:24 -07:00
benoitjacquier
74298e9940 readTexture mip support / D3D9 / D3D11 2016-10-21 17:22:05 +02:00
Branimir Karadžić
50d867bbc2 Added limits info to caps. 2016-09-24 00:29:59 -07:00
Branimir Karadžić
37f00de7de Fixed issue #917. 2016-09-15 20:54:00 -07:00
Branimir Karadžić
1ae77b0cfb WIP: Adding vertex stream support. 2016-09-12 19:38:29 -07:00
Branimir Karadžić
425868f391 Cleanup. 2016-09-08 17:00:16 -07:00
Branimir Karadžić
0ba8b1895b Cleanup. 2016-09-02 19:49:01 -07:00
Branimir Karadžić
e0aeb630ad Fixed render debug events colors. 2016-08-24 13:16:04 -07:00
Branimir Karadžić
63e79499fa Cleanup. 2016-08-20 08:10:20 -07:00
Branimir Karadžić
f2e46a5c65 D3D9: Fixed assert when frame buffer texture is resized. 2016-07-28 21:19:08 -07:00
Branimir Karadžić
b7a0030c20 GL: Added texture mip autogen. 2016-07-23 16:16:43 -07:00
Branimir Karadžić
2563382301 WIP: Added autogenerate mipmaps for render targets with mips. 2016-07-22 17:42:55 -07:00
Branimir Karadžić
08b5e9c851 Fixed mipmap chain generation for textures created with backbuffer ratio size. 2016-07-21 12:57:14 -07:00