bug 14365: replace dynamic state objects
This is phase 1 of the replacement of dynamic state objects.
In this commit we remove the create and destroy functions
and rename the CmdBind... with CmdSet...
diff --git a/icd/intel/cmd.h b/icd/intel/cmd.h
index c6dfec6..0ae97c8 100644
--- a/icd/intel/cmd.h
+++ b/icd/intel/cmd.h
@@ -32,6 +32,7 @@
#include "intel.h"
#include "obj.h"
#include "view.h"
+#include "state.h"
struct intel_pipeline;
struct intel_pipeline_shader;
@@ -163,12 +164,12 @@
} pipeline;
struct {
- const struct intel_dynamic_viewport *viewport;
- const struct intel_dynamic_line_width *line_width;
- const struct intel_dynamic_depth_bias *depth_bias;
- const struct intel_dynamic_blend *blend;
- const struct intel_dynamic_depth_bounds *depth_bounds;
- const struct intel_dynamic_stencil *stencil;
+ struct intel_dynamic_viewport viewport;
+ struct intel_dynamic_line_width line_width;
+ struct intel_dynamic_depth_bias depth_bias;
+ struct intel_dynamic_blend blend;
+ struct intel_dynamic_depth_bounds depth_bounds;
+ struct intel_dynamic_stencil stencil;
} state;
struct {