Displaying 3 results from an estimated 3 matches for "samplepo".
Did you mean:
samplepgo
2008 Aug 28
2
sample consecutive integers efficiently
...ths
lengths<-c(2,3,2)
From these two vectors I need a vector of sampled positions.
the sampling is without replacement, making things tough as the sampled
integers need to be consecutive. Im hoping somebody knows a faster way
of doing it than I have. ATM its way to slow on large vectors.
samplePos<-function(l){
start.pos<-sample(pos,1)
end.pos<-start.pos+l-1
posies<-start.pos:end.pos
posies
}
s.start<-c()
newPos<-function(a){
rp<-samplePos(a)
#test sampled range is consecutive, if not resample
if (length(rp) != rp[a]+1 -rp[1]){rp<-sampl...
2020 Sep 22
0
vkd3d release 1.2
...accurate results after a (conditional) `discard' instruction.
- Support for using SPIR-V specialisation constants for shader parameters.
- Support for more shader instructions:
- bufinfo,
- eval_centroid,
- eval_sample_index,
- ld2ms,
- sample_b,
- sample_d,
- sample_info,
- samplepos.
- When built against SPIRV-Tools, libvkd3d-shader can produce SPIR-V shaders
in text form.
- libvkd3d-shader now has its own environment variable (VKD3D_SHADER_DEBUG) to
control debug output.
- Various shader translation fixes.
*** vkd3d-compiler
- When supported by libvkd3d-shader, tex...
2016 Jul 22
0
Wine release 1.9.15
...riting floating-point specials to render target.
d3d10core/tests: Add test for writing floating-point specials to render target.
wined3d: Recognize SM5 vocp register.
wined3d: Implement SM4 umin instruction.
wined3d: Recognize SM4.1 lod opcode.
wined3d: Recognize SM4.1 samplepos opcode.
wined3d: Recognize SM4.1 sampleinfo opcode.
wined3d: Recognize SM5 ubfe opcode.
wined3d: Add ARB_vertex_type_2_10_10_10_rev extension.
wined3d: Store vertex attribute size instead of component size in wined3d_format.
wined3d: Add support for WINEDFMT_R10G10B10...