/art/test/656-checker-simd-opt/src/ |
Main.java | 49 /// CHECK-START: void Main.stencil(int[], int[], int) loop_optimization (before) 62 /// CHECK-START-ARM64: void Main.stencil(int[], int[], int) loop_optimization (after) 74 private static void stencil(int[] a, int[] b, int n) { method in class:Main 98 stencil(a, b, 100); method
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen8_wm_depth_stencil.c | 29 #include "main/stencil.h" 41 struct gl_stencil_attrib *stencil = &ctx->Stencil; local 44 if (stencil->_Enabled) { 50 FUNC(stencil->Function[0]) << GEN8_WM_DS_STENCIL_FUNC_SHIFT | 51 OP(stencil->FailFunc[0]) << GEN8_WM_DS_STENCIL_FAIL_OP_SHIFT | 52 OP(stencil->ZFailFunc[0]) << GEN8_WM_DS_Z_FAIL_OP_SHIFT | 53 OP(stencil->ZPassFunc[0]) << GEN8_WM_DS_Z_PASS_OP_SHIFT; 55 if (stencil->_WriteEnabled) 59 SET_FIELD(stencil->WriteMask[0] & 0xff, GEN8_WM_DS_STENCIL_WRITE_MASK) [all...] |
brw_sampler_state.c | 221 /* depth and stencil have only one component */ 310 bool stencil = format == MESA_FORMAT_S_UINT8 || is_stencil_sampling; local 312 _mesa_get_format_bits(format, stencil ? GL_STENCIL_BITS : GL_RED_BITS);
|
/external/skia/src/gpu/vk/ |
GrVkPipelineStateCache.cpp | 12 #include "GrRenderTargetPriv.h" // TODO: remove once refPipelineState gets passed stencil settings. 84 GrStencilSettings stencil; local 87 // TODO: attach stencil and create settings during render target flush. 89 stencil.reset(*pipeline.getUserStencil(), pipeline.hasStencilClip(), 95 if (!GrVkPipelineState::Desc::Build(&desc, primProc, pipeline, stencil, 117 stencil,
|
GrVkStencilAttachment.cpp | 59 GrVkStencilAttachment* stencil = new GrVkStencilAttachment(gpu, format, imageDesc, local 63 return stencil;
|
GrVkRenderTarget.cpp | 34 // for the moment we only support 1:1 color to stencil 57 // for the moment we only support 1:1 color to stencil 227 // Stencil attachment view is stored in the base RT stencil attachment 246 const GrStencilAttachment* stencil = this->renderTargetPriv().getStencilAttachment(); local 247 if (stencil) { 248 const GrVkStencilAttachment* vkStencil = static_cast<const GrVkStencilAttachment*>(stencil); 251 // Currently in vulkan stencil and color attachments must all have same number of samples 350 const GrStencilAttachment* stencil = this->renderTargetPriv().getStencilAttachment(); local 351 if (stencil) { 360 const GrStencilAttachment* stencil = this->renderTargetPriv().getStencilAttachment(); local [all...] |
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_state_zs.h | 61 uint32_t stencil[3]; member in struct:ilo_state_zs
|
ilo_state_cc.c | 35 const struct ilo_state_cc_stencil_info *stencil = &info->stencil; local 44 * stencil buffer is disabled, Stencil Test Enable must be DISABLED" 48 * "This field (Stencil Test Enable) cannot be enabled if Surface 51 if (stencil->test_enable) 52 assert(stencil->cv_has_buffer); 87 const struct ilo_state_cc_stencil_info *stencil = &info->stencil; local 100 if (stencil->test_enable) 171 const struct ilo_state_cc_stencil_info *stencil = &info->stencil; local [all...] |
/art/test/530-checker-loops3/src/ |
Main.java | 215 /// CHECK-START: void Main.stencil(int[], int, int) BCE (before) 222 /// CHECK-START: void Main.stencil(int[], int, int) BCE (after) 229 /// CHECK-START: void Main.stencil(int[], int, int) BCE (after) 231 public static void stencil(int[] array, int start, int end) { method in class:Main
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_resource.h | 78 /* reference to the resource holding stencil data for a z32_s8 texture */ 80 struct fd_resource *stencil; member in struct:fd_resource 118 if (rsc->stencil && pending(rsc->stencil, write))
|
freedreno_batch.h | 127 /* Track the cleared scissor for color/depth/stencil, so we know 132 struct pipe_scissor_state color, depth, stencil; member in struct:fd_batch::__anon27653
|
/external/skia/src/gpu/gl/ |
GrGLRenderTarget.cpp | 25 GrGLStencilAttachment* stencil) 27 , INHERITED(gpu, desc, ComputeFlags(gpu->glCaps(), idDesc), stencil) { 93 GrStencilAttachment* stencil = this->renderTargetPriv().getStencilAttachment(); local 94 if (nullptr == stencil) { 112 const GrGLStencilAttachment* glStencil = static_cast<const GrGLStencilAttachment*>(stencil);
|
/external/skia/src/gpu/ops/ |
GrDrawPathOp.cpp | 60 GrPathRendering::FillType fillType, GrStencilSettings* stencil) { 63 stencil->reset(GrPathRendering::GetStencilPassSettings(fillType), stencilClip, 74 GrStencilSettings stencil; local 75 init_stencil_pass_settings(*state, this->fillType(), &stencil); 76 state->gpu()->pathRendering()->drawPath(pipeline, *pathProc, stencil, fPath.get()); 185 GrStencilSettings stencil; local 186 init_stencil_pass_settings(*state, this->fillType(), &stencil); 191 stencil, 219 stencil,
|
/external/deqp/modules/glshared/ |
glsInteractionTestUtil.hpp | 87 StencilState stencil[rr::FACETYPE_LAST]; member in struct:deqp::gls::InteractionTestUtil::RenderState
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
pp_private.h | 78 struct pipe_resource *stencil; /* stencil shared by inner_tmps */ member in struct:pp_queue_t
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad.h | 90 uint8_t stencil[TGSI_QUAD_SIZE]; member in struct:quad_header_output
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_clear.c | 65 * depth and/or stencil buffers if the clear_buffers mask specifies them. 71 double depth, unsigned stencil) 80 depth, stencil); 124 unsigned stencil) 176 clear_buffers_with_quad(svga, buffers, color, depth, stencil); 177 /* We also cleared depth/stencil, so that's done */ 208 stencil, (float) depth); 214 ret = SVGA3D_ClearRect(svga->swc, flags, uc.ui[0], (float) depth, stencil, 234 double depth, unsigned stencil) 250 ret = try_clear( svga, buffers, color, depth, stencil ); 302 uint8_t stencil; local [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
depthstencil.h | 25 * @brief Implements depth/stencil functionality 35 simdscalari stencil = _simd_castps_si(stencilps); local 49 simdscalari stencilincr = _simd_adds_epu8(stencil, _simd_set1_epi32(1)); 55 simdscalari stencildecr = _simd_subs_epu8(stencil, _simd_set1_epi32(1)); 61 simdscalari stencilincr = _simd_add_epi8(stencil, _simd_set1_epi32(1)); 67 simdscalari stencildecr = _simd_add_epi8(stencil, _simd_set1_epi32((-1) & 0xff)); 124 static_assert(KNOB_STENCIL_HOT_TILE_FORMAT == R8_UINT, "Unsupported stencil hot tile format"); 188 // apply stencil read mask 191 // do stencil compare in float to avoid simd integer emulation in AVX1 273 // apply stencil write mas [all...] |
/frameworks/base/libs/hwui/ |
BakedOpRenderer.h | 133 // Used when drawing to a layer and using stencil clipping. otherwise null. 134 RenderBuffer* stencil = nullptr; member in struct:android::uirenderer::BakedOpRenderer::__anon40774 137 // the stencil of the current render target
|
/frameworks/base/libs/hwui/renderstate/ |
RenderState.h | 26 #include "renderstate/Stencil.h" 114 Stencil& stencil() { return *mStencil; } function in class:android::uirenderer::RenderState 137 Stencil* mStencil = nullptr;
|
/external/deqp/modules/gles3/functional/ |
es3fFboMultisampleTests.cpp | 85 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; local 109 if (depth || stencil) 121 if (stencil) 131 // Clear depth and stencil buffers. 173 glBlitFramebuffer(0, 0, m_size.x(), m_size.y(), 0, 0, m_size.x(), m_size.y(), GL_COLOR_BUFFER_BIT | (depth ? GL_DEPTH_BUFFER_BIT : 0) | (stencil ? GL_STENCIL_BUFFER_BIT : 0), GL_NEAREST); 200 if (stencil) 202 // Visualize stencil. 311 // Depth/stencil formats.
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_simple_shaders.c | 366 * and writes it as depth and stencil, respectively. 376 struct ureg_dst out, depth, stencil; local 408 stencil = ureg_DECL_output( ureg, 420 ureg_writemask(stencil, TGSI_WRITEMASK_Y), 430 * as stencil. 440 struct ureg_dst out, stencil; local 463 stencil = ureg_DECL_output( ureg, 472 ureg_writemask(stencil, TGSI_WRITEMASK_Y), 671 * Make a fragment shader that sets the output stencil to a stencil valu [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_fs.h | 65 struct pipe_stencil_state stencil[2]; member in struct:lp_fragment_shader_variant_key
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_pixelformat.c | 64 unsigned char stencil; member in struct:stw_pf_depth_info::__anon28400 101 /* combined depth-stencil */ 144 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 1) == depth->bits.stencil); 183 pfi->pfd.cStencilBits = depth->bits.stencil; 192 * since state trackers can allocate depth/stencil/accum buffers, we provide 224 * Add the depth/stencil/accum/ms variants for a list of color formats.
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_fbo.c | 564 * or depth/stencil target. 606 * For Gallium we only supports combined Z+stencil, not separate buffers. 615 const struct gl_renderbuffer_attachment *stencil = local 622 if (depth->Type && stencil->Type && depth->Type != stencil->Type) { 623 st_fbo_invalid("Different Depth/Stencil buffer formats"); 628 stencil->Type == GL_RENDERBUFFER_EXT && 629 depth->Renderbuffer != stencil->Renderbuffer) { 630 st_fbo_invalid("Separate Depth/Stencil buffers"); 635 stencil->Type == GL_TEXTURE & [all...] |