diff options
author | Marek Olšák <[email protected]> | 2010-04-14 02:33:17 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-14 04:48:19 +0200 |
commit | 6793506faa13c259b1f36fb4cbe21841f851e248 (patch) | |
tree | 862b71a07c411e82dc5a2cf71511c8c489943527 /src/gallium/drivers/r300/r300_fs.h | |
parent | 075d9698eda4e8728872ffa1648f02d8d2748857 (diff) |
r300g: make setting up fragment depth output less hackish
Diffstat (limited to 'src/gallium/drivers/r300/r300_fs.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.h b/src/gallium/drivers/r300/r300_fs.h index 014703b2c4d..1cc43553595 100644 --- a/src/gallium/drivers/r300/r300_fs.h +++ b/src/gallium/drivers/r300/r300_fs.h @@ -43,6 +43,10 @@ struct r300_fragment_shader_code { unsigned immediates_count; unsigned rc_state_count; + /* Registers for fragment depth output setup. */ + uint32_t fg_depth_src; /* R300_FG_DEPTH_SRC: 0x4bd8 */ + uint32_t us_out_w; /* R300_US_W_FMT: 0x46b4 */ + struct r300_fragment_program_external_state compare_state; struct rX00_fragment_program_code code; |