Adding mipmap support in sampler

* sampler mipmap lod/filtering programming
* sampler queries
* clCreateSamplerWithProperties
* fixed point numeric type (e.g. U4.8)

Change-Id: I6b496e6f067f6232bab464ab3ee74af8b00904d3
This commit is contained in:
Chodor, Jaroslaw
2018-04-10 17:36:34 +02:00
parent c408bb5d8d
commit 1c3ff8a15b
13 changed files with 407 additions and 49 deletions

View File

@ -967,6 +967,9 @@ cl_sampler CL_API_CALL clCreateSampler(cl_context context,
normalizedCoords,
addressingMode,
filterMode,
CL_FILTER_NEAREST,
0.0f,
std::numeric_limits<float>::max(),
retVal);
}