diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2019-02-26 13:30:49 +0100 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-02-26 18:38:30 +0000 |
commit | bdc946c23a3085840f737eddfe8e87dbb27f5a0a (patch) | |
tree | 2d743d9059e9680195b8afdfc235ad24c8858f9d | |
parent | bb3fdedadfe71f5f865e2e5b9b81bb77790a498f (diff) | |
download | mesa-bdc946c23a3085840f737eddfe8e87dbb27f5a0a.tar.gz mesa-bdc946c23a3085840f737eddfe8e87dbb27f5a0a.tar.bz2 mesa-bdc946c23a3085840f737eddfe8e87dbb27f5a0a.zip |
radv: Fix rebase issue in 19.0 for float16 fix.
The cherry-pick dropped a chunk.
Fixes: e7351739ff2 "radv: Fix float16 interpolation set up."
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
-rw-r--r-- | src/amd/vulkan/radv_nir_to_llvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index 68e839f73b3..3bea5d47888 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -2154,7 +2154,8 @@ handle_fs_input_decl(struct radv_shader_context *ctx, unsigned component_count = variable->data.location_frac + glsl_get_length(variable->type); attrib_count = (component_count + 3) / 4; - } + } else + mark_16bit_fs_input(ctx, variable->type, idx); mask = ((1ull << attrib_count) - 1) << variable->data.location; |