Home
last modified time | relevance | path

Searched refs:write_mask (Results 1 – 25 of 1980) sorted by relevance

12345678910>>...80

/dports/games/xpilot/xpilot-4.5.5/src/client/
H A Drecord.c311 unsigned long write_mask; in RWriteGC() local
325 prev_mask = write_mask; in RWriteGC()
334 write_mask &= ~GCForeground; in RWriteGC()
348 write_mask &= ~GCLineWidth; in RWriteGC()
355 write_mask &= ~GCLineStyle; in RWriteGC()
369 write_mask &= ~GCFunction; in RWriteGC()
376 write_mask &= ~GCFillStyle; in RWriteGC()
403 write_mask &= ~GCTile; in RWriteGC()
420 prev_mask |= write_mask; in RWriteGC()
454 if (write_mask & GCTile) in RWriteGC()
[all …]
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/NT/
H A Drecord.c320 unsigned long write_mask; in RWriteGC() local
334 prev_mask = write_mask; in RWriteGC()
343 write_mask &= ~GCForeground; in RWriteGC()
355 write_mask &= ~GCLineWidth; in RWriteGC()
361 write_mask &= ~GCLineStyle; in RWriteGC()
373 write_mask &= ~GCFunction; in RWriteGC()
379 write_mask &= ~GCFillStyle; in RWriteGC()
403 write_mask &= ~GCTile; in RWriteGC()
417 prev_mask |= write_mask; in RWriteGC()
451 if (write_mask & GCTile) in RWriteGC()
[all …]
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/x11/
H A Drecord.c301 unsigned long write_mask; in RWriteGC() local
315 prev_mask = write_mask; in RWriteGC()
324 write_mask &= ~GCForeground; in RWriteGC()
336 write_mask &= ~GCLineWidth; in RWriteGC()
342 write_mask &= ~GCLineStyle; in RWriteGC()
354 write_mask &= ~GCFunction; in RWriteGC()
360 write_mask &= ~GCFillStyle; in RWriteGC()
384 write_mask &= ~GCTile; in RWriteGC()
398 prev_mask |= write_mask; in RWriteGC()
432 if (write_mask & GCTile) in RWriteGC()
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/glsl-optimizer/src/glsl/
H A Dopt_constant_propagation.cpp54 this->write_mask = write_mask; in acp_entry()
62 this->write_mask = src->write_mask; in acp_entry()
69 unsigned write_mask; member in __anon3e0400810111::acp_entry
83 this->write_mask = write_mask; in kill_entry()
87 unsigned write_mask; member in __anon3e0400810111::kill_entry
338 kill(k->var, k->write_mask); in handle_if_block()
382 kill(k->var, k->write_mask); in visit_enter()
401 entry->write_mask &= ~write_mask; in kill()
402 if (entry->write_mask == 0) in kill()
412 entry->write_mask |= write_mask; in kill()
[all …]
H A Dopt_vectorize.cpp183 this->last_assignment->write_mask = 0; in try_vectorize()
187 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
215 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
217 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
224 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
226 switch (write_mask) { in write_mask_to_swizzle()
239 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
242 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
243 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
245 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
H A Dopt_copy_propagation_elements.cpp61 this->write_mask = write_mask; in acp_entry()
69 this->write_mask = a->write_mask; in acp_entry()
75 unsigned int write_mask; member in __anon8a90dd4e0111::acp_entry
83 kill_entry(ir_variable *var, int write_mask) in kill_entry() argument
86 this->write_mask = write_mask; in kill_entry()
90 unsigned int write_mask; member in __anon8a90dd4e0111::kill_entry
414 entry->write_mask = entry->write_mask & ~k->write_mask; in kill()
415 if (entry->write_mask == 0) { in kill()
472 if (ir->write_mask & (1 << i)) in add_copy()
479 int write_mask = ir->write_mask; in add_copy() local
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/glsl-optimizer/src/glsl/
H A Dopt_constant_propagation.cpp54 this->write_mask = write_mask; in acp_entry()
62 this->write_mask = src->write_mask; in acp_entry()
69 unsigned write_mask; member in __anon19ba50a90111::acp_entry
83 this->write_mask = write_mask; in kill_entry()
87 unsigned write_mask; member in __anon19ba50a90111::kill_entry
338 kill(k->var, k->write_mask); in handle_if_block()
382 kill(k->var, k->write_mask); in visit_enter()
401 entry->write_mask &= ~write_mask; in kill()
402 if (entry->write_mask == 0) in kill()
412 entry->write_mask |= write_mask; in kill()
[all …]
H A Dopt_vectorize.cpp183 this->last_assignment->write_mask = 0; in try_vectorize()
187 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
215 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
217 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
224 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
226 switch (write_mask) { in write_mask_to_swizzle()
239 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
242 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
243 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
245 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
H A Dopt_copy_propagation_elements.cpp61 this->write_mask = write_mask; in acp_entry()
69 this->write_mask = a->write_mask; in acp_entry()
75 unsigned int write_mask; member in __anon220786760111::acp_entry
83 kill_entry(ir_variable *var, int write_mask) in kill_entry() argument
86 this->write_mask = write_mask; in kill_entry()
90 unsigned int write_mask; member in __anon220786760111::kill_entry
414 entry->write_mask = entry->write_mask & ~k->write_mask; in kill()
415 if (entry->write_mask == 0) { in kill()
472 if (ir->write_mask & (1 << i)) in add_copy()
479 int write_mask = ir->write_mask; in add_copy() local
[all …]
/dports/www/firefox/firefox-99.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/lang/clover/mesa-21.3.6/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/graphics/mesa-libs/mesa-21.3.6/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/graphics/libosmesa/mesa-21.3.6/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/graphics/mesa-dri/mesa-21.3.6/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/compiler/glsl/
H A Dopt_vectorize.cpp182 this->last_assignment->write_mask = 0; in try_vectorize()
186 this->last_assignment->write_mask |= 1 << i; in try_vectorize()
214 single_channel_write_mask(unsigned write_mask) in single_channel_write_mask() argument
216 return write_mask != 0 && (write_mask & (write_mask - 1)) == 0; in single_channel_write_mask()
223 write_mask_to_swizzle(unsigned write_mask) in write_mask_to_swizzle() argument
225 switch (write_mask) { in write_mask_to_swizzle()
238 write_mask_matches_swizzle(unsigned write_mask, in write_mask_matches_swizzle() argument
241 return ((write_mask == WRITEMASK_X && swz->mask.x == SWIZZLE_X) || in write_mask_matches_swizzle()
242 (write_mask == WRITEMASK_Y && swz->mask.x == SWIZZLE_Y) || in write_mask_matches_swizzle()
244 (write_mask == WRITEMASK_W && swz->mask.x == SWIZZLE_W)); in write_mask_matches_swizzle()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/gpu/intern/
H A Dgpu_state.cc102 SET_IMMUTABLE_STATE(write_mask, mask); in GPU_write_mask()
109 uint32_t write_mask = state.write_mask; in GPU_color_mask() local
114 state.write_mask = write_mask; in GPU_color_mask()
121 uint32_t write_mask = state.write_mask; in GPU_depth_mask() local
123 state.write_mask = write_mask; in GPU_depth_mask()
136 void GPU_state_set(eGPUWriteMask write_mask, in GPU_state_set() argument
146 state.write_mask = (uint32_t)write_mask; in GPU_state_set()
216 void GPU_stencil_write_mask_set(uint write_mask) in GPU_stencil_write_mask_set() argument
241 return (eGPUWriteMask)state.write_mask; in GPU_write_mask_get()
291 return (state.write_mask & GPU_WRITE_DEPTH) != 0; in GPU_depth_mask_get()
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/compiler/nir/
H A Dnir_lower_vec_to_movs.c74 mov->dest.write_mask = (1u << start_idx); in insert_mov()
80 if (!(vec->dest.write_mask & (1 << i))) in insert_mov()
86 mov->dest.write_mask |= (1 << i); in insert_mov()
101 mov->dest.write_mask &= ~(1 << i); in insert_mov()
107 if (mov->dest.write_mask) { in insert_mov()
193 unsigned write_mask = 0; in try_coalesce() local
195 if (!(vec->dest.write_mask & (1 << i))) in try_coalesce()
202 write_mask |= 1 << i; in try_coalesce()
211 if (!(write_mask & (1 << i))) in try_coalesce()
231 src_alu->dest.write_mask = write_mask; in try_coalesce()
[all …]

12345678910>>...80