nvc0: fix bindless multisampled images on Maxwell+
NVC0_CB_AUX_BINDLESS_INFO isn't written to on Maxwell+ and it's too small anyway. With these changes, TXQ is used to determine the number of samples and the coordinate adjustment information looked up in a small array in the driver constant buffer. v2: rework to use TXQ and a small array instead of a larger array with an entry for each texture v3: get rid of the small array and calculate the adjustments in the shader Signed-off-by:Rhys Perry <pendingchaos02@gmail.com> Fixes: c2ae9b40 ('nvc0: implement multisampled images on Maxwell+') Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu> (cherry picked from commit b473fcc9) Squashed with: nv50/ir: fix link-time build failure Seems this fixes linking problems that occur in some situations. Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu> (cherry picked from commit 6ca1402c)
Loading
Please register or sign in to comment