|
|
@ -1026,9 +1026,13 @@ static int translate_tex(struct dump_ctx *ctx, |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
switch (ctx->samplers[sreg_index].tgsi_sampler_return) { |
|
|
|
switch (ctx->samplers[sreg_index].tgsi_sampler_return) { |
|
|
|
case TGSI_RETURN_TYPE_SINT: |
|
|
|
case TGSI_RETURN_TYPE_SINT: |
|
|
|
|
|
|
|
/* if dstconv isn't an int */ |
|
|
|
|
|
|
|
if (strcmp(dstconv, "int")) |
|
|
|
dtypeprefix = "intBitsToFloat"; |
|
|
|
dtypeprefix = "intBitsToFloat"; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case TGSI_RETURN_TYPE_UINT: |
|
|
|
case TGSI_RETURN_TYPE_UINT: |
|
|
|
|
|
|
|
/* if dstconv isn't an int */ |
|
|
|
|
|
|
|
if (strcmp(dstconv, "int")) |
|
|
|
dtypeprefix = "uintBitsToFloat"; |
|
|
|
dtypeprefix = "uintBitsToFloat"; |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|