[Mesa-dev] [PATCH v2 000/103] i965 Haswell ARB_gpu_shader_fp64 / OpenGL 4.0
Matt Turner
mattst88 at gmail.com
Thu Dec 22 18:13:55 UTC 2016
On Tue, Dec 13, 2016 at 2:01 AM, Samuel Iglesias Gonsálvez
<siglesias at igalia.com> wrote:
> On Mon, 2016-12-05 at 15:21 -0800, Matt Turner wrote:
>> i965/vec4: add a helper function to create double immediates
>>
>> Can leave for later: Shouldn't we use the DIM instruction (on
>> HSW)?
>>
>> I'm not sure if this should be fixed now or later, but
>> shouldn't
>> we use NibCtrl on these two instructions instead of
>> force_writemask_all? I think this is a case where NibCtrl is
>> useful.
>>
>
> Yes, we can use DIM instruction here. We are going to write a follow-up
> patch for it.
I noticed a bug in "i965/fs: emit DIM instruction to load 64-bit
immediates in HSW"
You want
- const fs_builder ubld = bld.exec_all();
+ const fs_builder ubld = bld.exec_all().group(1, 0);
otherwise, DIM instructions will be emitted with the default exec size
-- dim(16) in some cases, which is not legal.
More information about the mesa-dev
mailing list