{
float scale[3];
float translate[3];
+ enum pipe_viewport_swizzle swizzle_x:3;
+ enum pipe_viewport_swizzle swizzle_y:3;
+ enum pipe_viewport_swizzle swizzle_z:3;
+ enum pipe_viewport_swizzle swizzle_w:3;
};
*
* NOTE: since it is expected that the consumer will want to perform
* additional passes on the nir_shader, the driver takes ownership of
- * the nir_shader. If state trackers need to hang on to the IR (for
+ * the nir_shader. If gallium frontends need to hang on to the IR (for
* example, variant management), it should use nir_shader_clone().
*/
struct pipe_shader_state
unsigned logicop_func:4; /**< PIPE_LOGICOP_x */
unsigned dither:1;
unsigned alpha_to_coverage:1;
+ unsigned alpha_to_coverage_dither:1;
unsigned alpha_to_one:1;
+ unsigned max_rt:3; /* index of max rt, Ie. # of cbufs minus 1 */
struct pipe_rt_blend_state rt[PIPE_MAX_COLOR_BUFS];
};
};
/**
- * Structure used as a header for serialized LLVM programs.
+ * Structure used as a header for serialized compute programs.
*/
-struct pipe_llvm_program_header
+struct pipe_binary_program_header
{
uint32_t num_bytes; /**< Number of bytes in the LLVM bytecode program. */
char blob[];
/**
* Structure that contains a callback for debug messages from the driver back
- * to the state tracker.
+ * to the gallium frontend.
*/
struct pipe_debug_callback
{
/**
* Callback for the driver to report debug/performance/etc information back
- * to the state tracker.
+ * to the gallium frontend.
*
* \param data user-supplied data pointer
* \param id message type identifier, if pointed value is 0, then a
/**
* Structure that contains a callback for device reset messages from the driver
- * back to the state tracker.
+ * back to the gallium frontend.
*
* The callback must not be called from driver-created threads.
*/