HomePhabricator

libclc: Add Mesa/SPIR-V target

Authored by airlied on Aug 17 2020, 1:45 PM.

Description

libclc: Add Mesa/SPIR-V target

Add targets to emit SPIR-V targeted to Mesa's OpenCL support, using
SPIR-V 1.1.

Substantially based on Dave Airlie's earlier work.

libclc: spirv: remove step/smoothstep apis not defined for SPIR-V

libclc: disable inlines for SPIR-V builds

Reviewed By: jvesely, tstellar, jenatali

Differential Revision: https://reviews.llvm.org/D77589

Details

Committed
tstellarAug 17 2020, 2:01 PM
Reviewer
jvesely
Differential Revision
D77589: libclc: Add Mesa/SPIR-V target
Parents
rG1bf0732443ee: Fix Wsign-compare warnings in test.
Branches
Unknown
Tags
Unknown