Commit Graph

3751 Commits

Author SHA1 Message Date
Branimir Karadžić
ce878f9180 Renaming float4_t to simd128_t. 2016-07-18 19:03:25 -07:00
Branimir Karadžić
f8e1780c2b Updated ImGui. 2016-07-16 17:21:45 -07:00
Branimir Karadžić
894e2d77b6 Rebuilt shaders. 2016-07-16 08:25:02 -07:00
Branimir Karadžić
11f2bc3798 Merge pull request #849 from randrew/master
Fix issues with example 18-ibl's shaders.
2016-07-16 07:57:46 -07:00
cancel
e34fdb4893 Fix issues with example 18-ibl's shaders.
Change vs_ibl_skybox.sc to correctly use radians instead of degrees when
specifying field-of-view. Additionally, use u_viewRect to find the correct
aspect ratio of the viewport, instead of hard-coding to 4/3.

Change fs_ibl_skybox.sc, fixing a number of small issues and mistakes. These
mistakes would lead to incorrect lighting results, especially with metallic
materials at glancing angles.

This commit does not include the rebuilt .bin output of shaderc for these
shaders.
2016-07-16 17:05:15 +09:00
Branimir Karadžić
2401ec325a Updated ImGui. 2016-07-14 10:42:54 -07:00
Branimir Karadžić
869c52e712 Cleanup. 2016-07-14 09:48:07 -07:00
attilaz
be61aaf968 metal: added texture blit (#848) 2016-07-14 09:03:32 -07:00
Branimir Karadžić
d15492315c Updated ImGui. 2016-07-12 22:28:49 -07:00
Branimir Karadžić
0978755a85 Updated ImGui. 2016-07-12 09:59:05 -07:00
Branimir Karadžić
c97f6c41c4 Cleanup. 2016-07-10 23:41:56 -07:00
Branimir Karadžić
e5aa71db4d Added centroid interpolation modifier. 2016-07-10 20:49:10 -07:00
Branimir Karadžić
37e233578a Cleanup. 2016-07-10 20:20:50 -07:00
Branimir Karadžić
0144de56bf Cleanup. 2016-07-10 11:32:20 -07:00
Branimir Karadžić
860c20686e Cleanup. 2016-07-10 11:10:44 -07:00
Branimir Karadžić
37e2d8bb67 Fixed build error. 2016-07-10 00:10:57 -07:00
Branimir Karadžić
6c238615ec Added missing screenshot. 2016-07-10 00:04:09 -07:00
Branimir Karadžić
ce0f05bf57 Cleanup. 2016-07-09 23:42:03 -07:00
Branimir Karadžić
a8ffb3650f Added binary shaders for 30-picking example. 2016-07-09 23:41:52 -07:00
jcherlin
f04755f9a3 Mouse Picking Example (#846)
* Added mouse picking example.
2016-07-09 23:41:38 -07:00
Branimir Karadžić
d3221c3404 Updated glsl-optimizer. 2016-07-09 20:03:47 -07:00
Branimir Karadžić
77033fe74e Cleanup. 2016-07-07 09:13:05 -07:00
Branimir Karadžić
e2b9376d7e Merge pull request #844 from attilaz/metal-wip6
metal msaa support & rendercommand encoder merge
2016-07-07 09:01:12 -07:00
attilaz
cda786ea94 metal msaa support & rendercommand encoder merge 2016-07-07 14:34:22 +02:00
Branimir Karadžić
1bd97b0d3d Fixed crash during initialization when platform data is not set correctly. 2016-07-06 20:04:07 -07:00
Branimir Karadžić
801f8ebc29 Reimplemented PR #832. 2016-07-05 22:09:55 -07:00
Branimir Karadžić
4e169a6f85 Fixed duplicate sampler state. 2016-07-05 16:57:50 -07:00
Branimir Karadžić
959b9ce35b Fixed compiler warning. 2016-07-05 14:22:31 -07:00
Branimir Karadžić
d9d0806a65 Cleanup. 2016-07-05 09:48:42 -07:00
Branimir Karadžić
7d0c5e5abc Merge pull request #843 from attilaz/metal-wip4
metal fixes
2016-07-05 09:13:53 -07:00
attilaz
c1cd627cb7 metal fixes
added cpu/gpu timer
fixed handling iOS device orientation change
fixed BGFX_DEBUG_IFH rendering
acquire drawable just before needed
added sampler comparison where available
2016-07-05 16:21:49 +02:00
Branimir Karadžić
661accb206 Cleanup. 2016-07-04 14:40:38 -07:00
Branimir Karadžić
4da126d25a Merge pull request #841 from attilaz/metal-wip3
metal save screenshot
2016-07-04 10:26:50 -07:00
attilaz
9970aab58d metal save screenshot 2016-07-04 13:42:08 +02:00
Branimir Karadžić
33ad3c0072 Merge pull request #840 from Nodrev/bugfix-mouse-click-position
Bugfix mouse click position
2016-07-03 17:09:26 -07:00
Jean-François Verdon
3bdeea1f4b Android mouse event injection is overcomplicated, and furthemore, bugged: it sends a mouse up event before a mouse down, and have other issues like the fact that he work with one event latter. Simplifying it and correcting it. 2016-07-04 01:55:20 +02:00
Jean-François Verdon
a9a7cbb86c Mouse clicks should update mouse position too 2016-07-04 01:42:44 +02:00
Branimir Karadžić
897ab8c69b Fixed issue #837. 2016-07-02 20:56:27 -07:00
Branimir Karadžić
4b26830fc1 shaderc: Allow shader without color target write. 2016-07-01 20:38:12 -07:00
Branimir Karadžić
8ff7e7bda3 Merge pull request #836 from lunkhound/fix
Fix out-of-bounds array access (was asserting in example-10-font)
2016-07-01 19:17:23 -07:00
Lunkhound
c066ca0d62 Fix out-of-bounds array access (was asserting in example-10-font, debug build) 2016-07-01 18:03:39 -07:00
Branimir Karadžić
b7913b4dbf Merge pull request #834 from attilaz/metal_wip2
metal backend
2016-07-01 07:55:54 -07:00
attilaz
c35935da81 metal backend:
- iOS9 fixes
- removing cpu/gpu syncs (wip)
2016-07-01 15:01:54 +02:00
Branimir Karadžić
60b8c081c9 Merge pull request #830 from v3n/master
Fixed implicit cast errors in Metal when strictly compiling C++
2016-06-30 08:17:57 -07:00
Jonathan Howard
ec5b2fa4dc Fixed implicit cast errors in Metal when strictly compiling C++ 2016-06-30 01:23:11 -07:00
Branimir Karadžić
629986b0a5 Updated ImGui. 2016-06-29 19:22:31 -07:00
Branimir Karadžić
103f459dfb Merge pull request #829 from mendsley/dxgi11
Attempt to use DXGI 1.1 when possible
2016-06-29 17:43:37 -07:00
Matthew Endsley
297304ebdd Attempt to use DXGI 1.1 when possible
OpenVR requires DXGI 1.1 to share textures using a keyed
mutex to guantee ordering between the compositor and application.
OpenVR will startup with an adpater created by a 1.0 factory, but
will fail when submitting frames to the compositor.

See: https://steamcommunity.com/app/358720/discussions/0/405692224241830277/
2016-06-29 15:03:16 -07:00
Branimir Karadžić
51c49e71c5 Merge pull request #828 from v3n/master
Fix for loss-of-conversion cast in shaderc for warning C4244 with warnings as errors
2016-06-29 08:55:23 -07:00
Jonathan Howard
41580bf263 Potential fix for loss-of-conversion cast in shaderc 2016-06-29 02:39:57 -07:00