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 ;
|
||||
IN: opencl
|
||||
|
||||
HELP: cl-addressing-mode
|
||||
HELP: sampler>cl-addressing-mode
|
||||
{ $values
|
||||
{ "sampler" cl-sampler }
|
||||
{ "addressing-mode" cl-addressing-mode }
|
||||
|
@ -61,7 +61,7 @@ HELP: cl-event-type
|
|||
}
|
||||
{ $description "Returns the type of operation that created the event." } ;
|
||||
|
||||
HELP: cl-filter-mode
|
||||
HELP: sampler>cl-filter-mode
|
||||
{ $values
|
||||
{ "sampler" cl-sampler }
|
||||
{ "filter-mode" cl-filter-mode }
|
||||
|
|
|
@ -520,10 +520,10 @@ PRIVATE>
|
|||
: cl-normalized-coords? ( sampler -- ? )
|
||||
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
|
||||
|
||||
: 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
|
||||
|
||||
: <cl-program> ( options strings -- program )
|
||||
|
|
Loading…
Reference in New Issue