Commit Graph

1943 Commits

Author SHA1 Message Date
Бранимир Караџић
1926e9c0a3 Cleanup. 2019-10-31 07:32:36 -07:00
Sandy
c7950c6db3 view stats: Make CPU and GPU timestamps available (#1921)
* view stats: Make GPU begin and end times available

* view stats: Make CPU start and end times available

* view stats: Remove redundant `gpuTimeElapsed`

Value can be derived by `gpuTimeEnd - gpuTimeBegin`

* view stats: Remove redundant `cpuTimeElapsed`

Value can be derived by `cpuTimeEnd - cpuTimeBegin`
2019-10-31 07:30:35 -07:00
Бранимир Караџић
e234a7add3 Cleanup. 2019-10-27 15:20:26 -07:00
Бранимир Караџић
510701532b Cleanup. 2019-10-27 08:30:24 -07:00
attilaz
652cbac63d added cofactor function to shaderlib.sh
It is useful to transform normals.
2019-09-20 07:49:39 -07:00
Бранимир Караџић
6533baff7b Cleanup. 2019-09-08 22:10:42 -07:00
Бранимир Караџић
016f29eea7 Cleanup. 2019-08-24 11:29:45 -07:00
Leandro Freire
33ac8934ff Fixed tabs/spaces 2019-08-17 14:56:23 -07:00
Бранимир Караџић
3f647f1ca1 Fixed tabs/spaces. 2019-08-17 13:32:18 -07:00
Leandro Freire
d7c70c49e3 Add url to examples 2019-08-17 13:27:38 -07:00
Leandro Freire
1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Бранимир Караџић
2814ee8bb7 Fixed openUrl. 2019-08-16 07:05:01 -07:00
attilaz
75d5662f0b Metal: added support for binding buffers to vertex/fragment shader stages
I have removed the SamplerInfo workaround, because new shaderc preserves texture stages. Some shaders needed recompile with latest shaderc to get the new behavior.
2019-08-16 06:58:44 -07:00
Attila Kocsis
e0b99aa358 15-shadowmaps-simple: Fixed float depth packing mode 2019-08-16 06:49:25 -07:00
Бранимир Караџић
e9a199d22b VK: Added 21-deferred shaders. 2019-08-15 21:55:01 -07:00
Бранимир Караџић
07a0ecd743 Cleanup. 2019-08-15 08:11:34 -07:00
Бранимир Караџић
1768ace0f7 Cleanup. 2019-08-14 22:31:32 -07:00
Бранимир Караџић
7b01a4dc9a Cleanup. 2019-08-14 22:21:29 -07:00
Бранимир Караџић
70d460bf32 Fixed build. 2019-08-14 21:46:50 -07:00
Бранимир Караџић
83ad581efd examples: Added example URL. 2019-08-14 21:19:49 -07:00
Бранимир Караџић
a5898b131b examples: Added documentation link. 2019-08-14 21:19:03 -07:00
Бранимир Караџић
6f1485190f VK: Added compute shaders. 2019-08-13 20:32:22 -07:00
Бранимир Караџић
3ea3f32c06 VK: Added compute shaders. 2019-08-13 20:00:48 -07:00
Бранимир Караџић
4ed381b2e9 VK: Added compute shaders. 2019-08-13 19:34:59 -07:00
Бранимир Караџић
4986981378 VK: Added compute shaders. 2019-08-13 18:47:21 -07:00
Leandro Freire
855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
Бранимир Караџић
73362c3989 Rebuilt shaders. 2019-08-10 10:26:00 -07:00
Бранимир Караџић
0e673379d6 Added SPIRV shaders. 2019-08-07 21:53:56 -07:00
Бранимир Караџић
d1ab7164af 09-hdr: Added SPIRV shaders. 2019-08-07 07:00:06 -07:00
Бранимир Караџић
3c93448183 Added few spirv shaders. 2019-08-05 22:12:46 -07:00
Rinthel Kwon
6927a9179b vulkan renderer draft implementation 2019-08-04 19:51:16 -07:00
Martijn Courteaux
6c6f43cff0 Fixed gather after cleanup in 49bd00e. 2019-08-04 16:58:25 -07:00
Paul Gruenbacher
ccc48c96a2 fix dialog null terminator (#1835) 2019-07-27 19:26:48 -07:00
Бранимир Караџић
f3955fca15 41-tess: Added metal shaders. 2019-07-24 19:53:13 -07:00
Бранимир Караџић
267269f01b Cleanup. 2019-07-21 22:02:07 -07:00
Branimir Karadžić
4059478495 41-tess: Added shaders. 2019-07-21 21:49:45 -07:00
Бранимир Караџић
a91fbfcb69 41-tess: Added screenshot. 2019-07-20 19:24:40 -07:00
Бранимир Караџић
89fd7afb09 Cleanup. 2019-07-20 18:37:55 -07:00
Бранимир Караџић
1c7c9a0799 Cleanup. 2019-07-20 18:30:31 -07:00
Бранимир Караџић
29d3a01e3a Cleanup. 2019-07-20 18:22:28 -07:00
DanielGavin
caccb56707 example 41-tess (#1821)
* new example

new tess example

* renaming

Rename clock to counter...

* clean

Remove comments

* clean up

removed vector and const char* path

* ups

Removing compiled shaders...
2019-07-20 17:04:35 -07:00
Бранимир Караџић
7ba6cd72cd Fixed #1820. 2019-07-19 18:40:03 -07:00
Бранимир Караџић
d7d74c19c6 Cleanup. 2019-07-17 21:45:17 -07:00
Бранимир Караџић
9a4e44bfdc Cleanup. 2019-07-17 21:43:55 -07:00
attilaz
72d0a0c4fa index buffer generation using final vertex data (#1816)
This results a smaller output file for some meshes.
2019-07-13 09:07:33 -07:00
Brian Richardson
650c1733be Tweak fs_font_basic shader to work on Raspberry Pi 3. (#1803)
DX shaders not updated because I'm not on Windows.
2019-07-12 21:53:12 -07:00
Vladimir Vukicevic
6838719246 Remove printf in entry_asmjs that requires stdio.h 2019-07-02 01:24:15 +00:00
Pierre-Eric Pelloux-Prayer
ef3ad2bdd1 Fix gpudrivenrendering example on Linux
Skip the first frame because the content of m_drawcallInstanceCounts is uninitialized,
and the atomicAdd used in RENDER_PASS_OCCLUDE_PROPS_ID can produce random results.

Fixes #1794
2019-06-20 21:02:58 +02:00
Andy Duplain
26c2aa0e2d Fix compilation of example entry_winrt.cx on VS2017. 2019-05-31 12:15:49 +01:00
Бранимир Караџић
f2898511fd 06-bump: Fixed bad ifdef. 2019-05-14 07:29:38 -07:00