diff options
author | Marek Olšák <[email protected]> | 2010-04-11 23:00:16 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-12 04:16:08 +0200 |
commit | 953a309de9204490edcd011e700c06c7c25c0b9e (patch) | |
tree | ebb69c952ea4ca507a11c2e21bd2d51c75ad789f /src/gallium/drivers/r300/r300_fs.h | |
parent | 132a590d5e76de7ddfacdb0dcc160429c309d19d (diff) |
r300g: FS constants emission rework
* The constant buffer emission is separated from RC state variables emission.
* The immediates are emitted with FS code.
Diffstat (limited to 'src/gallium/drivers/r300/r300_fs.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_fs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.h b/src/gallium/drivers/r300/r300_fs.h index 0feba154bbf..18da5f75625 100644 --- a/src/gallium/drivers/r300/r300_fs.h +++ b/src/gallium/drivers/r300/r300_fs.h @@ -41,6 +41,11 @@ struct r300_fragment_shader_code { /* Bits 0-15: TRUE if it's a shadow sampler, FALSE otherwise. */ unsigned shadow_samplers; + /* Numbers of constants for each type. */ + unsigned externals_count; + unsigned immediates_count; + unsigned rc_state_count; + struct r300_fragment_program_external_state compare_state; struct rX00_fragment_program_code code; |