Searched refs:S_FIXED (Results 1 – 9 of 9) sorted by relevance
/external/mesa3d/src/gallium/drivers/r600/ |
D | evergreen_compute_internal.c | 592 S_03C004_MIN_LOD(S_FIXED(CLAMP(sampler->state.min_lod, 0, 15), 8)) | in evergreen_set_sampler_resource() 593 S_03C004_MAX_LOD(S_FIXED(CLAMP(sampler->state.max_lod, 0, 15), 8)) in evergreen_set_sampler_resource() 596 S_03C008_LOD_BIAS(S_FIXED(CLAMP(sampler->state.lod_bias, -16, 16), 8)) | in evergreen_set_sampler_resource()
|
D | r600_state.c | 990 ss->tex_sampler_words[1] = S_03C004_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 6)) | in r600_create_sampler_state() 991 S_03C004_MAX_LOD(S_FIXED(CLAMP(state->max_lod, 0, 15), 6)) | in r600_create_sampler_state() 992 S_03C004_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 6)); in r600_create_sampler_state()
|
D | r600_pipe.h | 863 static INLINE uint32_t S_FIXED(float value, uint32_t frac_bits) in S_FIXED() function
|
D | evergreen_state.c | 962 ss->tex_sampler_words[1] = S_03C004_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) | in evergreen_create_sampler_state() 963 S_03C004_MAX_LOD(S_FIXED(CLAMP(state->max_lod, 0, 15), 8)); in evergreen_create_sampler_state() 965 ss->tex_sampler_words[2] = S_03C008_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 8)) | in evergreen_create_sampler_state()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | radeonsi_pipe.h | 228 static INLINE uint32_t S_FIXED(float value, uint32_t frac_bits) in S_FIXED() function
|
D | si_state.c | 2166 rstate->val[1] = (S_008F34_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) | in si_create_sampler_state() 2167 S_008F34_MAX_LOD(S_FIXED(CLAMP(state->max_lod, 0, 15), 8))); in si_create_sampler_state() 2168 rstate->val[2] = (S_008F38_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 8)) | in si_create_sampler_state()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen7_sampler_state.c | 146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias + in gen7_update_sampler_state()
|
D | brw_wm_sampler_state.c | 279 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias + in brw_update_sampler_state()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_context.h | 388 S_FIXED(float value, uint32_t frac_bits) in S_FIXED() function
|