aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl
AgeCommit message (Collapse)Author
2019-09-05gl_shader_decompiler: Keep track of written images and mark them as modifiedReinUsesLisp
2019-09-05gl_rasterizer: Apply textures and images stateReinUsesLisp
2019-09-05gl_rasterizer: Add samplers to compute dispatchesReinUsesLisp
2019-09-05gl_rasterizer: Minor code changesReinUsesLisp
2019-09-05gl_state: Split textures and samplers into two arraysReinUsesLisp
2019-09-05gl_rasterizer: Implement image bindingsReinUsesLisp
2019-09-05gl_state: Add support for glBindImageTexturesReinUsesLisp
2019-09-05texture_cache: Pass TIC to texture cacheReinUsesLisp
2019-09-05kepler_compute: Implement texture queriesReinUsesLisp
2019-09-05gl_rasterizer: Split SetupTexturesReinUsesLisp
2019-09-05Merge pull request #2804 from ReinUsesLisp/remove-gs-specialFernando Sahmkow
gl_shader_cache: Remove special casing for geometry shaders
2019-09-05Merge pull request #2833 from ReinUsesLisp/fix-stencilbunnei
gl_rasterizer: Fix stencil testing
2019-09-04gl_shader_decompiler: Fixup slow pathReinUsesLisp
2019-09-04gl_rasterizer: Fix stencil testingReinUsesLisp
* Fix stencil dirty flags tracking when stencil is disabled * Attach stencil on clears (previously it only attached depth) * Attach stencil on drawing regardless of stencil testing being enabled
2019-09-04gl_shader_cache: Remove special casing for geometry shadersReinUsesLisp
Now that ProgramVariants holds the primitive topology we no longer need to keep track of individual geometry shaders topologies.
2019-09-04gl_device: Disable precise in fragment shaders on bugged driversReinUsesLisp
2019-09-04gl_shader_decompiler: Fixup AMD's slow path typeReinUsesLisp
2019-09-04gl_shader_decompiler: Rework GLSL decompiler type systemReinUsesLisp
GLSL decompiler type system was broken. We converted all return values to float except for some cases where returning we couldn't and implicitly broke the rule of returning floats (e.g. for bools or bool pairs). Instead of doing this introduce class Expression that knows what type a return value has and when a consumer wants to use the string it asks for it with a required type, emitting a runtime error if types are incompatible. This has the disadvantage that there's more C++ code, but we can emit better GLSL code that's easier to read.
2019-09-03Merge pull request #2793 from ReinUsesLisp/bgr565bunnei
renderer_opengl: Implement RGB565 framebuffer format
2019-08-30video_core: Silent miscellaneous warnings (#2820)Rodrigo Locatti
* texture_cache/surface_params: Remove unused local variable * rasterizer_interface: Add missing documentation commentary * maxwell_dma: Remove unused rasterizer reference * video_core/gpu: Sort member declaration order to silent -Wreorder warning * fermi_2d: Remove unused MemoryManager reference * video_core: Silent unused variable warnings * buffer_cache: Silent -Wreorder warnings * kepler_memory: Remove unused MemoryManager reference * gl_texture_cache: Add missing override * buffer_cache: Add missing include * shader/decode: Remove unused variables
2019-08-29gl_buffer_cache: Add missing includeReinUsesLisp
RasterizerInterface was considered an incomplete object by clang.
2019-08-29Merge pull request #2742 from ReinUsesLisp/fix-texture-buffersbunnei
gl_texture_cache: Miscellaneous texture buffer fixes
2019-08-29Merge pull request #2783 from FernandoS27/new-buffer-cachebunnei
Implement a New LLE Buffer Cache
2019-08-21shader_ir: Implement VOTEReinUsesLisp
Implement VOTE using Nvidia's intrinsics. Documentation about these can be found here https://developer.nvidia.com/reading-between-threads-shader-intrinsics Instead of using portable ARB instructions I opted to use Nvidia intrinsics because these are the closest we have to how Tegra X1 hardware renders. To stub VOTE on non-Nvidia drivers (including nouveau) this commit simulates a GPU with a warp size of one, returning what is meaningful for the instruction being emulated: * anyThreadNV(value) -> value * allThreadsNV(value) -> value * allThreadsEqualNV(value) -> true ballotARB, also known as "uint64_t(activeThreadsNV())", emits VOTE.ANY Rd, PT, PT; on nouveau's compiler. This doesn't match exactly to Nvidia's code VOTE.ALL Rd, PT, PT; Which is emulated with activeThreadsNV() by this commit. In theory this shouldn't really matter since .ANY, .ALL and .EQ affect the predicates (set to PT on those cases) and not the registers.
2019-08-21Buffer Cache: Adress Feedback.Fernando Sahmkow
2019-08-21Buffer_Cache: Implement flushing.Fernando Sahmkow
2019-08-21Video_Core: Implement a new Buffer CacheFernando Sahmkow
2019-08-21Merge pull request #2769 from FernandoS27/commands-flushbunnei
GPU: Flush commands on every dma pusher step.
2019-08-21Merge pull request #2753 from FernandoS27/float-convertbunnei
Shader_Ir: Implement F16 Variants of F2F, F2I, I2F.
2019-08-21renderer_opengl: Implement RGB565 framebuffer formatReinUsesLisp
2019-08-21renderer_opengl: Use block linear swizzling for CPU framebuffersReinUsesLisp
2019-08-21renderer_opengl: Use VideoCore pixel formatReinUsesLisp
2019-08-21gpu: Change optional<reference_wrapper<T>> to T* for FramebufferConfigReinUsesLisp
2019-07-26GPU: Flush commands on every dma pusher step.Fernando Sahmkow
This commit ensures that the host gpu is constantly fed with commands to work with, while the guest gpu keeps producing the rest of the commands. This reduces syncing time between host and guest gpu.
2019-07-25Merge pull request #2743 from FernandoS27/surpress-assertbunnei
Downgrade and suppress a series of GPU asserts and debug messages.
2019-07-24Merge pull request #2704 from FernandoS27/conditionalbunnei
maxwell3d: Implement Conditional Rendering
2019-07-22Merge pull request #2734 from ReinUsesLisp/compute-shadersbunnei
gl_rasterizer: Implement compute shaders
2019-07-21Merge pull request #2735 from FernandoS27/pipeline-reworkbunnei
Rework Dirty Flags in GPU Pipeline, Optimize CBData and Redo Clearing mechanism
2019-07-20Shader_Ir: Implement F16 Variants of F2F, F2I, I2F.Fernando Sahmkow
This commit takes care of implementing the F16 Variants of the conversion instructions and makes sure conversions are done.
2019-07-20Maxwell3D: Reorganize and address feedbackFernando Sahmkow
2019-07-19shader/half_set_predicate: Fix HSETP2 implementationReinUsesLisp
2019-07-18Gl_Texture_Cache: Remove assert on component type in GetFormatTupleFernando Sahmkow
Textures can have different components types in different orders. This assert was completely inprecise and the effectiveness of such is better handled by case and within the texture cache.
2019-07-18gl_shader_decompiler: Rename bufferImage to imageBufferReinUsesLisp
The online OpenGL documentation is wrong. The type definition is imageBuffer.
2019-07-18gl_shader_cache: Fix newline on buffer preprocessor definitionsReinUsesLisp
2019-07-18gl_texture_cache: Do not set texture parameters to buffersReinUsesLisp
2019-07-18gl_texture_cache: Add missing break in CreateTextureReinUsesLisp
2019-07-17GL_State: Feedback and fixesFernando Sahmkow
2019-07-17Maxwell3D: Address FeedbackFernando Sahmkow
2019-07-17GL_Rasterizer: Corrections to Clearing.Fernando Sahmkow
2019-07-17GL_Rasterizer: Rework RenderTarget/DepthBuffer clearingFernando Sahmkow