gallium/u_blitter: make clearing independent of the number of bound colorbuffers
We can use the fragment shader TGSI property WRITES_ALL_CBUFS. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -93,6 +93,10 @@ util_make_fragment_passthrough_shader(struct pipe_context *pipe,
|
||||
boolean write_all_cbufs);
|
||||
|
||||
|
||||
extern void *
|
||||
util_make_empty_fragment_shader(struct pipe_context *pipe);
|
||||
|
||||
|
||||
extern void *
|
||||
util_make_fragment_cloneinput_shader(struct pipe_context *pipe, int num_cbufs,
|
||||
int input_semantic,
|
||||
|
Reference in New Issue
Block a user