diff options
author | Eric Anholt <eric@anholt.net> | 2009-07-30 12:32:40 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-01 14:31:03 -0700 |
commit | 994d1db079b4947e6f10ab22a4b366a676382345 (patch) | |
tree | 4f8399f1cc42f193cfe006f042129a793ad3219c /src/mesa/drivers/dri/i915/i915_program.h | |
parent | 5d2413fca4c252ec5c7880fa7f983b5df3d762ba (diff) |
i915: Let i915_program_error take a format string, and don't use _mesa_problem.
It's misleading to report things like the program having too many native
instructions as a Mesa implementation error, when the program may just be
too big for the hardware.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_program.h')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_program.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_program.h b/src/mesa/drivers/dri/i915/i915_program.h index 14a3f08801..1074d24f9e 100644 --- a/src/mesa/drivers/dri/i915/i915_program.h +++ b/src/mesa/drivers/dri/i915/i915_program.h @@ -145,7 +145,7 @@ extern GLuint i915_emit_param4fv(struct i915_fragment_program *p, const GLfloat * values); extern void i915_program_error(struct i915_fragment_program *p, - const char *msg); + const char *fmt, ...); extern void i915_init_program(struct i915_context *i915, struct i915_fragment_program *p); |