diff options
-rw-r--r-- | src/amd/vulkan/radv_nir_to_llvm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index 5ea1755b2a6..f56eb01dc52 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -2512,9 +2512,6 @@ radv_emit_stream_output(struct radv_shader_context *ctx, /* Get the first component. */ start = ffs(output->component_mask) - 1; - /* Adjust the destination offset. */ - offset += start * 4; - /* Load the output as int. */ for (int i = 0; i < num_comps; i++) { out[i] = ac_to_integer(&ctx->ac, |