radeonsi: set readnone on reads from read-only memory

This commit is contained in:
Marek Olšák
2017-02-24 17:16:28 +01:00
parent 25c7969a5a
commit e729dc7c46
3 changed files with 21 additions and 13 deletions

View File

@@ -155,7 +155,8 @@ ac_build_buffer_load(struct ac_llvm_context *ctx,
LLVMValueRef soffset,
unsigned inst_offset,
unsigned glc,
unsigned slc);
unsigned slc,
bool readonly_memory);
LLVMValueRef
ac_get_thread_id(struct ac_llvm_context *ctx);