diff options
author | Christoph Bumiller <[email protected]> | 2010-09-16 14:47:44 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-09-16 14:49:23 +0200 |
commit | 3a62365f402b1159afd526fb4b510cdb51de1365 (patch) | |
tree | 29c48ea4570967a69532fa239d939bfd5ffdfb6e /src/gallium/drivers/nv50/nv50_program.h | |
parent | e0aa7e043803b10f503440ed088d89b67f5fd66f (diff) |
nv50: get shader fixups/relocations into working state
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_program.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.h b/src/gallium/drivers/nv50/nv50_program.h index c92af317f43..37b02bbec7c 100644 --- a/src/gallium/drivers/nv50/nv50_program.h +++ b/src/gallium/drivers/nv50/nv50_program.h @@ -85,6 +85,7 @@ struct nv50_program { uint8_t prim_type; /* point, line strip or tri strip */ } gp; + /* relocation records */ void *fixups; unsigned num_fixups; }; @@ -126,6 +127,10 @@ struct nv50_translation_info { }; int nv50_generate_code(struct nv50_translation_info *ti); + +void nv50_relocate_program(struct nv50_program *p, + uint32_t code_base, uint32_t data_base); + boolean nv50_program_tx(struct nv50_program *p); #endif /* __NV50_PROG_H__ */ |