/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | utilities.cpp | 213 sw::DepthCompareMode ConvertDepthComparison(GLenum comparison) in ConvertDepthComparison() 217 case GL_NEVER: return sw::DEPTH_NEVER; in ConvertDepthComparison() 218 case GL_ALWAYS: return sw::DEPTH_ALWAYS; in ConvertDepthComparison() 219 case GL_LESS: return sw::DEPTH_LESS; in ConvertDepthComparison() 220 case GL_LEQUAL: return sw::DEPTH_LESSEQUAL; in ConvertDepthComparison() 221 case GL_EQUAL: return sw::DEPTH_EQUAL; in ConvertDepthComparison() 222 case GL_GREATER: return sw::DEPTH_GREATER; in ConvertDepthComparison() 223 case GL_GEQUAL: return sw::DEPTH_GREATEREQUAL; in ConvertDepthComparison() 224 case GL_NOTEQUAL: return sw::DEPTH_NOTEQUAL; in ConvertDepthComparison() 228 return sw::DEPTH_ALWAYS; in ConvertDepthComparison() [all …]
|
D | utilities.h | 52 sw::DepthCompareMode ConvertDepthComparison(GLenum comparison); 53 sw::StencilCompareMode ConvertStencilComparison(GLenum comparison); 54 sw::AlphaCompareMode ConvertAlphaComparison(GLenum comparison); 55 sw::Color<float> ConvertColor(es1::Color color); 56 sw::BlendFactor ConvertBlendFunc(GLenum blend); 57 sw::BlendOperation ConvertBlendOp(GLenum blendOp); 58 sw::LogicalOperation ConvertLogicalOperation(GLenum logicalOperation); 59 sw::StencilOperation ConvertStencilOp(GLenum stencilOp); 60 sw::AddressingMode ConvertTextureWrap(GLenum wrap); 61 sw::CullMode ConvertCullMode(GLenum cullFace, GLenum frontFace); [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/X86/ |
D | switch_to_lookup_table.ll | 34 switch i32 %c, label %sw.default [ 36 i32 43, label %sw.bb1 37 i32 44, label %sw.bb2 38 i32 45, label %sw.bb3 39 i32 46, label %sw.bb4 40 i32 47, label %sw.bb5 41 i32 48, label %sw.bb6 44 sw.bb1: br label %return 45 sw.bb2: br label %return 46 sw.bb3: br label %return [all …]
|
/external/swiftshader/src/OpenGL/libGL/ |
D | utilities.cpp | 435 sw::DepthCompareMode ConvertDepthComparison(GLenum comparison) in ConvertDepthComparison() 439 case GL_NEVER: return sw::DEPTH_NEVER; in ConvertDepthComparison() 440 case GL_ALWAYS: return sw::DEPTH_ALWAYS; in ConvertDepthComparison() 441 case GL_LESS: return sw::DEPTH_LESS; in ConvertDepthComparison() 442 case GL_LEQUAL: return sw::DEPTH_LESSEQUAL; in ConvertDepthComparison() 443 case GL_EQUAL: return sw::DEPTH_EQUAL; in ConvertDepthComparison() 444 case GL_GREATER: return sw::DEPTH_GREATER; in ConvertDepthComparison() 445 case GL_GEQUAL: return sw::DEPTH_GREATEREQUAL; in ConvertDepthComparison() 446 case GL_NOTEQUAL: return sw::DEPTH_NOTEQUAL; in ConvertDepthComparison() 450 return sw::DEPTH_ALWAYS; in ConvertDepthComparison() [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | utilities.cpp | 630 sw::Format internalformat = colorbuffer->getInternalFormat(); in IsValidReadPixelsFormatType() 632 if(sw::Surface::isNormalizedInteger(internalformat)) in IsValidReadPixelsFormatType() 651 else if(sw::Surface::isFloatFormat(internalformat)) in IsValidReadPixelsFormatType() 660 else if(sw::Surface::isSignedNonNormalizedInteger(internalformat)) in IsValidReadPixelsFormatType() 669 else if(sw::Surface::isUnsignedNonNormalizedInteger(internalformat)) in IsValidReadPixelsFormatType() 701 if(internalformat == sw::FORMAT_A2B10G10R10) in IsValidReadPixelsFormatType() 1265 sw::DepthCompareMode ConvertDepthComparison(GLenum comparison) in ConvertDepthComparison() 1269 case GL_NEVER: return sw::DEPTH_NEVER; in ConvertDepthComparison() 1270 case GL_ALWAYS: return sw::DEPTH_ALWAYS; in ConvertDepthComparison() 1271 case GL_LESS: return sw::DEPTH_LESS; in ConvertDepthComparison() [all …]
|
D | Framebuffer.cpp | 502 case sw::FORMAT_A8B8G8R8I: return GL_RGBA_INTEGER; in getImplementationColorReadFormat() 503 case sw::FORMAT_A8B8G8R8UI: return GL_RGBA_INTEGER; in getImplementationColorReadFormat() 504 case sw::FORMAT_A16B16G16R16I: return GL_RGBA_INTEGER; in getImplementationColorReadFormat() 505 case sw::FORMAT_A16B16G16R16UI: return GL_RGBA_INTEGER; in getImplementationColorReadFormat() 506 case sw::FORMAT_A32B32G32R32I: return GL_RGBA_INTEGER; in getImplementationColorReadFormat() 507 case sw::FORMAT_A32B32G32R32UI: return GL_RGBA_INTEGER; in getImplementationColorReadFormat() 508 case sw::FORMAT_A2B10G10R10: return GL_RGB10_A2; in getImplementationColorReadFormat() 509 case sw::FORMAT_A8B8G8R8I_SNORM: return GL_RGBA; in getImplementationColorReadFormat() 510 case sw::FORMAT_A8B8G8R8: return GL_RGBA; in getImplementationColorReadFormat() 511 case sw::FORMAT_SRGB8_A8: return GL_RGBA; in getImplementationColorReadFormat() [all …]
|
D | Device.hpp | 39 class Device : public sw::Renderer 51 explicit Device(sw::Context *context); 61 …egl::Image *createDepthStencilSurface(unsigned int width, unsigned int height, sw::Format format, … 62 …egl::Image *createRenderTarget(unsigned int width, unsigned int height, sw::Format format, int mul… 63 …void drawIndexedPrimitive(sw::DrawType type, unsigned int indexOffset, unsigned int primitiveCount… 64 void drawPrimitive(sw::DrawType type, unsigned int primiveCount); 65 void setPixelShader(const sw::PixelShader *shader); 71 void setScissorRect(const sw::Rect &rect); 72 void setVertexShader(const sw::VertexShader *shader); 76 …bool stretchRect(sw::Surface *sourceSurface, const sw::SliceRect *sourceRect, sw::Surface *destSur… [all …]
|
/external/fio/ |
D | workqueue.c | 27 struct submit_worker *sw = NULL; in __get_submit_worker() local 30 sw = &wq->workers[start]; in __get_submit_worker() 31 if (sw->flags & SW_F_IDLE) in __get_submit_worker() 32 return sw; in __get_submit_worker() 33 if (!(*best) || sw->seq < (*best)->seq) in __get_submit_worker() 34 *best = sw; in __get_submit_worker() 44 struct submit_worker *sw, *best = NULL; in get_submit_worker() local 48 sw = __get_submit_worker(wq, next, wq->max_workers - 1, &best); in get_submit_worker() 49 if (!sw && next) in get_submit_worker() 50 sw = __get_submit_worker(wq, 0, next - 1, &best); in get_submit_worker() [all …]
|
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/ |
D | fpconst.pnacl.ll | 33 i32 0, label %sw.bb 34 i32 1, label %sw.bb1 35 i32 2, label %sw.bb4 36 i32 3, label %sw.bb7 37 i32 -1, label %sw.bb10 38 i32 -2, label %sw.bb14 39 i32 -3, label %sw.bb19 40 i32 10, label %sw.bb24 41 i32 -10, label %sw.bb27 42 i32 100, label %sw.bb30 [all …]
|
D | reorder-pooled-constants.ll | 20 i32 0, label %sw.bb 21 i32 1, label %sw.bb1 22 i32 2, label %sw.bb4 23 i32 3, label %sw.bb7 24 i32 -1, label %sw.bb10 25 i32 -2, label %sw.bb14 26 i32 -3, label %sw.bb19 27 i32 10, label %sw.bb24 28 i32 -10, label %sw.bb27 29 i32 100, label %sw.bb30 [all …]
|
D | adv-switch-opt.ll | 18 switch i32 %a, label %sw.default [ 19 i32 91, label %sw.default 20 i32 92, label %sw.bb1 21 i32 93, label %sw.default 22 i32 99, label %sw.bb1 23 i32 98, label %sw.default 24 i32 96, label %sw.bb1 25 i32 97, label %sw.epilog 28 sw.default: 30 br label %sw.epilog [all …]
|
D | switch-opt.ll | 23 switch i32 %a, label %sw.default [ 24 i32 1, label %sw.epilog 25 i32 2, label %sw.epilog 26 i32 3, label %sw.epilog 27 i32 7, label %sw.bb1 28 i32 8, label %sw.bb1 29 i32 15, label %sw.bb2 30 i32 14, label %sw.bb2 33 sw.default: ; preds = %entry 35 br label %sw.epilog [all …]
|
/external/llvm/test/CodeGen/WebAssembly/ |
D | switch.ll | 41 switch i32 %n, label %sw.epilog [ 42 i32 0, label %sw.bb 43 i32 1, label %sw.bb 44 i32 2, label %sw.bb 45 i32 3, label %sw.bb 46 i32 4, label %sw.bb 47 i32 5, label %sw.bb 48 i32 6, label %sw.bb 49 i32 7, label %sw.bb.1 50 i32 8, label %sw.bb.1 [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | 2011-08-25-ldmia_ret.ll | 6 ; into sw.bb18 resulting in an ldmia_ret in the middle of the 20 br i1 %call, label %sw.bb18, label %sw.bb2 22 sw.bb2: ; preds = %entry 24 br i1 %cmp, label %sw.epilog58, label %land.lhs.true 26 land.lhs.true: ; preds = %sw.bb2 28 br i1 %cmp13, label %if.then, label %sw.epilog58 32 br label %sw.epilog58 46 sw.bb18: 48 switch i32 %call20, label %sw.default56 [ 49 i32 168, label %sw.bb21 [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
D | 2011-08-25-ldmia_ret.ll | 6 ; into sw.bb18 resulting in an ldmia_ret in the middle of the 20 br i1 %call, label %sw.bb18, label %sw.bb2 22 sw.bb2: ; preds = %entry 24 br i1 %cmp, label %sw.epilog58, label %land.lhs.true 26 land.lhs.true: ; preds = %sw.bb2 28 br i1 %cmp13, label %if.then, label %sw.epilog58 32 br label %sw.epilog58 46 sw.bb18: 48 switch i32 %call20, label %sw.default56 [ 49 i32 168, label %sw.bb21 [all …]
|
/external/swiftshader/src/D3D9/ |
D | Direct3DSurface9.cpp | 30 sw::Resource *getParentResource(Unknown *container) in getParentResource() 88 void *Direct3DSurface9::lockInternal(int x, int y, int z, sw::Lock lock, sw::Accessor client) in lockInternal() 263 sw::Lock lock = sw::LOCK_READWRITE; in LockRect() 267 lock = sw::LOCK_DISCARD; in LockRect() 272 lock = sw::LOCK_READONLY; in LockRect() 277 lockedRect->pBits = lockExternal(rect->left, rect->top, 0, lock, sw::PUBLIC); in LockRect() 281 lockedRect->pBits = lockExternal(0, 0, 0, lock, sw::PUBLIC); in LockRect() 342 sw::Format Direct3DSurface9::translateFormat(D3DFORMAT format) in translateFormat() 347 case D3DFMT_NULL: return sw::FORMAT_NULL; in translateFormat() 348 case D3DFMT_DXT1: return sw::FORMAT_DXT1; in translateFormat() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | switch-edge-weight.ll | 9 switch i32 %x, label %sw.default [ 10 i32 1, label %sw.bb 11 i32 155, label %sw.bb 12 i32 156, label %sw.bb 13 i32 157, label %sw.bb 14 i32 158, label %sw.bb 15 i32 159, label %sw.bb 16 i32 1134, label %sw.bb 17 i32 1140, label %sw.bb 20 sw.bb: [all …]
|
/external/swiftshader/src/D3D8/ |
D | Direct3DSurface8.cpp | 27 static sw::Resource *getParentResource(Unknown *container) in getParentResource() 73 void *Direct3DSurface8::lockInternal(int x, int y, int z, sw::Lock lock, sw::Accessor client) in lockInternal() 164 sw::Lock lock = sw::LOCK_READWRITE; in LockRect() 168 lock = sw::LOCK_DISCARD; in LockRect() 173 lock = sw::LOCK_READONLY; in LockRect() 178 lockedRect->pBits = lockExternal(rect->left, rect->top, 0, lock, sw::PUBLIC); in LockRect() 182 lockedRect->pBits = lockExternal(0, 0, 0, lock, sw::PUBLIC); in LockRect() 237 sw::Format Direct3DSurface8::translateFormat(D3DFORMAT format) in translateFormat() 241 case D3DFMT_DXT1: return sw::FORMAT_DXT1; in translateFormat() 242 case D3DFMT_DXT2: return sw::FORMAT_DXT3; in translateFormat() [all …]
|
D | Direct3DDevice8.cpp | 57 context = new sw::Context(); in Direct3DDevice8() 58 renderer = new sw::Renderer(context, sw::Direct3D, false); in Direct3DDevice8() 368 sw::Rect clearRect(rects[i].x1, rects[i].y1, rects[i].x2, rects[i].y2); in Clear() 385 renderer->clear(rgba, sw::FORMAT_A32B32G32R32F, renderTarget, clearRect, 0xF); in Clear() 391 z = sw::clamp01(z); in Clear() 575 …8B8, D3DUSAGE_DEPTHSTENCIL, D3DRTYPE_SURFACE, format) != D3D_OK || height > sw::OUTLINE_RESOLUTION) in CreateDepthStencilSurface() 691 …8B8, D3DUSAGE_RENDERTARGET, D3DRTYPE_SURFACE, format) != D3D_OK || height > sw::OUTLINE_RESOLUTION) in CreateRenderTarget() 905 sw::DrawType drawType; in DrawIndexedPrimitive() 911 case D3DPT_POINTLIST: drawType = sw::DRAW_INDEXEDPOINTLIST32; break; in DrawIndexedPrimitive() 912 case D3DPT_LINELIST: drawType = sw::DRAW_INDEXEDLINELIST32; break; in DrawIndexedPrimitive() [all …]
|
/external/llvm/test/CodeGen/Mips/ |
D | jtstat.ll | 12 switch i32 %0, label %sw.epilog [ 13 i32 115, label %sw.bb 14 i32 105, label %sw.bb1 15 i32 100, label %sw.bb2 16 i32 108, label %sw.bb3 17 i32 99, label %sw.bb4 18 i32 68, label %sw.bb5 19 i32 81, label %sw.bb6 20 i32 76, label %sw.bb7 23 sw.bb: ; preds = %entry [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | narrow-switch.ll | 13 ; ALL-NEXT: i32 100, label %sw.bb1 14 ; ALL-NEXT: i32 1001, label %sw.bb2 19 switch i64 %and, label %sw.default [ 21 i64 100, label %sw.bb1 22 i64 1001, label %sw.bb2 25 sw.bb1: 28 sw.bb2: 31 sw.default: 35 %retval.0 = phi i32 [ 24, %sw.default ], [ 123, %sw.bb2 ], [ 213, %sw.bb1 ], [ 231, %entry ] 43 ; ALL-NEXT: i32 -100, label %sw.bb1 [all …]
|
/external/llvm/test/CodeGen/Hexagon/ |
D | pic-jumptables.ll | 10 switch i32 %y, label %sw.epilog [ 11 i32 1, label %sw.bb 12 i32 2, label %sw.bb1 13 i32 3, label %sw.bb2 14 i32 4, label %sw.bb3 15 i32 5, label %sw.bb4 18 sw.bb: ; preds = %entry 20 br label %sw.epilog 22 sw.bb1: ; preds = %entry 24 br label %sw.epilog [all …]
|
/external/llvm/test/Transforms/CodeGenPrepare/AArch64/ |
D | widen_switch.ll | 10 switch i16 %trunc, label %sw.default [ 11 i16 1, label %sw.bb0 12 i16 -1, label %sw.bb1 15 sw.bb0: 18 sw.bb1: 21 sw.default: 25 %retval = phi i32 [ -1, %sw.default ], [ 0, %sw.bb0 ], [ 1, %sw.bb1 ] 30 ; ARM64-NEXT: switch i32 %0, label %sw.default [ 32 ; ARM64-NEXT: i32 65535, label %sw.bb1 40 switch i17 %trunc, label %sw.default [ [all …]
|
/external/llvm/test/Transforms/CodeGenPrepare/X86/ |
D | widen_switch.ll | 10 switch i16 %trunc, label %sw.default [ 11 i16 1, label %sw.bb0 12 i16 -1, label %sw.bb1 15 sw.bb0: 18 sw.bb1: 21 sw.default: 25 %retval = phi i32 [ -1, %sw.default ], [ 0, %sw.bb0 ], [ 1, %sw.bb1 ] 30 ; X86-NEXT: switch i16 %trunc, label %sw.default [ 32 ; X86-NEXT: i16 -1, label %sw.bb1 40 switch i17 %trunc, label %sw.default [ [all …]
|
/external/llvm/test/Instrumentation/SanitizerCoverage/ |
D | switch-tracing.ll | 12 switch i32 %x, label %sw.epilog [ 13 i32 1, label %sw.bb 14 i32 101, label %sw.bb.1 15 i32 1001, label %sw.bb.2 18 sw.bb: ; preds = %entry 20 br label %sw.epilog 22 sw.bb.1: ; preds = %entry 24 br label %sw.epilog 26 sw.bb.2: ; preds = %entry 28 br label %sw.epilog [all …]
|