diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-04-11 23:00:16 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-04-12 04:16:08 +0200 |
commit | 953a309de9204490edcd011e700c06c7c25c0b9e (patch) | |
tree | ebb69c952ea4ca507a11c2e21bd2d51c75ad789f /src/gallium/drivers/r300/r300_fs.h | |
parent | 132a590d5e76de7ddfacdb0dcc160429c309d19d (diff) | |
download | external_mesa3d-953a309de9204490edcd011e700c06c7c25c0b9e.zip external_mesa3d-953a309de9204490edcd011e700c06c7c25c0b9e.tar.gz external_mesa3d-953a309de9204490edcd011e700c06c7c25c0b9e.tar.bz2 |
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 0feba15..18da5f7 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; |