gallium: implement set_sample_mask() in all drivers
authorRoland Scheidegger <sroland@vmware.com>
Tue, 18 May 2010 14:20:44 +0000 (16:20 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 18 May 2010 14:20:44 +0000 (16:20 +0200)
commit43234cee40c48e14a3eab4268181d9b0b2b7cf79
tree4eafa9bb75559f0502038796491da1f6ee0ffea3
parent2a15553e431f04d13b757a3a76e4eb7d794f1219
gallium: implement set_sample_mask() in all drivers

prevents segfault when state trackers try to set default mask.
Other option would be to make this required only for drivers
supporting multisampling, but this seems more clean.
Only dummy implementations (for normal drivers) provided (no driver
supports multisampling yet neither).
16 files changed:
src/gallium/drivers/cell/ppu/cell_pipe_state.c
src/gallium/drivers/failover/fo_context.h
src/gallium/drivers/failover/fo_state.c
src/gallium/drivers/failover/fo_state_emit.c
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/i965/brw_pipe_depth.c
src/gallium/drivers/identity/id_context.c
src/gallium/drivers/llvmpipe/lp_state_blend.c
src/gallium/drivers/nv50/nv50_state.c
src/gallium/drivers/nvfx/nvfx_state.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/softpipe/sp_context.c
src/gallium/drivers/softpipe/sp_state.h
src/gallium/drivers/softpipe/sp_state_blend.c
src/gallium/drivers/svga/svga_pipe_depthstencil.c
src/gallium/drivers/trace/tr_context.c