Displaying 4 results from an estimated 4 matches for "sampler1".
Did you mean:
sampler
2016 Oct 24
2
RFC: (Co-)Convergent functions and uniform function parameters
...er, %coord1)
%v = select i1 %cond, vType %v1, %v2
is logically equivalent to and could benefit from being transformed to,
%coord = select i1 %cond, cType %coord0, %coord1
%v = texelFetch(%sampler, %coord)
but on the other hand
%v1 = texelFetch(%sampler0, %coord)
%v2 = texelFetch(%sampler1, %coord)
%v = select i1 %cond, vType %v1, %v2
_must_not_ be transformed to
%s = select i1 %cond, sType %sampler0, %sampler1
%v = texelFetch(%s, %coord)
because of uniformity restrictions on the first argument of texelFetch.
We currently have a shader that is mis-compiled in the wild be...
2016 Oct 24
2
RFC: (Co-)Convergent functions and uniform function parameters
...cally equivalent to and could benefit from being transformed to,
>>
>> %coord = select i1 %cond, cType %coord0, %coord1
>> %v = texelFetch(%sampler, %coord)
>>
>> but on the other hand
>>
>> %v1 = texelFetch(%sampler0, %coord)
>> %v2 = texelFetch(%sampler1, %coord)
>> %v = select i1 %cond, vType %v1, %v2
>>
>> _must_not_ be transformed to
>>
>> %s = select i1 %cond, sType %sampler0, %sampler1
>> %v = texelFetch(%s, %coord)
>>
>> because of uniformity restrictions on the first argument of texelFetch....
2013 Nov 29
1
texelFetch sampler1/2DArray on nv50 gallium
Hi Christoph/nouveau folks,
I've noticed that the piglit test "texelFetch" fails on my nv98 for
sampler1DArray and sampler2DArray. I nuked the logic in
nv50_ir_lowering_nv50.cpp:604 that does the f32 -> u32 conversion, and
it seems to be passing now. TBH, I have no clue how the parameters are
passed around and what that a[] is, but it seems like it's a u32 to
begin with? (Or that it's the s...
2016 Oct 24
2
RFC: (Co-)Convergent functions and uniform function parameters
...,
>>>>
>>>> %coord = select i1 %cond, cType %coord0, %coord1
>>>> %v = texelFetch(%sampler, %coord)
>>>>
>>>> but on the other hand
>>>>
>>>> %v1 = texelFetch(%sampler0, %coord)
>>>> %v2 = texelFetch(%sampler1, %coord)
>>>> %v = select i1 %cond, vType %v1, %v2
>>>>
>>>> _must_not_ be transformed to
>>>>
>>>> %s = select i1 %cond, sType %sampler0, %sampler1
>>>> %v = texelFetch(%s, %coord)
>>>>
>>>> because...