aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/decode/integer_set.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-15 20:34:55 -0400
committerLioncash <mathew1800@gmail.com>2019-04-29 01:38:27 -0400
commit6112c4da0ade68b070536cdaf11a988564eb3cb8 (patch)
tree974a6a0992c6e5ab583d1a1e67c20028b7d7c765 /src/video_core/shader/decode/integer_set.cpp
parent9f8d31a80333a9e7f75e49e9e5a9a5bdb877a25c (diff)
kernel/svc: Reorganize svcSetThreadCoreMask()
Makes the code much nicer to follow in terms of behavior and control flow. It also fixes a few bugs in the implementation. Notably, the thread's owner process shouldn't be accessed in order to retrieve the core mask or ideal core. This should be done through the current running process. The only reason this bug wasn't encountered yet is because we currently only support running one process, and thus every owner process will be the current process. We also weren't checking against the process' CPU core mask to see if an allowed core is specified or not. With this out of the way, it'll be less noisy to implement proper handling of the affinity flags internally within the kernel thread instances.
Diffstat (limited to 'src/video_core/shader/decode/integer_set.cpp')
0 files changed, 0 insertions, 0 deletions