summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/clear.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-06-07 15:25:55 +1000
committerDave Airlie <[email protected]>2016-08-23 11:03:45 +1000
commit4566aaaa5b169724174e04dc0a99a37ae0abcd2a (patch)
tree7a868b06b480e0469b9fd19b1d78f3515d6f6942 /src/mesa/main/clear.c
parent27d20ee264429ecf43968fa1a746ff428262cfb9 (diff)
mesa/subroutines: start adding per-context subroutine index support (v1.1)
One piece of ARB_shader_subroutine I ignored was the fact that it needs to store the subroutine index data per context and not per shader program. There is one CTS test that tests this: GL45-CTS.shader_subroutine.multiple_contexts However the test only does a write to context and readback, it never renders using the values, so this is enough to fix the test however not enough to do what the spec says. So with this patch the info is now stored per context, but it gets updated into the program at UseProgram and when the values are inserted into the context, which won't help if multiple contexts are in use in multiple threads. v1.1: cleanups and nit-picks (Andres) Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Andres Gomez <[email protected]>
Diffstat (limited to 'src/mesa/main/clear.c')
0 files changed, 0 insertions, 0 deletions