From 953a309de9204490edcd011e700c06c7c25c0b9e Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 11 Apr 2010 23:00:16 +0200 Subject: r300g: FS constants emission rework * The constant buffer emission is separated from RC state variables emission. * The immediates are emitted with FS code. --- src/gallium/drivers/r300/r300_fs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/drivers/r300/r300_fs.h') diff --git a/src/gallium/drivers/r300/r300_fs.h b/src/gallium/drivers/r300/r300_fs.h index 0feba154bb..18da5f7562 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; -- cgit v1.2.3