summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915tex/intel_context.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2007-07-29 18:04:28 +0200
committerRoland Scheidegger <[email protected]>2007-07-29 18:07:42 +0200
commit9d2d34b5eabfb7855081ad56fa00b3e0f6b8e631 (patch)
treeb2c0d12dbc0a8b105668c3c4e7eac440806b9ce5 /src/mesa/drivers/dri/i915tex/intel_context.h
parent36fce66034887009749c3d52587c293da2457820 (diff)
Fix crashes when the frag prog can't be handled in hardware (#11131)
Must not change to/from swrast after Render.Start or bad things will happen. (Driver will still somewhat incorrectly report an implementation error, and apps can't really figure out if a prog is natively supported as validation is later - could try doing it earlier to give some hint at least, even though native status may still change later due to fog etc.)
Diffstat (limited to 'src/mesa/drivers/dri/i915tex/intel_context.h')
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_context.h b/src/mesa/drivers/dri/i915tex/intel_context.h
index 535a93effac..ee5be455333 100644
--- a/src/mesa/drivers/dri/i915tex/intel_context.h
+++ b/src/mesa/drivers/dri/i915tex/intel_context.h
@@ -131,6 +131,7 @@ struct intel_context
void (*update_texture_state) (struct intel_context * intel);
void (*render_start) (struct intel_context * intel);
+ void (*render_prevalidate) (struct intel_context * intel);
void (*set_draw_region) (struct intel_context * intel,
struct intel_region * draw_region,
struct intel_region * depth_region);