Displaying 2 results from an estimated 2 matches for "nv50_3d_rt_array_mode_mode_3d".
2014 Feb 13
2
[PATCH] nv50: make sure to clear _all_ layers of all attachments
...)))
return;
+ /* We have to clear ALL of the layers, not up to the min number of layers
+ * of any attachment. Don't touch 3d textures, they can't be arrays. The
+ * above nv50_state_validate call will have written to rt_array_mode. */
+ if (!(nv50->rt_array_mode & NV50_3D_RT_ARRAY_MODE_MODE_3D)) {
+ BEGIN_NV04(push, NV50_3D(RT_ARRAY_MODE), 1);
+ PUSH_DATA (push, 512);
+ }
+
if (buffers & PIPE_CLEAR_COLOR && fb->nr_cbufs) {
BEGIN_NV04(push, NV50_3D(CLEAR_COLOR(0)), 4);
PUSH_DATAf(push, color->f[0]);
@@ -459,6 +470,10 @@ nv50_clear(struct pip...
2014 Dec 31
2
[PATCH 1/2] nv50: regenerate rnndb headers
...AYERS__MASK 0x0000ffff
#define NV50_3D_RT_ARRAY_MODE_LAYERS__SHIFT 0
-#define NV50_3D_RT_ARRAY_MODE_MODE__MASK 0x00010000
+#define NV50_3D_RT_ARRAY_MODE_MODE__MASK 0x00010000
#define NV50_3D_RT_ARRAY_MODE_MODE__SHIFT 16
#define NV50_3D_RT_ARRAY_MODE_MODE_2D_ARRAY 0x00000000
#define NV50_3D_RT_ARRAY_MODE_MODE_3D 0x00010000
@@ -853,28 +854,28 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define NV50_3D_CB_DEF_SET_SIZE__MASK 0x0000ffff
#define NV50_3D_CB_DEF_SET_SIZE__SHIFT 0
#define NV50_3D_CB_DEF_SET_BUFFER__MASK 0x007f0000
-#define NV50_3D_CB_DEF_SET_BUFFER__SHIFT 16...