Searched refs:backendState (Results 1 – 12 of 12) sorted by relevance
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | clip.h | 374 uint8_t cullMask = state.backendState.cullDistanceMask; 375 uint32_t vertexClipCullOffset = state.backendState.vertexClipCullOffset; 413 uint8_t clipMask = state.backendState.clipDistanceMask; 446 uint32_t constantInterpMask = state.backendState.constantInterpolationMask; 462 const SWR_BACKEND_STATE& backendState = state.backendState; 465 for (uint32_t slot = 0; slot < backendState.numAttributes; ++slot) 468 … uint32_t mapSlot = backendState.swizzleEnable ? backendState.swizzleMap[slot].sourceAttrib : slot; 470 uint32_t inputSlot = backendState.vertexAttribOffset + mapSlot; 493 uint32_t vertexClipCullSlot = state.backendState.vertexClipCullOffset; 494 if (state.backendState.clipDistanceMask & 0xf) [all …]
|
D | binner.cpp | 80 const SWR_BACKEND_STATE& backendState = pDC->pState->state.backendState; in ProcessAttributes() local 82 …uint32_t constantInterpMask = IsDegenerate::value ? 0xFFFFFFFF : backendState.constantInterpolatio… in ProcessAttributes() 92 for (uint32_t i = 0; i < backendState.numAttributes; ++i) in ProcessAttributes() 97 SWR_ATTRIB_SWIZZLE attribSwizzle = backendState.swizzleMap[i]; in ProcessAttributes() 98 inputSlot = backendState.vertexAttribOffset + attribSwizzle.sourceAttrib; in ProcessAttributes() 103 inputSlot = backendState.vertexAttribOffset + i; in ProcessAttributes() 185 uint32_t mask = backendState.swizzleMap[i].componentOverrideMask; in ProcessAttributes() 194 switch ((SWR_CONSTANT_SOURCE)backendState.swizzleMap[i].constantSource) in ProcessAttributes() 199 constantValue = constTable[backendState.swizzleMap[i].constantSource][comp]; in ProcessAttributes() 1043 uint32_t linkageCount = state.backendState.numAttributes; in BinTrianglesImpl() [all …]
|
D | frontend.cpp | 1004 … if (state.backendState.readViewportArrayIndex || state.backendState.readRenderTargetArrayIndex) in GeometryShaderStage() 1010 if (state.backendState.readViewportArrayIndex) in GeometryShaderStage() 1015 if (state.backendState.readRenderTargetArrayIndex) in GeometryShaderStage() 1039 … if (state.backendState.readViewportArrayIndex || state.backendState.readRenderTargetArrayIndex) in GeometryShaderStage() 1045 if (state.backendState.readViewportArrayIndex) in GeometryShaderStage() 1056 if (state.backendState.readRenderTargetArrayIndex) in GeometryShaderStage() 1410 … if (state.backendState.readViewportArrayIndex || state.backendState.readRenderTargetArrayIndex) in TessellationStages() 1416 if (state.backendState.readViewportArrayIndex) in TessellationStages() 1421 if (state.backendState.readRenderTargetArrayIndex) in TessellationStages() 1444 … if (state.backendState.readViewportArrayIndex || state.backendState.readRenderTargetArrayIndex) in TessellationStages() [all …]
|
D | rasterizer.cpp | 128 uint32_t numClipDist = _mm_popcnt_u32(state.backendState.clipDistanceMask); in RasterizeLine() 320 const SWR_BACKEND_STATE& backendState = pDC->pState->state.backendState; in RasterizeTriPoint() local 322 bool isPointSpriteTexCoordEnabled = backendState.pointSpriteTexCoordMask != 0; in RasterizeTriPoint() 376 uint32_t texCoordMask = backendState.pointSpriteTexCoordMask; in RasterizeTriPoint() 418 uint32_t texCoordMask = backendState.pointSpriteTexCoordMask; in RasterizeTriPoint()
|
D | api.cpp | 688 pState->backendState = *pBEState; in SwrSetBackendState() 729 uint32_t numGbs = pState->backendState.readViewportArrayIndex ? KNOB_NUM_VIEWPORTS_SCISSORS : 1; in updateGuardbands() 785 …uint32_t numScissors = pState->backendState.readViewportArrayIndex ? KNOB_NUM_VIEWPORTS_SCISSORS :… in SetupMacroTileScissors() 938 (pState->state.backendState.numAttributes == 0)) in SetupPipeline() 957 const SWR_BACKEND_STATE& backendState = pState->state.backendState; in SetupPipeline() local 958 if (backendState.swizzleEnable) in SetupPipeline() 961 for (uint32_t i = 0; i < backendState.numAttributes; ++i) in SetupPipeline() 963 …e.feNumAttributes = std::max(pState->state.feNumAttributes, (uint32_t)backendState.swizzleMap[i].s… in SetupPipeline() 968 pState->state.feNumAttributes = pState->state.backendState.numAttributes; in SetupPipeline()
|
D | backend_singlesample.cpp | 115 if (state.backendState.clipDistanceMask) in BackendSingleSample() 117 …coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, work.pUserClipBuffer, ps… in BackendSingleSample()
|
D | backend.cpp | 275 if (state.backendState.clipDistanceMask) in BackendNullPS() 277 …coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, work.pUserClipBuffer, ps… in BackendNullPS()
|
D | backend_sample.cpp | 131 if (state.backendState.clipDistanceMask) in BackendSampleRate() 133 …coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, work.pUserClipBuffer, ps… in BackendSampleRate()
|
D | context.h | 286 SWR_BACKEND_STATE backendState; in OSALIGNLINE() local
|
D | frontend.h | 356 !state.backendState.clipDistanceMask); in CanUseSimplePoints()
|
D | backend_impl.h | 889 …C, workerId, work, coeffs, state, pDepthBuffer, pStencilBuffer, state.backendState.clipDistanceMas…
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_state.cpp | 1772 SWR_BACKEND_STATE backendState = {0}; in swr_update_derived() local 1774 backendState.numAttributes = ctx->gs->info.base.num_outputs - 1; in swr_update_derived() 1776 backendState.numAttributes = ctx->vs->info.base.num_outputs - 1; in swr_update_derived() 1778 backendState.numAttributes++; in swr_update_derived() 1779 backendState.swizzleEnable = true; in swr_update_derived() 1780 for (unsigned i = 0; i < sizeof(backendState.numComponents); i++) { in swr_update_derived() 1781 backendState.swizzleMap[i].sourceAttrib = i; in swr_update_derived() 1783 backendState.swizzleMap[ctx->vs->info.base.num_outputs - 1].constantSource = in swr_update_derived() 1785 backendState.swizzleMap[ctx->vs->info.base.num_outputs - 1].componentOverrideMask = 1; in swr_update_derived() 1789 backendState.numAttributes++; in swr_update_derived() [all …]
|