summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_device.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gl_device: Fix TestVariableAoffi testReinUsesLisp2019-06-121-1/+2
| | | | | | | | | | | | This test is intended to be invalid GLSL, but it was being invalid in two points instead of one. The intention is to use a non-immediate parameter in a textureOffset like function. The problem is that this shader was being compiled as a separable shader object and the text was writting to gl_Position without a redeclaration, being invalid GLSL. Address that issue by using a user-defined output attribute.
* Merge pull request #2512 from ReinUsesLisp/comp-indexingbunnei2019-06-061-0/+54
|\ | | | | gl_shader_decompiler: Pessimize uniform buffer access on AMD's prorpietary driver
| * gl_device: Add test to detect broken component indexingReinUsesLisp2019-05-241-0/+54
| | | | | | | | | | | | | | | | | | | | Component indexing on AMD's proprietary driver is broken. This commit adds a test to detect when we are on a driver that can't successfully manage component indexing. It dispatches a dummy draw with just one vertex shader that writes to an indexed SSBO from the GPU with data sent through uniforms, it then reads that data from the CPU and compares the expected output.
* | gl_device: Add commentary to AOFFI unit test source codeReinUsesLisp2019-05-271-0/+1
|/ | | | | The intention behind this commit is to hint someone inspecting an apitrace dump to ignore this ill-formed GLSL code.
* gl_shader_decompiler: Declare all possible varyings on physical attribute usageReinUsesLisp2019-05-031-0/+9
|
* gl_shader_decompiler: Use variable AOFFI on supported hardwareReinUsesLisp2019-04-141-3/+21
|
* gl_device: Implement interface and add uniform offset alignmentReinUsesLisp2019-04-101-0/+27