From: Rob Clark Date: Mon, 26 Feb 2018 16:24:13 +0000 (-0500) Subject: freedreno/a5xx: don't expose 64b pointers yet X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9630f4df3bc4ae150140420b1be93e4c28e3ad1b;p=mesa.git freedreno/a5xx: don't expose 64b pointers yet Temporary hack, but since we can't do 64b math yet in ir3, pretend that we don't support 64b pointers. Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index aa2a510afa0..7fc3ab5e9ad 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -641,8 +641,11 @@ fd_get_compute_param(struct pipe_screen *pscreen, enum pipe_shader_ir ir_type, switch (param) { case PIPE_COMPUTE_CAP_ADDRESS_BITS: - if (is_a5xx(screen)) - RET((uint32_t []){ 64 }); +// don't expose 64b pointer support yet, until ir3 supports 64b +// math, otherwise spir64 target is used and we get 64b pointer +// calculations that we can't do yet +// if (is_a5xx(screen)) +// RET((uint32_t []){ 64 }); RET((uint32_t []){ 32 }); case PIPE_COMPUTE_CAP_IR_TARGET: