radv: make radv_use_llvm_for_stage device parameter const

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18898>
This commit is contained in:
Rhys Perry
2022-09-30 11:40:18 +01:00
committed by Marge Bot
parent 12becb8839
commit 3ab471a87d

View File

@@ -3176,7 +3176,7 @@ radv_queue_ring(struct radv_queue *queue)
* specific shader stage (developers only).
*/
static inline bool
radv_use_llvm_for_stage(struct radv_device *device, UNUSED gl_shader_stage stage)
radv_use_llvm_for_stage(const struct radv_device *device, UNUSED gl_shader_stage stage)
{
return device->physical_device->use_llvm;
}