Home
last modified time | relevance | path

Searched refs:grid (Results 1 - 25 of 96) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_draw.c327 const struct pipe_grid_info *grid) in iris_update_grid_size_resource()
338 if (grid->indirect) { in iris_update_grid_size_resource()
339 pipe_resource_reference(&grid_ref->res, grid->indirect); in iris_update_grid_size_resource()
340 grid_ref->offset = grid->indirect_offset; in iris_update_grid_size_resource()
342 /* Zero out the grid size so that the next non-indirect grid launch will in iris_update_grid_size_resource()
347 } else if (memcmp(ice->state.last_grid, grid->grid, sizeof(grid->grid)) ! in iris_update_grid_size_resource()
326 iris_update_grid_size_resource(struct iris_context *ice, const struct pipe_grid_info *grid) iris_update_grid_size_resource() argument
382 iris_launch_grid(struct pipe_context *ctx, const struct pipe_grid_info *grid) iris_launch_grid() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_draw.c450 const struct pipe_grid_info *grid) in crocus_update_grid_size_resource()
456 if (grid->indirect) { in crocus_update_grid_size_resource()
457 pipe_resource_reference(&grid_ref->res, grid->indirect); in crocus_update_grid_size_resource()
458 grid_ref->offset = grid->indirect_offset; in crocus_update_grid_size_resource()
460 /* Zero out the grid size so that the next non-indirect grid launch will in crocus_update_grid_size_resource()
464 } else if (memcmp(ice->state.last_grid, grid->grid, sizeof(grid->grid)) ! in crocus_update_grid_size_resource()
449 crocus_update_grid_size_resource(struct crocus_context *ice, const struct pipe_grid_info *grid) crocus_update_grid_size_resource() argument
479 crocus_launch_grid(struct pipe_context *ctx, const struct pipe_grid_info *grid) crocus_launch_grid() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/util/
H A Dfactor.hpp57 /// integer array \p grid subject to the constraints given by
63 const std::vector<T> &grid, in next_grid_factor()
72 // We're done with this grid dimension, try the next. in next_grid_factor()
73 return next_grid_factor(limits, grid, factors, in next_grid_factor()
85 grid[d] % block.second[d] == 0) { in next_grid_factor()
86 // We've found a valid grid divisor. in next_grid_factor()
97 return next_grid_factor(limits, grid, factors, in next_grid_factor()
105 /// Find the divisor of the integer array \p grid that gives the
113 const std::vector<T> &grid) { in find_grid_optimal_factor()
115 map(find_integer_prime_factors<T>, grid, coord_limi in find_grid_optimal_factor()
62 next_grid_factor(const std::pair<T, std::vector<T>> &limits, const std::vector<T> &grid, const std::vector<std::vector<T>> &factors, std::pair<T, std::vector<T>> block, unsigned d = 0, unsigned i = 0) next_grid_factor() argument
111 find_grid_optimal_factor(T product_limit, const std::vector<T> &coord_limit, const std::vector<T> &grid) find_grid_optimal_factor() argument
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fVertexTextureTests.cpp166 * \brief Quad grid class containing position and texture coordinate data.
168 * A quad grid of size S means a grid consisting of S*S quads (S rows and
334 static void setPixelColors (const vector<Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst) in setPixelColors() argument
336 const int gridSize = grid.getSize(); in setPixelColors()
342 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] in setPixelColors()
363 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) in computeReference() argument
365 const int gridSize = grid.getSize(); in computeReference()
372 const typename TexTypeCoordVec<TexType>::t& coord = grid.getQuadTexCoord(x, y); in computeReference()
377 setPixelColors(quadColors, dstRegion, grid, ds in computeReference()
686 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const computeReferenceCell() argument
1024 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const computeReferenceCell() argument
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fVertexTextureTests.cpp215 * \brief Quad grid class containing position and texture coordinate data.
217 * A quad grid of size S means a grid consisting of S*S quads (S rows and
429 static void setPixelColors (const vector<Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst) in setPixelColors() argument
431 const int gridSize = grid.getSize(); in setPixelColors()
437 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] in setPixelColors()
460 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) in computeReference() argument
462 const int gridSize = grid.getSize(); in computeReference()
469 const typename TexTypeCoordVec<TexType>::t& coord = grid.getQuadTexCoord(x, y); in computeReference()
474 setPixelColors(quadColors, dstRegion, grid, ds in computeReference()
786 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const computeReferenceCell() argument
1122 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const computeReferenceCell() argument
1462 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const computeReferenceCell() argument
1806 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const computeReferenceCell() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSampleLocationsUtil.cpp60 //! Fill each grid pixel with a distinct samples pattern, rounding locations based on subPixelBits
61 void fillSampleLocationsRandom (MultisamplePixelGrid& grid, const deUint32 subPixelBits, const deUint32 seed) in fillSampleLocationsRandom() argument
67 for (deUint32 gridY = 0; gridY < grid.size().y(); ++gridY) in fillSampleLocationsRandom()
68 for (deUint32 gridX = 0; gridX < grid.size().x(); ++gridX) in fillSampleLocationsRandom()
71 for (deUint32 sampleNdx = 0; sampleNdx < numSamplesPerPixel(grid); /* no increment */) in fillSampleLocationsRandom()
84 grid.setSample(gridX, gridY, sampleNdx, location); in fillSampleLocationsRandom()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineSampleLocationsUtil.cpp60 //! Fill each grid pixel with a distinct samples pattern, rounding locations based on subPixelBits
61 void fillSampleLocationsRandom (MultisamplePixelGrid& grid, const deUint32 subPixelBits, const deUint32 seed) in fillSampleLocationsRandom() argument
67 for (deUint32 gridY = 0; gridY < grid.size().y(); ++gridY) in fillSampleLocationsRandom()
68 for (deUint32 gridX = 0; gridX < grid.size().x(); ++gridX) in fillSampleLocationsRandom()
71 for (deUint32 sampleNdx = 0; sampleNdx < numSamplesPerPixel(grid); /* no increment */) in fillSampleLocationsRandom()
84 grid.setSample(gridX, gridY, sampleNdx, location); in fillSampleLocationsRandom()
/third_party/mesa3d/src/freedreno/computerator/
H A Da4xx.c203 uint32_t grid[3]) in cs_const_emit()
277 a4xx_emit_grid(struct kernel *kernel, uint32_t grid[3], in a4xx_emit_grid() argument
284 cs_const_emit(ring, kernel, grid); in a4xx_emit_grid()
288 const unsigned *num_groups = grid; in a4xx_emit_grid()
292 if (!grid[i]) in a4xx_emit_grid()
315 OUT_RING(ring, CP_EXEC_CS_1_NGROUPS_X(grid[0])); in a4xx_emit_grid()
316 OUT_RING(ring, CP_EXEC_CS_2_NGROUPS_Y(grid[1])); in a4xx_emit_grid()
317 OUT_RING(ring, CP_EXEC_CS_3_NGROUPS_Z(grid[2])); in a4xx_emit_grid()
320 OUT_RING(ring, grid[0]); /* HLSQ_CL_KERNEL_GROUP_X */ in a4xx_emit_grid()
321 OUT_RING(ring, grid[ in a4xx_emit_grid()
202 cs_const_emit(struct fd_ringbuffer *ring, struct kernel *kernel, uint32_t grid[3]) cs_const_emit() argument
[all...]
H A Dmain.c207 uint32_t grid[3] = {0}; in main() local
224 ret = sscanf(optarg, "%u,%u,%u", &grid[0], &grid[1], &grid[2]); in main()
269 if (grid[0] == 0) in main()
282 backend->emit_grid(kernel, grid, submit); in main()
H A Da6xx.c260 uint32_t grid[3]) in cs_const_emit()
272 const_state->immediates[idx * 4 + 0] = grid[0]; in cs_const_emit()
273 const_state->immediates[idx * 4 + 1] = grid[1]; in cs_const_emit()
274 const_state->immediates[idx * 4 + 2] = grid[2]; in cs_const_emit()
398 a6xx_emit_grid(struct kernel *kernel, uint32_t grid[3], in a6xx_emit_grid() argument
407 cs_const_emit(ring, kernel, grid); in a6xx_emit_grid()
414 const unsigned *num_groups = grid; in a6xx_emit_grid()
418 if (!grid[i]) in a6xx_emit_grid()
473 OUT_RING(ring, CP_EXEC_CS_1_NGROUPS_X(grid[0])); in a6xx_emit_grid()
474 OUT_RING(ring, CP_EXEC_CS_2_NGROUPS_Y(grid[ in a6xx_emit_grid()
259 cs_const_emit(struct fd_ringbuffer *ring, struct kernel *kernel, uint32_t grid[3]) cs_const_emit() argument
[all...]
/third_party/python/Lib/idlelib/
H A Dhelp_about.py74 header.grid(row=0, column=0, sticky=E, padx=10, pady=10)
82 logo.grid(row=0, column=0, sticky=W, rowspan=2, padx=10, pady=10)
87 byline.grid(row=2, column=0, sticky=W, columnspan=3, padx=10, pady=5)
90 email.grid(row=6, column=0, columnspan=2, sticky=W, padx=10, pady=0)
95 docs.grid(row=7, column=0, columnspan=2, sticky=W, padx=10, pady=0)
99 height=2, bg=self.bg).grid(row=8, column=0, sticky=EW,
106 vers.grid(row=9, column=0, sticky=W, padx=10, pady=0)
108 py_buttons.grid(row=10, column=0, columnspan=2, sticky=NSEW)
123 height=2, bg=self.bg).grid(row=11, column=0, sticky=EW,
129 idle.grid(ro
[all...]
H A Dsearchbase.py40 row (of grid): 0 in create_widgets(), +1 in make_entry/frame().
90 self.frame.grid(sticky="nwes")
110 label.grid(row=self.row, column=0, sticky="nw")
112 entry.grid(row=self.row, column=1, sticky="nwe")
128 label.grid(row=self.row, column=0, sticky="nw")
132 frame.grid(row=self.row, column=1, columnspan=1, sticky="nwe")
175 b.grid(pady=1,row=rows,column=0,sticky="ew")
176 self.buttonframe.grid(rowspan=rows+1)
182 f.grid(row=0,column=2,padx=2,pady=2,ipadx=2,ipady=2)
H A Dconfig_key.py83 self.frame_keyseq_basic.grid(row=0, column=0, sticky='nsew',
96 self.frame_controls_basic.grid(row=1, column=0, sticky='nsew', padx=5)
106 check.grid(row=0, column=column, padx=2, sticky='w')
118 help_basic.grid(row=1, column=0, columnspan=4, padx=2, sticky='w')
125 self.list_keys_final.grid(row=0, column=4, rowspan=4, sticky='ns')
130 scroll_keys_final.grid(row=0, column=5, rowspan=4, sticky='ns')
134 self.button_clear.grid(row=2, column=0, columnspan=4)
138 self.frame_keyseq_advanced.grid(row=0, column=0, sticky='nsew',
150 self.frame_help_advanced.grid(row=1, column=0, sticky='nsew', padx=5)
161 help_advanced.grid(ro
[all...]
H A Dquery.py97 frame.grid(column=0, row=0, sticky='news')
109 entrylabel.grid(column=0, row=0, columnspan=3, padx=5, sticky=W)
110 self.entry.grid(column=0, row=1, columnspan=3, padx=5, sticky=W+E,
112 self.entry_error.grid(column=0, row=2, columnspan=3, padx=5,
122 self.button_ok.grid(column=1, row=99, padx=5)
123 self.button_cancel.grid(column=2, row=99, padx=5)
274 pathlabel.grid(column=0, row=10, columnspan=3, padx=5, pady=[10,0],
276 self.path.grid(column=0, row=11, columnspan=2, padx=5, sticky=W+E,
278 browse.grid(column=2, row=11, padx=5, sticky=W+S)
279 self.path_error.grid(colum
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_compute_blit.c288 info.grid[0] = DIV_ROUND_UP(num_dwords, dwords_per_wave); in si_compute_clear_buffer_rmw()
289 info.grid[1] = 1; in si_compute_clear_buffer_rmw()
290 info.grid[2] = 1; in si_compute_clear_buffer_rmw()
334 info.grid[0] = DIV_ROUND_UP(size_12, 64); in si_compute_clear_12bytes_buffer()
335 info.grid[1] = 1; in si_compute_clear_12bytes_buffer()
336 info.grid[2] = 1; in si_compute_clear_12bytes_buffer()
374 info.grid[0] = DIV_ROUND_UP(num_dwords, dwords_per_wave); in si_compute_do_clear_or_copy()
375 info.grid[1] = 1; in si_compute_do_clear_or_copy()
376 info.grid[2] = 1; in si_compute_do_clear_or_copy()
543 info->grid[ in set_work_size()
[all...]
H A Dgfx10_query.c349 /* Pre-fill the SSBOs and grid. */ in gfx10_sh_query_get_result_resource()
351 struct pipe_grid_info grid = {}; in gfx10_sh_query_get_result_resource() local
359 grid.block[0] = 1; in gfx10_sh_query_get_result_resource()
360 grid.block[1] = 1; in gfx10_sh_query_get_result_resource()
361 grid.block[2] = 1; in gfx10_sh_query_get_result_resource()
362 grid.grid[0] = 1; in gfx10_sh_query_get_result_resource()
363 grid.grid[1] = 1; in gfx10_sh_query_get_result_resource()
364 grid in gfx10_sh_query_get_result_resource()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dcompute.c86 if (info->grid[i] > ctx->Const.MaxComputeWorkGroupCount[i]) { in validate_DispatchCompute()
136 if (info->grid[i] > ctx->Const.MaxComputeWorkGroupCount[i]) { in validate_DispatchComputeGroupSizeARB()
318 info.grid[0] = num_groups_x; in dispatch_compute()
319 info.grid[1] = num_groups_y; in dispatch_compute()
320 info.grid[2] = num_groups_z; in dispatch_compute()
414 info.grid[0] = num_groups_x; in dispatch_compute_group_size()
415 info.grid[1] = num_groups_y; in dispatch_compute_group_size()
416 info.grid[2] = num_groups_z; in dispatch_compute_group_size()
/third_party/littlefs/scripts/
H A Dplotmpl.py301 # some classes for organizing subplots into a grid
546 grid = cls(Subplot(**args))
555 grid.merge(subgrid, dir)
557 grid.scale(width, height)
558 return grid
680 plt.rc('grid', color=background_)
683 plt.rc('grid', linewidth=1)
693 plt.rc('grid', color=background_)
752 # create a grid of subplots
753 grid
[all...]
H A Dplot.py292 self.grid = [('',False)]*(self.width*self.height)
326 self.grid[x + y*self.width] = (color, char)
344 self.grid[x1 + y1*self.width] = (color, char)
362 self.grid[x2 + y2*self.width] = (color, char)
403 f, c = self.grid[x*xscale+(xscale-1-(i%xscale))
555 # some classes for organizing subplots into a grid
800 grid = cls(Subplot(**args))
809 grid.merge(subgrid, dir)
811 grid.scale(width, height)
812 return grid
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cTextureBarrierTests.cpp243 (1) Generate an irregular grid covering the whole screen (i.e. (-1,-1) to (1,1));
244 (2) Generate a list of triangles covering the grid;
261 static Vertex grid[GRID_SIZE + 1][GRID_SIZE + 1]; in generateVertexData() local
263 // Generate grid vertices in generateVertexData()
271 // Pseudo-random grid vertex coordinate with scale & bias in generateVertexData()
272 grid[x][y].x = normx * 2.f - 1.f + deFloatSin(normx * DE_PI * 13.f) * 0.3f / GRID_SIZE; in generateVertexData()
273 grid[x][y].y = normy * 2.f - 1.f + deFloatSin(normy * DE_PI * 13.f) * 0.3f / GRID_SIZE; in generateVertexData()
282 // Generate first triangle of grid block in generateVertexData()
283 list[(x + y * GRID_SIZE) * 2 + 0].v0 = grid[x][y]; in generateVertexData()
284 list[(x + y * GRID_SIZE) * 2 + 0].v1 = grid[ in generateVertexData()
[all...]
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_draw.cpp425 ptr[0] = info->grid[0]; in fill_compute_state_vars()
426 ptr[1] = info->grid[1]; in fill_compute_state_vars()
427 ptr[2] = info->grid[2]; in fill_compute_state_vars()
813 pipe_grid_info grid = {}; in update_draw_indirect_with_sysvals() local
814 grid.block[0] = grid.block[1] = grid.block[2] = 1; in update_draw_indirect_with_sysvals()
815 grid.grid[0] = indirect_in->draw_count; in update_draw_indirect_with_sysvals()
816 grid in update_draw_indirect_with_sysvals()
861 pipe_grid_info grid = {}; update_draw_auto() local
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_cs.c216 svga->curr.grid_info.size[0] = info->grid[0]; in svga_launch_grid()
217 svga->curr.grid_info.size[1] = info->grid[1]; in svga_launch_grid()
218 svga->curr.grid_info.size[2] = info->grid[2]; in svga_launch_grid()
220 SVGA_RETRY(svga, SVGA3D_sm5_Dispatch(swc, info->grid)); in svga_launch_grid()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_compute.c147 const unsigned *num_groups = info->grid;
185 OUT_RING(ring, CP_EXEC_CS_1_NGROUPS_X(info->grid[0]));
186 OUT_RING(ring, CP_EXEC_CS_2_NGROUPS_Y(info->grid[1]));
187 OUT_RING(ring, CP_EXEC_CS_3_NGROUPS_Z(info->grid[2]));
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_compute.c572 NOUVEAU_ERR("Failed to launch grid !\n"); in nv50_launch_grid()
587 uint32_t grid[3]; in nv50_launch_grid() local
590 sizeof(grid), grid); in nv50_launch_grid()
592 memcpy(grid, info->grid, sizeof(grid)); in nv50_launch_grid()
595 /* grid/block setup */ in nv50_launch_grid()
604 PUSH_DATA (push, grid[1] << 16 | grid[ in nv50_launch_grid()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_compute.c153 const unsigned *num_groups = info->grid;
192 OUT_RING(ring, CP_EXEC_CS_1_NGROUPS_X(info->grid[0]));
193 OUT_RING(ring, CP_EXEC_CS_2_NGROUPS_Y(info->grid[1]));
194 OUT_RING(ring, CP_EXEC_CS_3_NGROUPS_Z(info->grid[2]));

Completed in 20 milliseconds

1234