gallium/st/clover: remove unused PIPE_SHADER_IR_LLVM
This has been unused since 100796c15c
.
Acked-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -531,8 +531,8 @@ pipe_screen::get_compute_param.
|
||||
|
||||
* ``PIPE_COMPUTE_CAP_IR_TARGET``: A description of the target of the form
|
||||
``processor-arch-manufacturer-os`` that will be passed on to the compiler.
|
||||
This CAP is only relevant for drivers that specify PIPE_SHADER_IR_LLVM
|
||||
or PIPE_SHADER_IR_NATIVE for their preferred IR.
|
||||
This CAP is only relevant for drivers that specify PIPE_SHADER_IR_NATIVE for
|
||||
their preferred IR.
|
||||
Value type: null-terminated string. Shader IR type dependent.
|
||||
* ``PIPE_COMPUTE_CAP_GRID_DIMENSION``: Number of supported dimensions
|
||||
for grid and block coordinates. Value type: ``uint64_t``. Shader IR type dependent.
|
||||
|
@@ -894,7 +894,6 @@ enum pipe_shader_cap
|
||||
enum pipe_shader_ir
|
||||
{
|
||||
PIPE_SHADER_IR_TGSI = 0,
|
||||
PIPE_SHADER_IR_LLVM,
|
||||
PIPE_SHADER_IR_NATIVE,
|
||||
PIPE_SHADER_IR_NIR,
|
||||
};
|
||||
|
@@ -782,8 +782,9 @@ struct pipe_blit_info
|
||||
struct pipe_grid_info
|
||||
{
|
||||
/**
|
||||
* For drivers that use PIPE_SHADER_IR_LLVM as their prefered IR, this value
|
||||
* will be the index of the kernel in the opencl.kernels metadata list.
|
||||
* For drivers that use PIPE_SHADER_IR_NATIVE as their prefered IR, this
|
||||
* value will be the index of the kernel in the opencl.kernels metadata
|
||||
* list.
|
||||
*/
|
||||
uint32_t pc;
|
||||
|
||||
|
@@ -38,10 +38,6 @@
|
||||
|
||||
namespace clover {
|
||||
namespace llvm {
|
||||
module
|
||||
build_module_bitcode(const ::llvm::Module &mod,
|
||||
const clang::CompilerInstance &c);
|
||||
|
||||
std::string
|
||||
print_module_bitcode(const ::llvm::Module &mod);
|
||||
|
||||
|
@@ -71,12 +71,6 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
module
|
||||
clover::llvm::build_module_bitcode(const ::llvm::Module &mod,
|
||||
const clang::CompilerInstance &c) {
|
||||
return build_module_common(mod, emit_code(mod), get_symbol_offsets(mod), c);
|
||||
}
|
||||
|
||||
std::string
|
||||
clover::llvm::print_module_bitcode(const ::llvm::Module &mod) {
|
||||
std::string s;
|
||||
|
@@ -291,9 +291,6 @@ clover::llvm::link_program(const std::vector<module> &modules,
|
||||
if (create_library) {
|
||||
return build_module_library(*mod, module::section::text_library);
|
||||
|
||||
} else if (ir == PIPE_SHADER_IR_LLVM) {
|
||||
return build_module_bitcode(*mod, *c);
|
||||
|
||||
} else if (ir == PIPE_SHADER_IR_NATIVE) {
|
||||
if (has_flag(debug::native))
|
||||
debug::log(id + ".asm", print_module_native(*mod, target));
|
||||
|
@@ -368,7 +368,6 @@ st_release_cp_variants(struct st_context *st, struct st_compute_program *stcp)
|
||||
case PIPE_SHADER_IR_NIR:
|
||||
/* pipe driver took ownership of prog */
|
||||
break;
|
||||
case PIPE_SHADER_IR_LLVM:
|
||||
case PIPE_SHADER_IR_NATIVE:
|
||||
/* ??? */
|
||||
stcp->tgsi.prog = NULL;
|
||||
|
Reference in New Issue
Block a user