mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
r500: for rectangular textures set to unscaled coordinates.
This commit is contained in:
parent
1da094c9ad
commit
53a7ccc08b
1 changed files with 4 additions and 0 deletions
|
|
@ -231,6 +231,10 @@ static void emit_tex(struct r500_fragment_program *fp,
|
|||
|
||||
fp->inst[counter].inst1 = fpi->TexSrcUnit
|
||||
| R500_TEX_SEM_ACQUIRE | R500_TEX_IGNORE_UNCOVERED;
|
||||
|
||||
if (fpi->TexSrcTarget == TEXTURE_RECT_INDEX)
|
||||
fp->inst[counter].inst1 |= R500_TEX_UNSCALED;
|
||||
|
||||
switch (opcode) {
|
||||
case OPCODE_TEX:
|
||||
fp->inst[counter].inst1 |= R500_TEX_INST_LD;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue