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 <robdclark@gmail.com>
This commit is contained in:
Rob Clark 2018-02-26 11:24:13 -05:00
parent 54988f1e6b
commit 9630f4df3b
1 changed files with 5 additions and 2 deletions

View File

@ -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: