nv50: apply relocations to shader code
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 2 Mar 2011 14:39:57 +0000 (15:39 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 2 Mar 2011 19:59:53 +0000 (20:59 +0100)
commit908013b7370f8dfe20a1ab41b353968a60a9055d
tree22178053edb6afcf2a17d58c9acc2922ee6438c4
parent040ff18a2116c7acee51c57b7b0442ca18cdb0ad
nv50: apply relocations to shader code

On nv50, branches are absolute, so we need to adjust them according
to the shader's position in the code buffer.
src/gallium/drivers/nv50/nv50_shader_state.c