diff options
author | Corbin Simpson <[email protected]> | 2009-08-02 16:56:52 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-08-02 16:56:52 -0700 |
commit | 30bca7a4e6ad4e5a9fc74aba2eb854bb1341cca7 (patch) | |
tree | 225de18a7604621744e35875261a247abd114e42 /src/gallium/drivers/r300/r300_fs.h | |
parent | d07bf2b35c1419bdef824092e509c70ffb11fd67 (diff) | |
parent | d0c398a8e2985b855f923aec3470cef8734a622a (diff) |
Merge commit 'nha/r300-compiler-gallium'
Diffstat (limited to 'src/gallium/drivers/r300/r300_fs.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_fs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.h b/src/gallium/drivers/r300/r300_fs.h index 18deb7a05e4..9fab7894024 100644 --- a/src/gallium/drivers/r300/r300_fs.h +++ b/src/gallium/drivers/r300/r300_fs.h @@ -30,6 +30,21 @@ #include "r3xx_fs.h" #include "r5xx_fs.h" +#include "radeon_code.h" + +struct r300_fragment_shader { + /* Parent class */ + struct pipe_shader_state state; + struct tgsi_shader_info info; + + /* Has this shader been translated yet? */ + boolean translated; + + /* Compiled code */ + struct rX00_fragment_program_code code; +}; + + void r300_translate_fragment_shader(struct r300_context* r300, struct r300_fragment_shader* fs); |