diff options
author | Roland Scheidegger <[email protected]> | 2015-03-25 03:10:10 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2015-03-27 19:25:53 +0100 |
commit | 8dad9455ff748c543635b24908566c3b94cb93a9 (patch) | |
tree | fadf8b3b7e08a30fe37e53b4c4ea226db29ad55d /src/loader | |
parent | 787aa26cb7b48504f7770cacfc321324ecafa29a (diff) |
gallivm: pass jit_context pointer through to sampling
The callbacks used for getting the dynamic texture/sampler state were using
the jit_context from the generated jit function. This works just fine, however
that way it's impossible to generate separate functions for texture sampling,
as will be done in the next commit. Hence, pass this pointer through all
interfaces so it can be passed to a separate function (technically, it would
probably be possible to extract this pointer from the current function instead,
but this feels hacky and would probably require some more hacks if we'd use
real functions instead of inlining all shader functions at some point).
There should be no difference in the generated code for now.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/loader')
0 files changed, 0 insertions, 0 deletions