wined3d: Improve float constant loading a bit.

- Use a list to keep track of what constants are set.
- Move TRACEs and checkGLcall calls out of the main constant loading loop.
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index bfa7510..5d7af02 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -1040,6 +1040,11 @@
         BOOL                     *vertexShaderConstantsF;
 } SAVEDSTATES;
 
+typedef struct {
+    struct list entry;
+    int idx;
+} constant_entry;
+
 struct IWineD3DStateBlockImpl
 {
     /* IUnknown fields */
@@ -1054,6 +1059,8 @@
     /* Array indicating whether things have been set or changed */
     SAVEDSTATES               changed;
     SAVEDSTATES               set;
+    struct list               set_vconstantsF;
+    struct list               set_pconstantsF;
 
     /* Drawing - Vertex Shader or FVF related */
     DWORD                     fvf;