nouveau/nir: Implement load_global_constant
[mesa.git] / src / gallium / drivers / radeon / radeon_vcn_enc.c
index 13ac891b34e586df15a726d13ee715c08e24d983..9b7403d0cee08870e26c8003c6505b1afee4ef0b 100644 (file)
@@ -441,7 +441,7 @@ struct pipe_video_codec *radeon_create_encoder(struct pipe_context *context,
       goto error;
    }
 
-   if (sscreen->info.family >= CHIP_SIENNA)
+   if (sscreen->info.family >= CHIP_SIENNA_CICHLID)
       radeon_enc_3_0_init(enc);
    else if (sscreen->info.family >= CHIP_RENOIR)
       radeon_enc_2_0_init(enc);