opencl: Rename cl-addressing-mode, cl-filter-mode
parent
791f87bdf7
commit
549a5916bb
|
@ -4,7 +4,7 @@ USING: help.markup help.syntax kernel quotations strings opencl.private
|
||||||
math byte-arrays alien ;
|
math byte-arrays alien ;
|
||||||
IN: opencl
|
IN: opencl
|
||||||
|
|
||||||
HELP: cl-addressing-mode
|
HELP: sampler>cl-addressing-mode
|
||||||
{ $values
|
{ $values
|
||||||
{ "sampler" cl-sampler }
|
{ "sampler" cl-sampler }
|
||||||
{ "addressing-mode" cl-addressing-mode }
|
{ "addressing-mode" cl-addressing-mode }
|
||||||
|
@ -61,7 +61,7 @@ HELP: cl-event-type
|
||||||
}
|
}
|
||||||
{ $description "Returns the type of operation that created the event." } ;
|
{ $description "Returns the type of operation that created the event." } ;
|
||||||
|
|
||||||
HELP: cl-filter-mode
|
HELP: sampler>cl-filter-mode
|
||||||
{ $values
|
{ $values
|
||||||
{ "sampler" cl-sampler }
|
{ "sampler" cl-sampler }
|
||||||
{ "filter-mode" cl-filter-mode }
|
{ "filter-mode" cl-filter-mode }
|
||||||
|
|
|
@ -520,10 +520,10 @@ PRIVATE>
|
||||||
: cl-normalized-coords? ( sampler -- ? )
|
: cl-normalized-coords? ( sampler -- ? )
|
||||||
handle>> CL_SAMPLER_NORMALIZED_COORDS sampler-info-bool ; inline
|
handle>> CL_SAMPLER_NORMALIZED_COORDS sampler-info-bool ; inline
|
||||||
|
|
||||||
: cl-addressing-mode ( sampler -- addressing-mode )
|
: sampler>cl-addressing-mode ( sampler -- addressing-mode )
|
||||||
handle>> CL_SAMPLER_ADDRESSING_MODE sampler-info-uint cl_addressing_mode>addressing-mode ; inline
|
handle>> CL_SAMPLER_ADDRESSING_MODE sampler-info-uint cl_addressing_mode>addressing-mode ; inline
|
||||||
|
|
||||||
: cl-filter-mode ( sampler -- filter-mode )
|
: sampler>cl-filter-mode ( sampler -- filter-mode )
|
||||||
handle>> CL_SAMPLER_FILTER_MODE sampler-info-uint cl_filter_mode>filter-mode ; inline
|
handle>> CL_SAMPLER_FILTER_MODE sampler-info-uint cl_filter_mode>filter-mode ; inline
|
||||||
|
|
||||||
: <cl-program> ( options strings -- program )
|
: <cl-program> ( options strings -- program )
|
||||||
|
|
Loading…
Reference in New Issue