yuzu/src/video_core/renderer_opengl
ReinUsesLisp 8d4bb10d44 gl_shader_decompiler: Guard out of bound geometry shader input reads
Geometry shaders follow a pattern that results in out of bound reads.
This pattern is:
- VSETP to predicate
- Use that predicate to conditionally set a register a big number
- Use the register to access geometry shaders
At the time of writing this commit I don't know what's the intent of
this number. Some drivers argue about these out of bound reads. To avoid
this issue, input reads are guarded limiting reads to the highest
posible vertex input of the current topology (e.g. points to 1 and
triangles to 3).
2018-11-10 03:10:50 -03:00
..
gl_buffer_cache.cpp global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
gl_buffer_cache.h rasterizer_cache: Refactor to support in-order flushing. 2018-10-16 16:51:53 -04:00
gl_primitive_assembler.cpp global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
gl_primitive_assembler.h gl_rasterizer: Implement quads topology 2018-10-04 00:03:44 -03:00
gl_rasterizer_cache.cpp gl_rasterizer_cache: Add profiles for Copy and Blit. 2018-11-06 17:45:32 +01:00
gl_rasterizer_cache.h Merge pull request #1616 from FernandoS27/cube-array 2018-11-05 15:28:48 -05:00
gl_rasterizer.cpp Add support to color mask to avoid issues in blending caused by wrong values in the alpha channel in some render targets. 2018-11-05 00:24:19 -03:00
gl_rasterizer.h Add support to color mask to avoid issues in blending caused by wrong values in the alpha channel in some render targets. 2018-11-05 00:24:19 -03:00
gl_resource_manager.cpp gl_resource_manager: Amend clang-format discrepancies 2018-11-08 00:23:45 -05:00
gl_resource_manager.h gl_resource_manager: Split implementations in .cpp file. 2018-11-06 14:40:39 +01:00
gl_shader_cache.cpp gl_shader_decompiler: Guard out of bound geometry shader input reads 2018-11-10 03:10:50 -03:00
gl_shader_cache.h gl_shader_decompiler: Guard out of bound geometry shader input reads 2018-11-10 03:10:50 -03:00
gl_shader_decompiler.cpp gl_shader_decompiler: Guard out of bound geometry shader input reads 2018-11-10 03:10:50 -03:00
gl_shader_decompiler.h global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
gl_shader_gen.cpp gl_shader_decompiler: Guard out of bound geometry shader input reads 2018-11-10 03:10:50 -03:00
gl_shader_gen.h gl_shader_decompiler: Move position varying declaration back to gl_shader_gen 2018-10-20 02:19:30 -03:00
gl_shader_manager.cpp Use standard UBO and fix/stylize the code 2018-10-22 15:07:33 -04:00
gl_shader_manager.h gl_resource_manager: Split implementations in .cpp file. 2018-11-06 14:40:39 +01:00
gl_shader_util.cpp
gl_shader_util.h
gl_state.cpp Add support to color mask to avoid issues in blending caused by wrong values in the alpha channel in some render targets. 2018-11-05 00:24:19 -03:00
gl_state.h Add support to color mask to avoid issues in blending caused by wrong values in the alpha channel in some render targets. 2018-11-05 00:24:19 -03:00
gl_stream_buffer.cpp gl_stream_buffer: Profile orphaning of stream buffer. 2018-11-06 17:45:32 +01:00
gl_stream_buffer.h
maxwell_to_gl.h Fixed Block Resizing algorithm and Clang Format 2018-10-28 19:00:03 -04:00
renderer_opengl.cpp global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
renderer_opengl.h global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
utils.cpp video_core: Move OpenGL specific utils to its renderer 2018-10-28 22:22:30 -03:00
utils.h video_core: Move OpenGL specific utils to its renderer 2018-10-28 22:22:30 -03:00