Commit Graph

4655 Commits

Author SHA1 Message Date
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ć
dc69484d06 Revert commented out code. 2017-04-08 10:35:19 -07:00
Branimir Karadžić
814d04fcc5 noop: Pretend all features are available. 2017-04-08 10:17:55 -07:00
Branimir Karadžić
2334da13e6 EAGL: Renamed GL_DEPTH24_STENCIL8_OES to GL_DEPTH24_STENCIL8. Issue #1109. 2017-04-08 10:16:32 -07:00
Branimir Karadžić
a57bee7fd4 Cleanup. 2017-04-08 10:04:35 -07:00
Branimir Karadžić
0c3926586a Updated glslang. 2017-04-07 20:11:36 -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ć
6aae4e6962 GL: Added workaround options for issue #1105. 2017-04-06 22:15:58 -07:00
Branimir Karadžić
e2efaf56de Fixed Metal. 2017-04-06 20:39:06 -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ć
9b218c9644 Cleanup. 2017-04-05 20:18:59 -07:00
Branimir Karadžić
42f6fe1430 33-pom: Fixed shaders. 2017-04-04 22:41:21 -07:00
Branimir Karadžić
8ca270a449 33-pom: Added screenshot. 2017-04-04 20:45:11 -07:00
Branimir Karadžić
25d7bf27ff Cleanup. 2017-04-04 20:10:57 -07:00
Branimir Karadžić
42aa94504e 33-pom: Built shaders and assets. 2017-04-04 19:47:18 -07:00
Apoorva Joshi
c50cc8493f Add parallax occlusion mapping example (#1104)
* Added example 33-pom

* Fixed warning in 33-pom example on Windows

* Deleted unused image files

* Deleted runtime textures and shaders
2017-04-04 09:52:08 -07:00
Branimir Karadžić
fc0dc6fd32 Updated TravisCI script. 2017-04-03 23:07:35 -07:00
Branimir Karadžić
da332df73b Updated AppVeyor CI script. 2017-04-03 22:58:45 -07:00
Branimir Karadžić
08041975d7 Updated AppVeyor CI script. 2017-04-03 22:58:02 -07:00
Branimir Karadžić
1327530d70 Bumped version. 2017-04-03 22:54:31 -07:00
Branimir Karadžić
967c811e10 mtl: Fixed build. 2017-04-03 23:00:19 -07:00
Branimir Karadžić
aeaf18f553 Updated TravisCI script. 2017-04-03 22:43:00 -07:00
Branimir Karadžić
63a5044d77 Updated TravisCI script. 2017-04-03 22:41:43 -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ć
8b94c13e32 shaderc: Parse in/out correctly. 2017-04-03 17:53:14 -07:00
Branimir Karadžić
f48540040d Cleanup. 2017-04-02 21:07:44 -07:00
Branimir Karadžić
dc16c17a5a Updated ImGui. 2017-04-02 10:45:31 -07:00
Branimir Karadžić
e492eb5132 Image code cleanup, preparing for split into new lib. 2017-04-01 14:54:18 -07:00
Branimir Karadžić
f760941d86 Updated README. 2017-04-01 14:42:23 -07:00
Branimir Karadžić
8499319009 Cleanup. 2017-03-31 21:01:08 -07:00
Branimir Karadžić
1d44a7a030 Updated glslang. 2017-03-31 19:51:51 -07:00
Branimir Karadžić
79ba213379 dxbc: Fixed udiv. 2017-03-31 12:40:23 -07:00
Branimir Karadžić
452cf95df5 Cleanup. 2017-03-30 23:39:35 -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ć
37c4cc138b Cleanup. 2017-03-30 20:47:39 -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
Branimir Karadžić
84a437fae4 Fixed GitHub license detection. 2017-03-29 00:29:47 -07:00
Branimir Karadžić
294f15fd5e Allow updating RO compute buffers. 2017-03-28 17:35:16 -07:00
Branimir Karadžić
ab42f6fdd8 Fixed reading corrupted PNG. 2017-03-28 17:34:52 -07:00
Branimir Karadžić
9b3031ab35 Force at least 1 uniform element. 2017-03-27 19:27:52 -07:00
Branimir Karadžić
f59b754274 Fixed warning. 2017-03-27 11:57:12 -07:00
Branimir Karadžić
f847ece352 Fixed shaderc makefile. 2017-03-26 21:11:07 -07:00