summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp
AgeCommit message (Collapse)Author
2012-10-09fix stupid indentationJordan Woyak
2012-10-09have separate variables/functions for VS/PS ubo stuff, array was confusing.Jordan Woyak
2012-10-09Disable UBO buffer generation if hardware doesn't support it.Ryan Houdek
2012-10-09More coding style fixes because I suck at sedPierre Bourdon
2012-10-098 spaces indentation -> tabsPierre Bourdon
2012-10-09Make this prettyRyan Houdek
2012-10-09Make sure our UBO buffers are always aligned correctly.Ryan Houdek
2012-10-09Use UBOs in every shader. I had missed a few. Only cache Uniform locations ↵Ryan Houdek
if we aren't using UBOs.
2012-10-09Make sure to support everything even if GPU doesn't.Ryan Houdek
2012-10-09yay, UBOs work 100% now.Ryan Houdek
2012-10-09UBO works for Pixel Shaders if Binding for UBO is zero, otherwise fails. ↵Ryan Houdek
Probably why Vertex shader UBO is failing. Too tired to investigate right now.
2012-10-09More for Billiard <3Ryan Houdek
2012-10-09Firin ma lazerRyan Houdek
2012-10-09Firin ma lazerRyan Houdek
2012-10-09Fix one error.Ryan Houdek
2012-10-09Remove bSupportsGLSLLocation since it won't work how I expect it.Ryan Houdek
2012-10-09Add in UBOs, doesn't work yet. Still debugging here.Ryan Houdek
2012-10-09Add in GLSL setting again.Ryan Houdek
PS and VS making. Untested and won't work for now. Add in program shader cache files. Readd NativeVertexFormat stuffs. Add in PS and VS cache things. SetShaders in places. Fixed EFB cache index computations in OpenGL renderer. The previous computation was very likely to go out of array bounds, which could result in crashes on EFB access. Also, the cache size was rounded down instead of up. This is a problem since EFB_HEIGHT (528) is not a multiple of EFB_CACHE_RECT_SIZE (64).