In certain conditions, we have to do bounds-checking in the shader for
image_load_store. The way this works for image loads is that we do the
load anyway and then emit a series of slecects, one per component, that
gives us 0 or the loaded value depending on whether or not you're in
bounds. Howeve
Jason Ekstrand writes:
> In certain conditions, we have to do bounds-checking in the shader for
> image_load_store. The way this works for image loads is that we do the
> load anyway and then emit a series of slecects, one per component, that
Strictly speaking the load is predicated so it's not
On Sep 15, 2015 6:39 AM, "Francisco Jerez" wrote:
>
> Jason Ekstrand writes:
>
> > In certain conditions, we have to do bounds-checking in the shader for
> > image_load_store. The way this works for image loads is that we do the
> > load anyway and then emit a series of slecects, one per compone
On Tue, Sep 15, 2015 at 6:39 AM, Francisco Jerez wrote:
> Jason Ekstrand writes:
>
>> In certain conditions, we have to do bounds-checking in the shader for
>> image_load_store. The way this works for image loads is that we do the
>> load anyway and then emit a series of slecects, one per compon