Home
last modified time | relevance | path

Searched refs:pass_tex (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_atifragshader.c247 GLuint pass_tex = texinst->src; in handle_pass_op() local
249 if (pass_tex >= GL_TEXTURE0_ARB && pass_tex <= GL_TEXTURE7_ARB) { in handle_pass_op()
250 pass_tex -= GL_TEXTURE0_ARB; in handle_pass_op()
252 span->array->attribs[VARYING_SLOT_TEX0 + pass_tex][column]); in handle_pass_op()
254 else if (pass_tex >= GL_REG_0_ATI && pass_tex <= GL_REG_5_ATI) { in handle_pass_op()
255 pass_tex -= GL_REG_0_ATI; in handle_pass_op()
256 COPY_4V(machine->Registers[idx], machine->PrevPassRegisters[pass_tex]); in handle_pass_op()
/external/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_tgsi.c313 GLuint pass_tex = texinst->src; in compile_setupinst() local
315 if (pass_tex >= GL_TEXTURE0_ARB && pass_tex <= GL_TEXTURE7_ARB) { in compile_setupinst()
316 unsigned attr = pass_tex - GL_TEXTURE0_ARB + VARYING_SLOT_TEX0; in compile_setupinst()
319 } else if (pass_tex >= GL_REG_0_ATI && pass_tex <= GL_REG_5_ATI) { in compile_setupinst()
320 unsigned reg = pass_tex - GL_REG_0_ATI; in compile_setupinst()
561 GLuint pass_tex = texinst->src; in st_init_atifs_prog() local
565 … prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + pass_tex - GL_TEXTURE0_ARB); in st_init_atifs_prog()
571 if (pass_tex >= GL_TEXTURE0_ARB && pass_tex <= GL_TEXTURE7_ARB) { in st_init_atifs_prog()
572 … prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + pass_tex - GL_TEXTURE0_ARB); in st_init_atifs_prog()