Преглед на файлове

st/mesa: implement indirect addressing for destination registers

tags/intel_2009q2_rc3
Brian Paul преди 16 години
родител
ревизия
762c1d11ff
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5
    0
      src/mesa/state_tracker/st_mesa_to_tgsi.c

+ 5
- 0
src/mesa/state_tracker/st_mesa_to_tgsi.c Целия файл

@@ -268,6 +268,11 @@ compile_instruction(
NULL,
GL_FALSE );
fulldst->DstRegister.WriteMask = convert_writemask( inst->DstReg.WriteMask );
if (inst->DstReg.RelAddr) {
fulldst->DstRegister.Indirect = 1;
fulldst->DstRegisterInd.File = TGSI_FILE_ADDRESS;
fulldst->DstRegisterInd.Index = 0;
}

for (i = 0; i < fullinst->Instruction.NumSrcRegs; i++) {
GLuint j;

Loading…
Отказ
Запис