Forgot to increase the length.
authorVladimir Dergachev <volodya@freedesktop.org>
Thu, 3 Feb 2005 16:05:21 +0000 (16:05 +0000)
committerVladimir Dergachev <volodya@freedesktop.org>
Thu, 3 Feb 2005 16:05:21 +0000 (16:05 +0000)
src/mesa/drivers/dri/r300/r300_fixed_pipelines.h

index 73b410f..4e1fc5c 100644 (file)
@@ -98,7 +98,7 @@ static struct r300_pixel_shader_state FLAT_COLOR_PIXEL_SHADER={
                                length: 0
                                },
                        alu: {
-                               length: 0,
+                               length: 1,
                                        /* My understanding is that we need at least 1 instructions for pixel shader, 
                                           in particular because alu_end==0 means there is one instruction */
                                inst: {