Commit 9b6fb340 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Reenable trans

parent 42ef8664
......@@ -514,6 +514,7 @@ struct mali_texture_format {
* 4: unsigned int
* 5: (unsigned) int / full-float
* 6: signed int / half-float
* 7: maybe also snorm related
*/
unsigned typeA : 3;
......
......@@ -1599,7 +1599,17 @@ panfrost_create_sampler_view(
.depth = MALI_POSITIVE(texture->depth0),
/* TODO: Decode */
//.format1 = 0x118bb688,
.format = {
.bottom = 0x88,
.unk1 = 0x6,
.component_size = 0x3,
.nr_channels = MALI_POSITIVE(4),
.typeA = 5,
.usage1 = 0x0,
.is_not_cubemap = 1,
.usage2 = 0x11,
},
.swizzle_r = trans_translate_texture_swizzle(template->swizzle_r),
.swizzle_g = trans_translate_texture_swizzle(template->swizzle_g),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment