summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_assemble.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_assemble.c')
-rw-r--r--src/gallium/drivers/panfrost/pan_assemble.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/panfrost/pan_assemble.c b/src/gallium/drivers/panfrost/pan_assemble.c
index 52226311832..a6ba5fa6790 100644
--- a/src/gallium/drivers/panfrost/pan_assemble.c
+++ b/src/gallium/drivers/panfrost/pan_assemble.c
@@ -112,7 +112,7 @@ panfrost_shader_compile(struct panfrost_context *ctx, struct mali_shader_meta *m
/* Default to a vec4 varying */
struct mali_attr_meta v = {
- .format = MALI_RGBA16F,
+ .format = MALI_RGBA32F,
.swizzle = default_vec4_swizzle,
.unknown1 = 0x2,
};
@@ -136,12 +136,12 @@ panfrost_shader_compile(struct panfrost_context *ctx, struct mali_shader_meta *m
state->reads_point_coord = true;
} else {
v.index = 0;
- v.src_offset = 8 * (general_purpose_count++);
+ v.src_offset = 16 * (general_purpose_count++);
}
state->varyings[i] = v;
}
- /* Set the stride for the general purpose fp16 vec4 varyings */
- state->general_varying_stride = (2 * 4) * general_purpose_count;
+ /* Set the stride for the general purpose fp32 vec4 varyings */
+ state->general_varying_stride = (4 * 4) * general_purpose_count;
}