mali_ptr framebuffer;
u32 zero2 : 4;
- u32 framebuffer_stride : 28; // in units of bytes
- u32 zero3;
+ u32 framebuffer_stride : 28; // in units of bytes, row to next
+ u32 layer_stride; /* For multisample rendering */
u32 clear_color_1; // RGBA8888 from glClear, actually used by hardware
u32 clear_color_2; // always equal, but unclear function?
MEMORY_PROP(rt, framebuffer);
pandecode_prop("framebuffer_stride = %d", rt->framebuffer_stride);
+ if (rt->layer_stride)
+ pandecode_prop("layer_stride = %d", rt->layer_stride);
+
if (rt->clear_color_1 | rt->clear_color_2 | rt->clear_color_3 | rt->clear_color_4) {
pandecode_prop("clear_color_1 = 0x%" PRIx32, rt->clear_color_1);
pandecode_prop("clear_color_2 = 0x%" PRIx32, rt->clear_color_2);
pandecode_prop("clear_color_4 = 0x%" PRIx32, rt->clear_color_4);
}
- if (rt->zero1 || rt->zero2 || rt->zero3) {
+ if (rt->zero1 || rt->zero2) {
pandecode_msg("XXX: render target zeros tripped\n");
pandecode_prop("zero1 = 0x%" PRIx64, rt->zero1);
pandecode_prop("zero2 = 0x%" PRIx32, rt->zero2);
- pandecode_prop("zero3 = 0x%" PRIx32, rt->zero3);
}
pandecode_indent--;