summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_state_emit.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2010-07-03 12:46:42 +0100
committerJakob Bornecrantz <wallbraker@gmail.com>2010-07-04 13:32:01 +0100
commit8b122bdf6c0ba3bd77ff6f5b85b7fa84865535db (patch)
treed4d756d6f5439aedc28d4a27a8bff0a4085f20eb /src/gallium/drivers/i915/i915_state_emit.c
parentd64561472b8a7fa20512a6586d724c7c7b2867b3 (diff)
i915g: Move fragment state to its own file
Diffstat (limited to 'src/gallium/drivers/i915/i915_state_emit.c')
-rw-r--r--src/gallium/drivers/i915/i915_state_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_state_emit.c b/src/gallium/drivers/i915/i915_state_emit.c
index bbf9ff51f5f..3577a336ffa 100644
--- a/src/gallium/drivers/i915/i915_state_emit.c
+++ b/src/gallium/drivers/i915/i915_state_emit.c
@@ -339,7 +339,7 @@ i915_emit_hardware_state(struct i915_context *i915 )
/* constants */
/* 2 + I915_MAX_CONSTANT*4 dwords, 0 relocs */
- if (i915->hardware_dirty & I915_HW_PROGRAM)
+ if (i915->hardware_dirty & I915_HW_CONSTANTS)
{
/* Collate the user-defined constants with the fragment shader's
* immediates according to the constant_flags[] array.