summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_fpc.h
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-06-29 16:52:28 -0700
committerStéphane Marchesin <[email protected]>2011-06-29 16:54:29 -0700
commit5d7609715a44d08f29d4b605c4bea2742a194493 (patch)
treeebbe68e469ea3b33d90937aba140b6119fad0514 /src/gallium/drivers/i915/i915_fpc.h
parent5349b95920c82ab9187fe965f3921bd564fe6524 (diff)
i915g: Try to do better in the shader compiler.
- Copy i915c's support for phases, that should allow us to run a coupe more shaders. - Fix the error messages. - Still try to proceed when we get a shader that's too long.
Diffstat (limited to 'src/gallium/drivers/i915/i915_fpc.h')
-rw-r--r--src/gallium/drivers/i915/i915_fpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_fpc.h b/src/gallium/drivers/i915/i915_fpc.h
index e298e78c6bc..509395cf1f5 100644
--- a/src/gallium/drivers/i915/i915_fpc.h
+++ b/src/gallium/drivers/i915/i915_fpc.h
@@ -70,6 +70,7 @@ struct i915_fp_compile {
uint temp_flag; /**< Tracks temporary regs which are in use */
uint utemp_flag; /**< Tracks TYPE_U temporary regs which are in use */
+ uint register_phases[16];
uint nr_tex_indirect;
uint nr_tex_insn;
uint nr_alu_insn;