iris: Enable ARB_shader_draw_parameters support

Additional VERTEX_ELEMENT_STATE are used to store basevertex and
baseinstance and drawid updating the DWordLength of the
3DSTATE_VERTEX_ELEMENTS command.

This passes all piglit tests for spec.*draw_parameters.* tests
and VK-GL-CTS KHR-GL45.shader_draw_parameters_tests.* tests.

Now we only mark a dirty_update when parameters are changed or
when we have an indirect draw.

We enable PIPE_CAP_DRAW_PARAMETERS on Iris.

There is no edge flag support in the Vertex Elements setup.
25 jobs for !333 with iris-draw_parameters in 124 minutes and 15 seconds (queued for 13 seconds)
latest detached
Status Job ID Name Coverage
  Containers Build
passed #140309
containers:ubuntu

00:01:44

 
  Build+Test
passed #140324
build:make-gallium-drivers-other

00:11:07

passed #140323
build:make-gallium-drivers-radeonsi

00:08:10

passed #140322
build:make-gallium-drivers-swr

00:13:00

passed #140325
build:make-gallium-st-clover-llvm-39

00:09:14

passed #140326
build:make-gallium-st-clover-llvm-4

00:08:52

passed #140327
build:make-gallium-st-clover-llvm-5

00:05:37

passed #140328
build:make-gallium-st-clover-llvm-6

00:05:51

passed #140329
build:make-gallium-st-clover-llvm-7

00:06:21

passed #140330
build:make-gallium-st-other

00:06:22

passed #140321
build:make-loader-classic-dri

00:11:08

passed #140320
build:make-vulkan

00:08:11

passed #140316
build:meson-gallium-clover-llvm5

00:02:15

passed #140317
build:meson-gallium-clover-llvm6

00:02:41

passed #140318
build:meson-gallium-clover-llvm7

00:03:38

passed #140315
build:meson-gallium-drivers-other

00:04:18

passed #140314
build:meson-gallium-radeonsi

00:02:08

passed #140319
build:meson-gallium-st-other

00:01:39

passed #140313
build:meson-gallium-swr

00:08:25

passed #140312
build:meson-glvnd

00:01:47

passed #140311
build:meson-loader-classic-dri

00:04:12

passed #140310
build:meson-vulkan

00:02:42

passed #140332
build:scons-llvm

00:05:05

passed #140331
build:scons-nollvm

00:04:29

passed #140333
build:scons-swr

00:07:30