Commit Graph

807 Commits

Author SHA1 Message Date
DanielGavin
e14c077b32 command sync (#1823)
Added command barrier bit when submitting with an indirect buffer - this fixes the flickering on tess-41
2019-07-21 17:33:50 -07:00
Vladimir Vukicevic
3d460e0445 Work around emscripten double-reporting GL error 2019-07-02 01:24:15 +00:00
Bastien Brunnenstein
e9ad3a6eba Use SRGB texture format on backbuffer when MSAA is enabled 2019-06-13 23:51:22 +02:00
Бранимир Караџић
8b6f466493 OS: Fixed texture2DArrayLod. 2019-05-25 19:33:54 -07:00
SnapperTT
14f13ae656 Fixed MRT buffers not being cleared if homogeneousDepth is disabled 2019-05-21 15:58:51 +10:00
SnapperTT
4842c84e56 Fixes blitter not taking into account homogeneousDepth
If the opengl render has been modified to allow glClipControl to create a hetrogeneous depth buffer then anything blitted using the internal blit() functions will set to z=-1 and culled, making things such as debug text invisible. This fixes this
2019-05-01 10:24:49 +10:00
Hugo Amnov
594cc27a65 Implement aliasing vertex buffer with different vertex declaration. 2019-04-16 18:19:55 +02:00
Бранимир Караџић
a1c39c7190 Cleanup. 2019-03-27 09:58:11 -07:00
Jan-Eric Duden
e4f0d6893a FIX asan error (false positive). Use of bx::uint32_cnttz with 0 results in undefined value. 2019-03-27 16:40:41 +01:00
Benjamin Grange
ccbb9ac6bc Fix GL texture array
Bad num layers
2019-03-16 20:43:37 +01:00
Бранимир Караџић
b19afc2e7d Cleanup. 2019-02-20 20:17:40 -08:00
Branimir Karadžić
1b9dd14683 Fixed framebuffer RW. 2019-02-18 13:40:17 -08:00
Бранимир Караџић
9d6205654d GL: Fixed glPush/PopDebugGroup stub. 2019-02-17 14:52:57 -08:00
Бранимир Караџић
e3e7e9aaf4 Cleanup. 2019-02-17 09:03:09 -08:00
Hugo Amnov
58563b0b1b FrameBuffer Read/Write access WIP 2019-02-17 16:50:26 +01:00
Бранимир Караџић
4c899553e3 Cleanup internal profiler. 2019-02-15 16:45:35 -08:00
Бранимир Караџић
dd10b04651 Fixed texture array frame buffer. 2019-02-07 18:02:48 -08:00
attilaz
8aff45398a clearquad uses uniform update instead of vertex update 2019-02-04 17:42:28 +01:00
Бранимир Караџић
9054588331 Fixed texture mip mismatch. 2019-01-30 17:43:28 -08:00
Branimir Karadžić
001cfa1ba1 Cleanup. 2019-01-29 20:46:55 -08:00
Бранимир Караџић
ec4b823db7 Fixed skip mips when crating BC textures. 2019-01-29 17:43:57 -08:00
Branimir Karadžić
1658b6a100 Fixed build. 2019-01-26 17:43:28 -08:00
Бранимир Караџић
3aeb8ce065 GL: Cleanup. 2019-01-26 15:27:04 -08:00
Бранимир Караџић
17a620a609 Cleanup. 2019-01-25 17:18:30 -08:00
Branimir Karadžić
200778511e Cleanup. 2019-01-24 20:35:09 -08:00
Бранимир Караџић
916d159965 Cleanup. 2019-01-24 20:28:26 -08:00
Branimir Karadžić
75bb36d0fb GL: Fixed setting name of write only texture. 2019-01-24 19:43:14 -08:00
Бранимир Караџић
575c6ebda4 GL: Workaround issue with setting texture name. 2019-01-24 19:34:29 -08:00
Бранимир Караџић
a0c2907c22 Added internal debug names for index/vertex buffers, shaders, and textures. 2019-01-22 14:45:33 -08:00
Бранимир Караџић
34c4d62937 Accepted PR #1596. 2019-01-21 09:52:21 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић
a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Matt Chiasson
2776279b3e VertexBufferGL unbinds correct target if destroyed
it was only unbinding `GL_DRAW_BUFFER` when the vbo target could be either `GL_DRAW_BUFFER` or `GL_DRAW_INDIRECT_BUFFER`.

see 6bff345637/src/renderer_gl.h (L1186) for detail
2018-12-22 14:45:25 -05:00
Бранимир Караџић
22fb0f7ad7 Removing VR leftovers. 2018-12-21 23:25:30 -08:00
Branimir Karadžić
095188a533 Cleanup. 2018-12-18 16:11:41 -08:00
attilaz
ec321a836e added texture functions (array,offset,gather) and image types 2018-12-13 22:30:13 +01:00
Бранимир Караџић
197eae86c9 GL: FIxed binding compute RO image. 2018-12-12 19:04:10 -08:00
Branimir Karadžić
bcfc99d094 Cleanup. 2018-11-25 20:11:03 -08:00
Branimir Karadžić
7639c5688c Added access parameter for frame buffer attachment. 2018-11-16 17:59:46 -08:00
Branimir Karadžić
5ba94e7458 Cleanup. 2018-11-15 20:08:56 -08:00
Branimir Karadžić
a50b76a9a3 Added ability to specify sampler flags for samplers used in compute shader. 2018-11-14 17:04:24 -08:00
Branimir Karadžić
a00cf3fec5 Cleanup. 2018-11-12 19:29:33 -08:00
Branimir Karadžić
01e37098a6 Fixed emscripten issue with glPolygonMode. 2018-11-09 10:15:32 -08:00
Branimir Karadžić
0309bb1acb Fixed issue #1539. 2018-10-31 17:03:51 -07:00
Branimir Karadžić
1def5343e6 Replaced strmb with strFindBlock. 2018-10-28 16:58:46 -07:00
Patrik Minder
e039d996fd Changed so that isFramebufferFormatValid checks the format even if it is not supported as a normal texture. Changed so that isTextureValid passes check if format is only supported as FrameBuffer and flags match that. (#1530) 2018-10-23 13:07:01 -07:00
Branimir Karadžić
72bf5f9870 Cleanup. 2018-10-22 18:08:01 -07:00
Branimir Karadžić
6bff345637 StringView cleanup. 2018-10-21 19:17:44 -07:00
Branimir Karadžić
623fd3cf0b shaderc: Added in/out hash. Fixed shader binary backward compatibility. 2018-10-12 16:41:26 -07:00
Branimir Karadžić
bafcf613ba Added number of blit calls submitted stat. 2018-10-09 18:10:54 -07:00