Commit Graph

1933 Commits

Author SHA1 Message Date
Branimir Karadžić
276d1557de D3D11: Added multiple vertex stream support. 2017-05-12 17:53:12 -07:00
Branimir Karadžić
8406c9cc72 D3D12: Fixed blit. 2017-05-09 23:03:03 -07:00
Branimir Karadžić
dd836d3e45 Cleanup. 2017-05-08 17:51:26 -07:00
Branimir Karadžić
64dc397d53 Added nVidia Optimus, and AMD PowerXpress workarounds. 2017-05-06 16:45:49 -07:00
Branimir Karadžić
5cf382eac5 Fixed blit submit. 2017-05-05 22:56:57 -07:00
Branimir Karadžić
5be58d37c6 Fixix blit submit. 2017-05-05 22:22:14 -07:00
Branimir Karadžić
682cbc60ab GL: Fixed texture blit in last view. 2017-05-05 21:25:44 -07:00
Branimir Karadžić
2e31ff9fd4 shaderc: Fixed pack/unpackHalf2x16. 2017-05-04 18:00:42 -07:00
Branimir Karadžić
748a9af62a compute: Fixed imageSize. 2017-04-28 16:18:59 -07:00
Eric Budai
6c41e0e9aa static analysis fixes (#1124) 2017-04-26 19:58:31 -07:00
Branimir Karadžić
f300010028 Added setVertexBuffer with stream index. 2017-04-25 20:11:17 -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ć
3d73d0904b shaderc: Added support for gl_VertexID/InstanceID. Issue #1062. 2017-04-23 15:53:15 -07:00
Branimir Karadžić
aba8438683 Fixed OSX build. 2017-04-22 16:22:57 -07:00
Branimir Karadžić
c9679731a5 Renaming string functions. 2017-04-22 14:47:02 -07:00
Branimir Karadžić
2d766b34e1 Clamp minimum window size to 1x1. 2017-04-17 17:54:59 -07:00
Branimir Karadžić
fec8e3a2bd Cleanup. 2017-04-17 14:56:44 -07:00
Branimir Karadžić
5ab9add4b8 Fixed OSX build. 2017-04-16 22:09:34 -07:00
Branimir Karadžić
6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00
Branimir Karadžić
73edc54b2e D3D11: Quiet some debug messages. 2017-04-14 18:10:15 -07:00
Branimir Karadžić
5cc3d866d7 GLSL: Fixed image3D compute intrisics. 2017-04-10 12:50:54 -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ć
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ć
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ć
967c811e10 mtl: Fixed build. 2017-04-03 23:00:19 -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ć
79ba213379 dxbc: Fixed udiv. 2017-03-31 12:40:23 -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
Branimir Karadžić
294f15fd5e Allow updating RO compute buffers. 2017-03-28 17:35:16 -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ć
0cc945c988 D3D12: Added info about both local and non-local memory. 2017-03-25 00:13:15 -07:00
Branimir Karadžić
db3939ca16 Merge pull request #1093 from BrianHarris/master
Vulkan/Spirv updates
2017-03-24 17:06:24 -07:00
Brian Harris
38226cf2c5 Vulkan fixes 2017-03-24 15:20:16 -05:00
Branimir Karadžić
082b2a0c02 Fixed issue #1085. 2017-03-23 20:27:16 -07:00