Home
last modified time | relevance | path

Searched refs:VIMMED1 (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.cpp57 out[0] = out[1] = out[2] = out[3] = VIMMED1(1.0f); in GenerateBlendFactor()
78 out[0] = out[1] = out[2] = VMINPS(src[3], FSUB(VIMMED1(1.0f), dst[3])); in GenerateBlendFactor()
79 out[3] = VIMMED1(1.0f); in GenerateBlendFactor()
100 out[0] = out[1] = out[2] = out[3] = VIMMED1(0.0f); in GenerateBlendFactor()
103 out[0] = FSUB(VIMMED1(1.0f), src[0]); in GenerateBlendFactor()
104 out[1] = FSUB(VIMMED1(1.0f), src[1]); in GenerateBlendFactor()
105 out[2] = FSUB(VIMMED1(1.0f), src[2]); in GenerateBlendFactor()
106 out[3] = FSUB(VIMMED1(1.0f), src[3]); in GenerateBlendFactor()
109 out[0] = out[1] = out[2] = out[3] = FSUB(VIMMED1(1.0f), src[3]); in GenerateBlendFactor()
112 out[0] = out[1] = out[2] = out[3] = FSUB(VIMMED1(1.0f), dst[3]); in GenerateBlendFactor()
[all …]
Dfetch_jit.cpp264 vIndices2 = ADD(vIndices, VIMMED1(8)); in Create()
294 Value* vCutIndex = VIMMED1(fetchState.cutIndex); in Create()
671 case 1: elements[0] = VIMMED1(0.0f); in JitLoadVertices()
672 case 2: elements[1] = VIMMED1(0.0f); in JitLoadVertices()
673 case 3: elements[2] = VIMMED1(0.0f); in JitLoadVertices()
674 case 4: elements[3] = VIMMED1(1.0f); in JitLoadVertices()
752 pGather = GATHERDD(VIMMED1(0), pBase, pOffsets, pMask); in CreateGatherOddFormats()
758 STORE(VIMMED1(0u), pMem); in CreateGatherOddFormats()
812 pResult[comp] = VIMMED1((int)info.defaults[comp]); in CreateGatherOddFormats()
848 Value *vScale = VIMMED1(scale); in ConvertFormat()
[all …]
Dbuilder_misc.cpp195 Value *Builder::VIMMED1(int i) in VIMMED1() function in SwrJit::Builder
205 Value *Builder::VIMMED1(uint32_t i) in VIMMED1() function in SwrJit::Builder
215 Value *Builder::VIMMED1(float i) in VIMMED1() function in SwrJit::Builder
225 Value *Builder::VIMMED1(bool i) in VIMMED1() function in SwrJit::Builder
411 return FDIV(VIMMED1(1.0f), va, name); // 1 / a in VRCP()
613 Value *vScaleVec = VIMMED1((uint32_t)scale); in GATHERPS()
695 Value *vScaleVec = VIMMED1((uint32_t)scale); in GATHERDD()
822 return ICMP_SLT(src, VIMMED1(0)); in MASK()
1091 Value* vGatherMaskedVal = VIMMED1((float)0); in GATHER4PS()
1127 vGatherComponents[i] = VIMMED1(*(float*)&info.defaults[i]); in GATHER4PS()
[all …]
Dbuilder_misc.h60 Value *VIMMED1(int i);
63 Value *VIMMED1(uint32_t i);
66 Value *VIMMED1(float i);
69 Value *VIMMED1(bool i);
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp408 Value *pVertexOffset = MUL(unwrap(emitted_vertices_vec), VIMMED1(vertSize)); in swr_gs_llvm_emit_vertex()
434 …Value *pOutputOffset = ADD(pVertexOffset, VIMMED1(headerSize + attribSize * attribSlot)); // + sgv… in swr_gs_llvm_emit_vertex()
482 ADD(MUL(unwrap(emitted_prims_vec), VIMMED1(vertsPerPrim)), in swr_gs_llvm_end_primitive()
493 Value *cmpMask = VMASK(ICMP_NE(unwrap(verts_per_prim_vec), VIMMED1(0))); in swr_gs_llvm_end_primitive()
497 vCount = SUB(vCount, VIMMED1(1)); in swr_gs_llvm_end_primitive()
498 Value *vOffset = ADD(UDIV(vCount, VIMMED1(8)), VIMMED1(VERTEX_COUNT_SIZE)); in swr_gs_llvm_end_primitive()
499 Value *vValue = SHL(VIMMED1(1), UREM(vCount, VIMMED1(8))); in swr_gs_llvm_end_primitive()
1122 vw = VIMMED1(1.f); in CompileFS()
1137 inputs[attrib][1] = wrap(VIMMED1(0.0f)); in CompileFS()
1138 inputs[attrib][2] = wrap(VIMMED1(0.0f)); in CompileFS()
[all …]