[Mesa-dev] [PATCH 2/4] r600g: remove TGSI->LLVM translation

Marek Olšák maraeo at gmail.com
Fri Mar 11 19:48:27 UTC 2016


On Fri, Mar 11, 2016 at 7:24 PM, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> On Fri, 2016-03-11 at 18:48 +0100, Marek Olšák wrote:
>> Can you paste the build failures please?
>
> In file included from compute_memory_pool.c:42:0:
> evergreen_compute_internal.h:43:2: error: unknown type name ‘LLVMContextRef’
>   LLVMContextRef llvm_ctx;
>   ^
> In file included from ../../../../src/util/list.h:43:0,
>                  from compute_memory_pool.c:29:
> compute_memory_pool.c: In function ‘compute_memory_move_item’:
> compute_memory_pool.c:501:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>    assert(prev->start_in_dw + prev->size_in_dw <= new_start_in_dw);
>                                                ^
> compute_memory_pool.c:508:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>   if (src != dst || new_start_in_dw + item->size_in_dw <= item->start_in_dw) {
>                                                        ^
> Makefile:814: recipe for target 'compute_memory_pool.lo' failed
> make[3]: *** [compute_memory_pool.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
> In file included from evergreen_compute.c:46:0:
> evergreen_compute_internal.h:43:2: error: unknown type name ‘LLVMContextRef’
>   LLVMContextRef llvm_ctx;
>   ^
> evergreen_compute.c: In function ‘evergreen_create_compute_state’:
> evergreen_compute.c:213:2: error: implicit declaration of function ‘r600_create_shader’ [-Werror=implicit-function-declaration]
>   r600_create_shader(&shader->bc, &shader->binary, &use_kill);
>   ^
> evergreen_compute.c: In function ‘evergreen_delete_compute_state’:
> evergreen_compute.c:244:2: error: implicit declaration of function ‘r600_destroy_shader’ [-Werror=implicit-function-declaration]
>   r600_destroy_shader(&shader->bc);
>   ^
> evergreen_compute.c: In function ‘evergreen_launch_grid’:
> evergreen_compute.c:555:2: error: implicit declaration of function ‘r600_shader_binary_read_config’ [-Werror=implicit-function-declaration]
>   r600_shader_binary_read_config(&shader->binary, &shader->bc,
>
>
> there might be more. These are just errors displayed before the build (-j8) bailed out.
>
> It'd be nice if the removal was done in one easily revertible patch, though it's a pity this needs to go.



Version 2 is attached. Would you please test it?

Marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-r600g-remove-TGSI-LLVM-translation.patch
Type: text/x-diff
Size: 54065 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160311/2a1d0824/attachment-0001.patch>


More information about the mesa-dev mailing list