mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 02:10:12 +01:00
glsl: change int->unsigned to silence MSVC warnings
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
e87a57843c
commit
c3466315c0
2 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ swizzle(operand a, int swizzle, int components)
|
|||
}
|
||||
|
||||
ir_swizzle *
|
||||
swizzle_for_size(operand a, int components)
|
||||
swizzle_for_size(operand a, unsigned components)
|
||||
{
|
||||
void *mem_ctx = ralloc_parent(a.val);
|
||||
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ ir_expression *saturate(operand a);
|
|||
/**
|
||||
* Swizzle away later components, but preserve the ordering.
|
||||
*/
|
||||
ir_swizzle *swizzle_for_size(operand a, int components);
|
||||
ir_swizzle *swizzle_for_size(operand a, unsigned components);
|
||||
|
||||
ir_swizzle *swizzle_xxxx(operand a);
|
||||
ir_swizzle *swizzle_yyyy(operand a);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue