aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-03-26 21:54:16 -0500
committerJames Rowe <jroweboy@gmail.com>2018-04-06 20:44:46 -0600
commitc63f7aa93b392cab07593b8e8c6f4b51eab57d74 (patch)
tree8ded3061ecb0cacf79e0f4b5d192c8fdddd09de4 /src/core/hle/kernel/thread.cpp
parent4f1665d3658bd88d142dd103c17bb2e5367cea10 (diff)
GL: Set up the textures used for each draw call.
Each Maxwell shader stage can have an arbitrary number of textures, but we're limited to a certain number in OpenGL. We try to only use the minimum amount of host textures by not keeping a 1:1 relation between guest texture ids and host texture ids, ie, guest texture id 8 can be host texture id 0 if it's the only texture used in the guest shader program. This mapping will have to be passed to the shader decompiler so it can rewrite the texture accesses.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
0 files changed, 0 insertions, 0 deletions