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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user