Home
last modified time | relevance | path

Searched refs:backendState (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dclip.h401 uint8_t cullMask = state.backendState.cullDistanceMask;
402 uint32_t vertexClipCullOffset = state.backendState.vertexClipCullOffset;
441 uint8_t clipMask = state.backendState.clipDistanceMask;
485 uint32_t constantInterpMask = state.backendState.constantInterpolationMask;
501 const SWR_BACKEND_STATE& backendState = state.backendState;
504 for (uint32_t slot = 0; slot < backendState.numAttributes; ++slot)
508 backendState.swizzleEnable ? backendState.swizzleMap[slot].sourceAttrib : slot;
510 uint32_t inputSlot = backendState.vertexAttribOffset + mapSlot;
533 uint32_t vertexClipCullSlot = state.backendState.vertexClipCullOffset;
534 if (state.backendState.clipDistanceMask & 0xf)
[all …]
Dbinner.cpp77 const SWR_BACKEND_STATE& backendState = pDC->pState->state.backendState; in ProcessAttributes() local
80 IsDegenerate::value ? 0xFFFFFFFF : backendState.constantInterpolationMask; in ProcessAttributes()
87 for (uint32_t i = 0; i < backendState.numAttributes; ++i) in ProcessAttributes()
92 SWR_ATTRIB_SWIZZLE attribSwizzle = backendState.swizzleMap[i]; in ProcessAttributes()
93 inputSlot = backendState.vertexAttribOffset + attribSwizzle.sourceAttrib; in ProcessAttributes()
97 inputSlot = backendState.vertexAttribOffset + i; in ProcessAttributes()
179 uint32_t mask = backendState.swizzleMap[i].componentOverrideMask; in ProcessAttributes()
188 switch ((SWR_CONSTANT_SOURCE)backendState.swizzleMap[i].constantSource) in ProcessAttributes()
193 constantValue = constTable[backendState.swizzleMap[i].constantSource][comp]; in ProcessAttributes()
1127 uint32_t linkageCount = state.backendState.numAttributes; in BinTrianglesImpl()
[all …]
Dfrontend.cpp1073 if (state.backendState.readViewportArrayIndex || in GeometryShaderStage()
1074 state.backendState.readRenderTargetArrayIndex) in GeometryShaderStage()
1079 if (state.backendState.readViewportArrayIndex) in GeometryShaderStage()
1085 if (state.backendState.readRenderTargetArrayIndex) in GeometryShaderStage()
1119 if (state.backendState.readViewportArrayIndex || in GeometryShaderStage()
1120 state.backendState.readRenderTargetArrayIndex) in GeometryShaderStage()
1125 if (state.backendState.readViewportArrayIndex) in GeometryShaderStage()
1140 if (state.backendState.readRenderTargetArrayIndex) in GeometryShaderStage()
1557 if (state.backendState.readViewportArrayIndex || in TessellationStages()
1558 state.backendState.readRenderTargetArrayIndex) in TessellationStages()
[all …]
Drasterizer.cpp129 uint32_t numClipDist = _mm_popcnt_u32(state.backendState.clipDistanceMask); in RasterizeLine()
324 const SWR_BACKEND_STATE& backendState = pDC->pState->state.backendState; in RasterizeTriPoint() local
326 bool isPointSpriteTexCoordEnabled = backendState.pointSpriteTexCoordMask != 0; in RasterizeTriPoint()
384 uint32_t texCoordMask = backendState.pointSpriteTexCoordMask; in RasterizeTriPoint()
426 uint32_t texCoordMask = backendState.pointSpriteTexCoordMask; in RasterizeTriPoint()
Dapi.cpp702 pState->backendState = *pBEState; in SwrSetBackendState()
734 uint32_t numGbs = pState->backendState.readViewportArrayIndex ? KNOB_NUM_VIEWPORTS_SCISSORS : 1; in updateGuardbands()
781 pState->backendState.readViewportArrayIndex ? KNOB_NUM_VIEWPORTS_SCISSORS : 1; in SetupMacroTileScissors()
947 (pState->state.backendState.numAttributes == 0)) in SetupPipeline()
966 const SWR_BACKEND_STATE& backendState = pState->state.backendState; in SetupPipeline() local
967 if (backendState.swizzleEnable) in SetupPipeline()
970 for (uint32_t i = 0; i < backendState.numAttributes; ++i) in SetupPipeline()
974 (uint32_t)backendState.swizzleMap[i].sourceAttrib + 1); in SetupPipeline()
979 pState->state.feNumAttributes = pState->state.backendState.numAttributes; in SetupPipeline()
Dbackend_singlesample.cpp135 if (state.backendState.clipDistanceMask) in BackendSingleSample()
137 coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, in BackendSingleSample()
Dbackend_sample.cpp152 if (state.backendState.clipDistanceMask) in BackendSampleRate()
154 coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, in BackendSampleRate()
Dbackend.cpp337 if (state.backendState.clipDistanceMask) in BackendNullPS()
339 coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, in BackendNullPS()
Dcontext.h308 OSALIGNLINE(SWR_BACKEND_STATE) backendState; in OSALIGNLINE()
Dfrontend.h374 !state.rastState.pointSpriteEnable && !state.backendState.clipDistanceMask); in CanUseSimplePoints()
Dbackend_impl.h1062 state.backendState.clipDistanceMask);
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp2028 SWR_BACKEND_STATE backendState = {0}; in swr_update_derived() local
2030 backendState.numAttributes = ctx->gs->info.base.num_outputs - 1; in swr_update_derived()
2033 backendState.numAttributes = ctx->tes->info.base.num_outputs - 1; in swr_update_derived()
2037 backendState.numAttributes = ctx->vs->info.base.num_outputs - 1; in swr_update_derived()
2039 backendState.numAttributes++; in swr_update_derived()
2040 backendState.swizzleEnable = true; in swr_update_derived()
2041 for (unsigned i = 0; i < sizeof(backendState.numComponents); i++) { in swr_update_derived()
2042 backendState.swizzleMap[i].sourceAttrib = i; in swr_update_derived()
2044 backendState.swizzleMap[ctx->vs->info.base.num_outputs - 1].constantSource = in swr_update_derived()
2046 backendState.swizzleMap[ctx->vs->info.base.num_outputs - 1].componentOverrideMask = 1; in swr_update_derived()
[all …]