mesa/src
Topi Pohjolainen 76e2f390f9 i965/miptree: Use num_samples of 1 instead of 0 for single-sampled
Patch moves "assert(brw->num_samples <= 16)" from
emit_3dstate_multisample2() to upload_multisample_state(). Latter
is the only caller of the former and passes "brw->num_samples"
as argument. Therefore it is clearer to assert in the caller.

Possible bug fix in genX(emit_3dstate_multisample2) which
doesn't have a case for num_samples == 0 in the switch
statement.

It should be noted that intel_miptree_map()/unmap() now checks
additionally for "mt->surf.samples == 1" in order to support gen6
stencil which is already transitioned to ISL. This will go away in
next patch when native miptrees start to use isl_surf::samples as
well.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
2017-07-20 11:32:21 +03:00
..
amd radv: Add support for VK_KHR_variable_pointers. 2017-07-20 09:13:01 +02:00
broadcom broadcom/vc4: Add more packets to the v2.1 XML. 2017-07-13 11:30:42 -07:00
compiler nir: Use nir_src_copy instead of direct assignments. 2017-07-18 23:44:50 -07:00
egl egl: fix line continuation 2017-07-19 15:51:54 +01:00
gallium configure/swr: add KNL and SKX architecture targets 2017-07-19 15:12:07 -05:00
gbm gbm: fix typo 2017-07-19 15:51:54 +01:00
getopt
glx
gtest
hgl
intel anv/image: Fix VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT 2017-07-19 11:25:50 -07:00
loader loader/dri3: Use dri3_find_back in loader_dri3_swap_buffers_msc 2017-07-13 16:49:28 +09:00
mapi mapi: add missing no_error tag to glBlitNamedFramebuffer() 2017-07-18 10:07:34 +02:00
mesa i965/miptree: Use num_samples of 1 instead of 0 for single-sampled 2017-07-20 11:32:21 +03:00
util util: Make CLAMP turn NaN into MIN. 2017-07-18 23:48:46 -07:00
vulkan vulkan/util: fix typo in comment 2017-07-18 13:56:04 +01:00
Makefile.am build systems: move git_sha1_gen.sh to bin/ 2017-07-06 22:59:39 +01:00
SConscript build systems: move git_sha1_gen.sh to bin/ 2017-07-06 22:59:39 +01:00