summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_system.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-11-10 02:41:33 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2018-11-10 03:10:50 -0300
commit8d4bb10d443060dc56d6c6ddd9b84bbea00874d3 (patch)
treee171445255a669bf311468f0c005fe2045802627 /src/yuzu/configuration/configure_system.cpp
parent29f082775b400c56d7afe45b84ad8821e255f127 (diff)
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).
Diffstat (limited to 'src/yuzu/configuration/configure_system.cpp')
0 files changed, 0 insertions, 0 deletions