diff options
author | Eric Anholt <[email protected]> | 2011-11-08 18:07:15 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-11-11 08:27:54 -0800 |
commit | 9472f6677672ac89d6addba025b33287670da9e9 (patch) | |
tree | 95de585252bc12a879b77fe14c65929d73b703f9 /src/mesa/drivers/dri/i965/brw_structs.h | |
parent | 919c53e87a1f6f5322bc1f1486bb3e6b954b00d5 (diff) |
i965: Replace a should-never-happen fallback with asserts where it matters.
We only allow 16 vec4s of attributes in our GLSL/ARB_vp programs, and
1 more element will get used for gl_VertexID/gl_InstanceID. So it
should never have been possible to hit this fallback, unless there was
another bug. If you do hit this, you're probably using gl_VertexID
and falling back to swrast won't work for you anyway.
This also updates the limits for gen6+.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_structs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_structs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h index 85f83187f11..aef56958c66 100644 --- a/src/mesa/drivers/dri/i965/brw_structs.h +++ b/src/mesa/drivers/dri/i965/brw_structs.h @@ -881,8 +881,6 @@ struct brw_vertex_element_state } ve1; }; -#define BRW_VEP_MAX 18 - struct brw_urb_immediate { GLuint opcode:4; GLuint offset:6; |