diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c index 86a7d41a98e..abcf971857f 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c +++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c @@ -1322,6 +1322,7 @@ get_output_type(struct ntv_context *ctx, unsigned register_index, unsigned num_c case GLSL_TYPE_BOOL: return get_bvec_type(ctx, num_components); + case GLSL_TYPE_DOUBLE: //this case is misleading, as so outputs are always 32bit floats case GLSL_TYPE_FLOAT: return get_fvec_type(ctx, 32, num_components); @@ -1331,9 +1332,6 @@ get_output_type(struct ntv_context *ctx, unsigned register_index, unsigned num_c case GLSL_TYPE_UINT: return get_uvec_type(ctx, 32, num_components); - case GLSL_TYPE_DOUBLE: - return get_fvec_type(ctx, 64, num_components); - default: unreachable("unknown type"); break;