[PATCH] D20839: AMDGPU: Add amdgpu-ps-wqm-outputs function attributes

Marek Olšák via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 05:09:56 PDT 2016


mareko added a comment.

I think we also want to run in WQM when changing the interpolation weights in the prolog. For now, that's just for force_persample_interp, which is pretty rare, but when we start to use bc_optimize, we'll run into WQM issues more often. Sadly I didn't realize this when I was working on the prolog. From mesa - si_shader.h:

/* TODO:

- - add force_center_interp if MSAA is disabled and centroid or
- sample are present
- - add force_center_interp_bc_optimize to force center interpolation
- based on the bc_optimize SGPR bit if MSAA is enabled, centroid is
- present and sample isn't present.

  	 */


http://reviews.llvm.org/D20839





More information about the llvm-commits mailing list