summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_util.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-09-09video_core: fixed arithmetic overflow warnings & improved code stylePatrick Elsässer1-1/+1
- Fixed all warnings, for renderer_opengl items, which were indicating a possible incorrect behavior from integral promotion rules and types larger than those in which arithmetic is typically performed. - Added const for variables where possible and meaningful. - Added constexpr where possible.
2018-08-22renderer_opengl: Namespace OpenGL codeLioncash1-2/+2
Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future.
2018-07-03Rename logging macro back to LOG_*James Rowe1-3/+3
2018-04-14gl_shader_util: Grab latest upstream.bunnei1-142/+27
2018-03-27renderer_opengl: Logging, etc. cleanup.bunnei1-10/+10
2018-03-20gl_shader_util: Sync latest version with Citra.bunnei1-44/+110
2016-12-05ASSERT that shader was linked successfullyJannik Vogel1-0/+2
2016-12-05Print broken shader code to logJannik Vogel1-3/+9
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-3/+1
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-1/+2
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot1-1/+2
2015-10-22gl_shader_gen: Use explicit locations for vertex shader attributes.bunnei1-6/+0
2015-10-22gl_rasterizer: Define enum types for each vertex texcoord attribute.bunnei1-3/+3
2015-10-22gl_shader_gen: Various cleanups to shader generation.bunnei1-3/+3
2015-10-22renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.bunnei1-345/+3
2015-10-22gl_shader_util: Use vec3 constants for AppendColorCombiner.bunnei1-6/+6
2015-10-22gl_shader_util: Fix precision bug with alpha testing.bunnei1-7/+7
- Alpha testing is not done with float32 precision, this makes the HW renderer match the SW renderer.
2015-10-22Initial implementation of fragment shader generation with caching.Subv1-0/+349
2015-09-11video_core: Reorganize headersLioncash1-4/+4
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift1-1/+1
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2014-12-21License changepurpasmart961-1/+1
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-6/+18
2014-12-03Change NULLs to nullptrs.Rohit Nirmal1-5/+5
2014-10-21Only check OpenGL shader log if size is >1.Yuri Kunde Schlesner1-9/+6
This prevents a crash when the buffer size returned by the driver is 0, in which case no space is allocated to store even the NULL byte and glGetShaderInfoLog errors out. Thanks to @Relys for the bug report.
2014-08-26Rewrite of OpenGL renderer, including OS X supportKevin Hartman1-0/+81
Screen contents are now displayed using textured quads. This can be updated to expose an FBO once an OpenGL backend for when Pica rendering is being worked on. That FBO's texture can then be applied to the quads. Previously, FBO blitting was used in order to display screen contents, which did not work on OS X. The new textured quad approach is less of a compatibility risk.