1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-03 13:03:38 +00:00
Commit graph

1525 commits

Author SHA1 Message Date
bjorn 0e0ac05c6f Attempt towards more comprehensive barriers; 2018-08-11 21:17:22 -07:00
bjorn 246e9b13b9 Better shader compilation error messages; 2018-08-11 00:09:47 -07:00
bjorn 1295481dc0 Better error message; 2018-08-11 00:09:47 -07:00
bjorn cc440c9784 Support format parameter in newTextureData; 2018-08-11 00:09:47 -07:00
bjorn 58dc34ec64 Proper format support for image uniforms; 2018-08-11 00:08:34 -07:00
bjorn 7528ac2db8 Fix texture format for image uniforms; 2018-08-11 00:08:34 -07:00
bjorn a1f200cb61 Use GLSL version 430 for compute shaders; 2018-08-11 00:08:34 -07:00
bjorn 6d10f5c7d0 Post-merge fixes; 2018-08-11 00:08:34 -07:00
bjorn 9ce462a67f Image uniforms; 2018-08-11 00:08:34 -07:00
bjorn d961614184 Attempt automatic glMemoryBarrier; 2018-08-11 00:08:34 -07:00
bjorn 9e111071e8 webgl stuff;
I shouldn't need to do this but will fix it later.
2018-08-11 00:08:34 -07:00
bjorn c3823a6f9a ARB_shader_image_load_store; rm opengl es from glad;
This means we had to remove rgb565 and FRAMEBUFFER_INCOMPLETE_DIMENSIONS.
2018-08-11 00:08:34 -07:00
bjorn 902239c017 lovr.graphics.wait; Barrier; 2018-08-11 00:08:34 -07:00
bjorn 94b15c40c2 line 0 in compute prefix; 2018-08-11 00:08:34 -07:00
bjorn b891a930bf shaders.c: consistent ordering in header and implementation; 2018-08-11 00:08:34 -07:00
bjorn 5c65fc811f Change "drawing" to "rendering" in comments; 2018-08-11 00:08:33 -07:00
bjorn 3dabe0cf34 setShader errors on compute shaders; 2018-08-11 00:08:33 -07:00
bjorn e371359193 Compute shader glsl prefix; 2018-08-11 00:08:33 -07:00
bjorn 98e518683a Add computeshaders to lovr.graphics.getSupported; 2018-08-11 00:08:33 -07:00
bjorn 3b51056870 lovr.graphics.compute; 2018-08-11 00:08:33 -07:00
bjorn 2cb6de47f2 Compute shader creation; 2018-08-11 00:08:33 -07:00
bjorn b1079f5ce8 Separate initialization for graphics/compute shaders; 2018-08-11 00:08:33 -07:00
bjorn d14ddb5182 Update README; 2018-08-10 19:00:03 -07:00
bjorn aea6b59393 rm COMPILING.md; 2018-08-10 18:58:46 -07:00
bjorn 527e3f410f rm freetype from CMakeLists; 2018-08-10 18:49:48 -07:00
bjorn 5e29b47aea rm deps/freetype submodule; 2018-08-10 18:49:03 -07:00
bjorn bf3ed3ed1f Texture improvements;
Textures no longer keep references to their TextureData.
lovrTextureAllocate can now be used to allocate texture storage,
and isn't weirdly coupled to lovrTextureReplacePixels.
Better error messages for textures.
2018-08-09 16:12:57 -07:00
bjorn 8d9ccbf2ba Disable COLLADA importer; 2018-08-09 14:50:43 -07:00
Bjorn Swenson 06379f33ee
Merge pull request #49 from bjornbytes/shader-block
ShaderBlock
2018-08-07 15:17:06 -07:00
bjorn ae70728ae1 Ok is this a driver bug or what; 2018-08-07 13:26:28 -07:00
bjorn 78d9cc0031 Actually set shader uniforms; 2018-08-06 13:44:46 -07:00
bjorn 8f529d3a37 Fix potential infinite loop in error handler; 2018-08-06 13:26:17 -07:00
bjorn 175de8924f Ensure uniform count is always positive; 2018-08-06 13:25:04 -07:00
bjorn bdf130800e ShaderBlock:getShaderCode; 2018-08-06 11:46:42 -07:00
bjorn f95685ba80 ShaderBlock:send(blob); 2018-08-06 10:42:23 -07:00
bjorn 86380e7694 ShaderBlock:getOffset; 2018-08-06 10:42:19 -07:00
bjorn e3e17bc84c ShaderBlock:isWritable; 2018-08-06 10:41:57 -07:00
bjorn 70b27bd846 Use new table shorthand for newShaderBlock formats;
Also luax_checkuniformtype and error message improvements.
2018-08-06 10:34:12 -07:00
bjorn 08b113f755 opps; 2018-08-06 09:12:59 -07:00
bjorn 22b674b737 emscripten guards; 2018-08-06 08:51:06 -07:00
bjorn 5cefe023d1 Fix issue where binding msaa canvas could fail; 2018-08-04 18:46:04 -07:00
bjorn a713a3d14f Use 4 for default msaa instead of max;
Turns out msaa of 32 is really really slow
2018-08-04 18:44:36 -07:00
bjorn c770ec6226 Fix undefined variable; 2018-08-03 19:21:15 -07:00
bjorn f973f259c7 Update CMakeLists; 2018-08-03 18:39:04 -07:00
bjorn b33e0e33c5 Improve error messages slightly; 2018-08-03 13:19:28 -07:00
bjorn 66c1f373d3 Fix (i)vec3 std140; 2018-08-03 12:36:25 -07:00
bjorn 75159a7823 Error if you try to create an SSBO but it's not supported; 2018-08-03 12:30:01 -07:00
bjorn 96a1d96798 Shader refcounts its blocks; 2018-08-03 12:28:25 -07:00
bjorn 1d4992a1ff Enforce limits on UBO/SSBO count in Shaders; 2018-08-03 12:24:41 -07:00
bjorn 5e9ef9a757 rm writable from UniformBlock; 2018-08-03 12:22:28 -07:00